dt-bindings: PCI: layerscape-pci: Fix property 'fsl,pcie-scfg' type
Subsystems (4)
Frank Li
maintainerPATCH v3 1/1 dt-bindings: PCI: layerscape-pci: Fix property 'fsl,pcie-scfg' type
fsl,pcie-scfg actually need an argument when there are more than one PCIe instances. Change it to phandle-array and use items to describe each field means.
Fix below warning.
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: pcie@3400000: fsl,pcie-scfg:0: [22, 0] is too long
from schema $id: http://devicetree.org/schemas/pci/fsl,layerscape-pcie.yaml#
---
Change form v2 to v3
- remove minItems because all dts use one argument. Change from v1 to v2
- update commit message.
--- .../devicetree/bindings/pci/fsl,layerscape-pcie.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/pci/fsl,layerscape-pcie.yaml +6 -1
@@ -43,10 +43,15 @@ properties: - const: config fsl,pcie-scfg: - $ref: /schemas/types.yaml#/definitions/phandle + $ref: /schemas/types.yaml#/definitions/phandle-array description: A phandle to the SCFG device node. The second entry is the physical PCIe controller index starting from '0'. This is used to get SCFG PEXN registers. + items: + items: + - description: A phandle to the SCFG device node + - description: PCIe controller index starting from '0' + maxItems: 1 big-endian: $ref: /schemas/types.yaml#/definitions/flag
Signature · 1 line
2.34.1
Quoted 11 lines · Frank Li
fsl,pcie-scfg actually need an argument when there are more than one PCIe instances. Change it to phandle-array and use items to describe each field means.
Fix below warning.
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: pcie@3400000: fsl,pcie-scfg:0: [22, 0] is too long
from schema $id: http://devicetree.org/schemas/pci/fsl,layerscape-pcie.yaml#Signed-off-by Frank Li <[email protected]>
Quoted 8 lines
---
Change form v2 to v3
- remove minItems because all dts use one argument. Change from v1 to v2
- update commit message.--- .../devicetree/bindings/pci/fsl,layerscape-pcie.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
Frank Li
maintainerQuoted 21 lines · Rob Herring
Quoted 11 lines · Frank Li
fsl,pcie-scfg actually need an argument when there are more than one PCIe instances. Change it to phandle-array and use items to describe each field means.
Fix below warning.
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: pcie@3400000: fsl,pcie-scfg:0: [22, 0] is too long
from schema $id: http://devicetree.org/schemas/pci/fsl,layerscape-pcie.yaml#Signed-off-by Frank Li <[email protected]>Quoted 8 lines
---
Change form v2 to v3
- remove minItems because all dts use one argument. Change from v1 to v2
- update commit message.--- .../devicetree/bindings/pci/fsl,layerscape-pcie.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
Quoted 1 line
Reviewed-by Rob Herring <[email protected]>
Krzysztof Wilczyński:
can you help care about this patch, rob already acked.
Frank
Frank Li
maintainerQuoted 11 lines · Frank Li
fsl,pcie-scfg actually need an argument when there are more than one PCIe instances. Change it to phandle-array and use items to describe each field means.
Fix below warning.
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: pcie@3400000: fsl,pcie-scfg:0: [22, 0] is too long
from schema $id: http://devicetree.org/schemas/pci/fsl,layerscape-pcie.yaml#Signed-off-by Frank Li <[email protected]>---
Bjorn and Krzysztof Wilczyński:
Can you take care this patch? Rob already acked.
Frank
Quoted 32 lines
Change form v2 to v3
- remove minItems because all dts use one argument. Change from v1 to v2
- update commit message.--- .../devicetree/bindings/pci/fsl,layerscape-pcie.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)Documentation/devicetree/bindings/pci/fsl,layerscape-pcie.yaml +6
-2@@ -43,10 +43,15 @@ properties: - const: config fsl,pcie-scfg: - $ref: /schemas/types.yaml#/definitions/phandle + $ref: /schemas/types.yaml#/definitions/phandle-array description: A phandle to the SCFG device node. The second entry is the physical PCIe controller index starting from '0'. This is used to get SCFG PEXN registers. + items: + items: + - description: A phandle to the SCFG device node + - description: PCIe controller index starting from '0' + maxItems: 1 big-endian: $ref: /schemas/types.yaml#/definitions/flag --2.34.1
Rob Herring (Arm)
maintainerQuoted 10 lines · Frank Li
fsl,pcie-scfg actually need an argument when there are more than one PCIe instances. Change it to phandle-array and use items to describe each field means.
Fix below warning.
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: pcie@3400000: fsl,pcie-scfg:0: [22, 0] is too long
from schema $id: http://devicetree.org/schemas/pci/fsl,layerscape-pcie.yaml#Signed-off-by Frank Li <[email protected]>
Quoted 9 lines
---
Change form v2 to v3
- remove minItems because all dts use one argument. Change from v1 to v2
- update commit message.--- .../devicetree/bindings/pci/fsl,layerscape-pcie.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
It's been 2 months and no response to multiple pings, so I applied it.
Rob
Frank Li
maintainerQuoted 22 lines · Rob Herring (Arm)
Quoted 10 lines · Frank Li
fsl,pcie-scfg actually need an argument when there are more than one PCIe instances. Change it to phandle-array and use items to describe each field means.
Fix below warning.
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: pcie@3400000: fsl,pcie-scfg:0: [22, 0] is too long
from schema $id: http://devicetree.org/schemas/pci/fsl,layerscape-pcie.yaml#Signed-off-by Frank Li <[email protected]>Quoted 9 lines
---
Change form v2 to v3
- remove minItems because all dts use one argument. Change from v1 to v2
- update commit message.--- .../devicetree/bindings/pci/fsl,layerscape-pcie.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
Quoted 1 line
It's been 2 months and no response to multiple pings, so I applied it.
Krzysztof Wilczyński:
Rob said he already picked this patch. I am not sure if cause
conflict if you also picked.
https://lore.kernel.org/linux-pci/20240904150338.GD3032973@rocinante/T/#t
" Applied to dt-bindings, thank you!
[1/1] dt-bindings: PCI: layerscape-pci: Change property 'fsl,pcie-scfg' type
https://git.kernel.org/pci/pci/c/f66b63ef10d6 Krzysztof"
Frank
Quoted 2 lines
Rob
Krzysztof Wilczyński
AppliedHello,
Quoted 8 lines
fsl,pcie-scfg actually need an argument when there are more than one PCIe instances. Change it to phandle-array and use items to describe each field means.
Fix below warning.
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: pcie@3400000: fsl,pcie-scfg:0: [22, 0] is too long
from schema $id: http://devicetree.org/schemas/pci/fsl,layerscape-pcie.yaml#
Applied to dt-bindings, thank you!
[1/1] dt-bindings: PCI: layerscape-pci: Change property 'fsl,pcie-scfg' type
https://git.kernel.org/pci/pci/c/f66b63ef10d6 Krzysztof