dt-bindings: net: wireless: convert marvel-8xxx.txt to yaml format
Subsystems (5)
Frank Li
maintainerPATCH v2 1/1 dt-bindings: net: wireless: convert marvel-8xxx.txt to yaml format
Convert binding doc marvel-8xxx.txt to yaml format. Additional change:
- Remove marvell,caldata_00_txpwrlimit_2g_cfg_set in example.
- Remove mmc related property in example.
- Add wakeup-source property.
- Remove vmmc-supply and mmc-pwrseq.
Fix below warning:arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dtb: /soc@0/bus@30800000/mmc@30b40000/wifi@1:
failed to match any schema with compatible: ['marvell,sd8997']
---
Change from v1 to v2
- Add Brian Norris <[email protected] as maintainer
- Remove vmmc-supply and mmc-pwrseq
- Add wakeup-source
- rename to marvell,sd8787.yaml by using one compatible string, suggestted by conor dooley at other binding doc convert review
--- .../bindings/net/wireless/marvell,sd8787.yaml | 93 +++++++++++++++++++ .../bindings/net/wireless/marvell-8xxx.txt | 70 -------------- 2 files changed, 93 insertions(+), 70 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml delete mode 100644 Documentation/devicetree/bindings/net/wireless/marvell-8xxx.txt
Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml new file +93 -0
@@ -0,0 +1,93 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/wireless/marvell,sd8787.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell 8787/8897/8978/8997 (sd8787/sd8897/sd8978/sd8997/pcie8997) SDIO/PCIE devices + +maintainers: + - Brian Norris <[email protected]> + - Frank Li <[email protected]> + +description: + This node provides properties for describing the Marvell SDIO/PCIE wireless device. + The node is expected to be specified as a child node to the SDIO/PCIE controller that + connects the device to the system. + +properties: + compatible: + enum: + - marvell,sd8787 + - marvell,sd8897 + - marvell,sd8978 + - marvell,sd8997 + - nxp,iw416 + - pci11ab,2b42 + - pci1b4b,2b42 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + wakeup-source: true + + marvell,caldata-txpwrlimit-2g: + $ref: /schemas/types.yaml#/definitions/uint8-array + description: Calibration data for the 2GHz band. + maxItems: 566 + + marvell,caldata-txpwrlimit-5g-sub0: + $ref: /schemas/types.yaml#/definitions/uint8-array + description: Calibration data for sub-band 0 in the 5GHz band.. + maxItems: 502 + + marvell,caldata-txpwrlimit-5g-sub1: + $ref: /schemas/types.yaml#/definitions/uint8-array + description: Calibration data for sub-band 1 in the 5GHz band.. + maxItems: 688 + + marvell,caldata-txpwrlimit-5g-sub2: + $ref: /schemas/types.yaml#/definitions/uint8-array + description: Calibration data for sub-band 2 in the 5GHz band.. + maxItems: 750 + + marvell,caldata-txpwrlimit-5g-sub3: + $ref: /schemas/types.yaml#/definitions/uint8-array + description: Calibration data for sub-band 3 in the 5GHz band. + maxItems: 502 + + marvell,wakeup-pin: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Provides the pin number for the wakeup pin from the device's point of + view. The wakeup pin is used for the device to wake the host system + from sleep. This property is only necessary if the wakeup pin is + wired in a non-standard way, such that the default pin assignments + are invalid. + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include <dt-bindings/interrupt-controller/irq.h> + + mmc { + #address-cells = <1>; + #size-cells = <0>; + + wifi@1 { + compatible = "marvell,sd8897"; + reg = <1>; + interrupt-parent = <&pio>; + interrupts = <38 IRQ_TYPE_LEVEL_LOW>; + marvell,wakeup-pin = <3>; + }; + }; +
Documentation/devicetree/bindings/net/wireless/marvell-8xxx.txt deleted +0 -70
70 lines not on this page · raw message
Signature · 1 line
2.34.1
Quoted 19 lines · Frank Li
Convert binding doc marvel-8xxx.txt to yaml format. Additional change:
- Remove marvell,caldata_00_txpwrlimit_2g_cfg_set in example.
- Remove mmc related property in example.
- Add wakeup-source property.
- Remove vmmc-supply and mmc-pwrseq.Fix below warning:
arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dtb: /soc@0/bus@30800000/mmc@30b40000/wifi@1:
failed to match any schema with compatible: ['marvell,sd8997']Signed-off-by Frank Li <[email protected]>---
Change from v1 to v2
- Add Brian Norris <[email protected] as maintainer
- Remove vmmc-supply and mmc-pwrseq
- Add wakeup-source
- rename to marvell,sd8787.yaml by using one compatible string, suggestted by conor dooley at other binding doc convert review
Quoted 7 lines
--- .../bindings/net/wireless/marvell,sd8787.yaml | 93 +++++++++++++++++++ .../bindings/net/wireless/marvell-8xxx.txt | 70 -------------- 2 files changed, 93 insertions(+), 70 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml delete mode 100644 Documentation/devicetree/bindings/net/wireless/marvell-8xxx.txt
Hi Frank,
Quoted 32 lines · Frank Li
Convert binding doc marvel-8xxx.txt to yaml format. Additional change:
- Remove marvell,caldata_00_txpwrlimit_2g_cfg_set in example.
- Remove mmc related property in example.
- Add wakeup-source property.
- Remove vmmc-supply and mmc-pwrseq.Fix below warning:
arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dtb: /soc@0/bus@30800000/mmc@30b40000/wifi@1:
failed to match any schema with compatible: ['marvell,sd8997']Signed-off-by Frank Li <[email protected]>---
Change from v1 to v2
- Add Brian Norris <[email protected] as maintainer
- Remove vmmc-supply and mmc-pwrseq
- Add wakeup-source
- rename to marvell,sd8787.yaml by using one compatible string, suggestted by conor dooley at other binding doc convert review--- .../bindings/net/wireless/marvell,sd8787.yaml | 93 +++++++++++++++++++ .../bindings/net/wireless/marvell-8xxx.txt | 70 -------------- 2 files changed, 93 insertions(+), 70 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml delete mode 100644 Documentation/devicetree/bindings/net/wireless/marvell-8xxx.txtDocumentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml new file +0
-0
Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml line 44
Quoted 4 lines
Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml new file +3
-0@@ -0,0 +1,93 @@ + marvell,caldata-txpwrlimit-5g-sub0: + $ref: /schemas/types.yaml#/definitions/uint8-array + description: Calibration data for sub-band 0 in the 5GHz band..
You have an extra period in this line.
Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml line 49
Quoted 3 lines
Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml new file +3
-0+ marvell,caldata-txpwrlimit-5g-sub1: + $ref: /schemas/types.yaml#/definitions/uint8-array + description: Calibration data for sub-band 1 in the 5GHz band..
Same.
Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml line 54
Quoted 5 lines
Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml new file +5
-0+ maxItems: 688 + + marvell,caldata-txpwrlimit-5g-sub2: + $ref: /schemas/types.yaml#/definitions/uint8-array + description: Calibration data for sub-band 2 in the 5GHz band..
Same.
Otherwise, this looks good to me, so feel free to carry my:
(Sometimes Kalle will make trivial fixes like this when applying. I'm not sure if that means you should send v3 anyway, or see if he'll apply this on his own soon enough.)
Brian
Quoted 56 lines · Brian Norris
Hi Frank,
Quoted 32 lines · Frank Li
Convert binding doc marvel-8xxx.txt to yaml format. Additional change:
- Remove marvell,caldata_00_txpwrlimit_2g_cfg_set in example.
- Remove mmc related property in example.
- Add wakeup-source property.
- Remove vmmc-supply and mmc-pwrseq.Fix below warning:
arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dtb: /soc@0/bus@30800000/mmc@30b40000/wifi@1:
failed to match any schema with compatible: ['marvell,sd8997']Signed-off-by Frank Li <[email protected]>---
Change from v1 to v2
- Add Brian Norris <[email protected] as maintainer
- Remove vmmc-supply and mmc-pwrseq
- Add wakeup-source
- rename to marvell,sd8787.yaml by using one compatible string, suggestted by conor dooley at other binding doc convert review--- .../bindings/net/wireless/marvell,sd8787.yaml | 93 +++++++++++++++++++ .../bindings/net/wireless/marvell-8xxx.txt | 70 -------------- 2 files changed, 93 insertions(+), 70 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml delete mode 100644 Documentation/devicetree/bindings/net/wireless/marvell-8xxx.txtDocumentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml new file +0
-0Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml line 44
Quoted 4 lines
Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml new file +3
-0@@ -0,0 +1,93 @@ + marvell,caldata-txpwrlimit-5g-sub0: + $ref: /schemas/types.yaml#/definitions/uint8-array + description: Calibration data for sub-band 0 in the 5GHz band..You have an extra period in this line.
Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml line 49
Quoted 3 lines
Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml new file +3
-0+ marvell,caldata-txpwrlimit-5g-sub1: + $ref: /schemas/types.yaml#/definitions/uint8-array + description: Calibration data for sub-band 1 in the 5GHz band..Same.
Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml line 54
Quoted 5 lines
Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml new file +5
-0+ maxItems: 688 + + marvell,caldata-txpwrlimit-5g-sub2: + $ref: /schemas/types.yaml#/definitions/uint8-array + description: Calibration data for sub-band 2 in the 5GHz band..Same.
Quoted 7 lines
Otherwise, this looks good to me, so feel free to carry my:
Acked-by Brian Norris <[email protected]>(Sometimes Kalle will make trivial fixes like this when applying. I'm not sure if that means you should send v3 anyway, or see if he'll apply this on his own soon enough.)
For wireless-next patches I can easily edit commit messages but not the actual patch, so please send v3.
Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches