dt-bindings: PCI: layerscape-pci: Fix property 'fsl,pcie-scfg' type
Subsystems (4)
Frank Li
maintainerPATCH 1/2 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 descript each field means.
--- .../devicetree/bindings/pci/fsl,layerscape-pcie.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/pci/fsl,layerscape-pcie.yaml +7 -1
@@ -43,10 +43,16 @@ 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' + minItems: 1 + maxItems: 1 big-endian: $ref: /schemas/types.yaml#/definitions/flag
Signature · 1 line
2.34.1
Frank Li
maintainerPATCH 2/2 dt-bindings: PCI: layerscape-pci-ep: Allow fallback to fsl,ls-pcie-ep
Allow compatible string fallback to general fsl,ls-pcie-ep. Fix below warning:
arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dtb: pcie_ep@3400000: compatible: ['fsl,ls1046a-pcie-ep', 'fsl,ls-pcie-ep'] is too long
--- .../bindings/pci/fsl,layerscape-pcie-ep.yaml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-)
Documentation/devicetree/bindings/pci/fsl,layerscape-pcie-ep.yaml +9 -6
@@ -22,12 +22,15 @@ description: properties: compatible: - enum: - - fsl,ls2088a-pcie-ep - - fsl,ls1088a-pcie-ep - - fsl,ls1046a-pcie-ep - - fsl,ls1028a-pcie-ep - - fsl,lx2160ar2-pcie-ep + items: + - enum: + - fsl,ls2088a-pcie-ep + - fsl,ls1088a-pcie-ep + - fsl,ls1046a-pcie-ep + - fsl,ls1028a-pcie-ep + - fsl,lx2160ar2-pcie-ep + - const: fsl,ls-pcie-ep + minItems: 1 reg: maxItems: 2
Signature · 1 line
2.34.1
Frank Li
maintainerRe: [PATCH 2/2] dt-bindings: PCI: layerscape-pci-ep: Allow fallback to fsl,ls-pcie-ep
Quoted 7 lines · Frank Li
Allow compatible string fallback to general fsl,ls-pcie-ep. Fix below warning:
arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dtb: pcie_ep@3400000: compatible: ['fsl,ls1046a-pcie-ep', 'fsl,ls-pcie-ep'] is too longSigned-off-by Frank Li <[email protected]>---
Sorry, this patch sent out accidently. 'fsl,ls-pcie-ep' actually are not used in driver.
Frank Li
Quoted 32 lines
.../bindings/pci/fsl,layerscape-pcie-ep.yaml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-)Documentation/devicetree/bindings/pci/fsl,layerscape-pcie-ep.yaml +9
-6@@ -22,12 +22,15 @@ description: properties: compatible: - enum: - - fsl,ls2088a-pcie-ep - - fsl,ls1088a-pcie-ep - - fsl,ls1046a-pcie-ep - - fsl,ls1028a-pcie-ep - - fsl,lx2160ar2-pcie-ep + items: + - enum: + - fsl,ls2088a-pcie-ep + - fsl,ls1088a-pcie-ep + - fsl,ls1046a-pcie-ep + - fsl,ls1028a-pcie-ep + - fsl,lx2160ar2-pcie-ep + - const: fsl,ls-pcie-ep + minItems: 1 reg: maxItems: 2Signature · 1 line
2.34.1