Skip to content

Commit f66b63e

Browse files
nxpfranklikwilczynski
authored andcommitted
dt-bindings: PCI: layerscape-pci: Change property 'fsl,pcie-scfg' type
The fsl,pcie-scfg requires an argument when there are more than one PCIe instances. Thus, change it to the phandle-array type and use items to describe what each field means. This also fixes the following 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# Link: https://lore.kernel.org/linux-pci/20240701221612.2112668-1-Frank.Li@nxp.com Signed-off-by: Frank Li <Frank.Li@nxp.com> [kwilczynski: commit log] Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org> Reviewed-by: Rob Herring <robh@kernel.org>
1 parent b9fe09a commit f66b63e

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Documentation/devicetree/bindings/pci/fsl,layerscape-pcie.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,15 @@ properties:
4545
- const: config
4646

4747
fsl,pcie-scfg:
48-
$ref: /schemas/types.yaml#/definitions/phandle
48+
$ref: /schemas/types.yaml#/definitions/phandle-array
4949
description: A phandle to the SCFG device node. The second entry is the
5050
physical PCIe controller index starting from '0'. This is used to get
5151
SCFG PEXN registers.
52+
items:
53+
items:
54+
- description: A phandle to the SCFG device node
55+
- description: PCIe controller index starting from '0'
56+
maxItems: 1
5257

5358
big-endian:
5459
$ref: /schemas/types.yaml#/definitions/flag

0 commit comments

Comments
 (0)