]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dt-bindings: PCI: layerscape-pci: Change property 'fsl,pcie-scfg' type
authorFrank Li <Frank.Li@nxp.com>
Mon, 1 Jul 2024 22:16:12 +0000 (18:16 -0400)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Wed, 4 Sep 2024 14:58:08 +0000 (14:58 +0000)
commitf66b63ef10d65cf8ce57a7341262308443705628
tree6f27e5f285ce0b167b200141f5776b6819f6bda1
parentb9fe09a1b293429f456115dae8cf9cecb82b5d13
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>
Documentation/devicetree/bindings/pci/fsl,layerscape-pcie.yaml