dt-bindings: PCI: rockchip,rk3399-pcie: Add missing maxItems to ep-gpios
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 1 Apr 2024 10:00:58 +0000 (12:00 +0200)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Thu, 16 May 2024 08:30:51 +0000 (08:30 +0000)
Properties with GPIOs should define number of actual GPIOs, so add
missing maxItems to ep-gpios.  Otherwise multiple GPIOs could be
provided which is not a true hardware description.

Fixes: aa222f9311e1 ("dt-bindings: PCI: Convert Rockchip RK3399 PCIe to DT schema")
Link: https://lore.kernel.org/linux-pci/20240401100058.15749-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Documentation/devicetree/bindings/pci/rockchip,rk3399-pcie.yaml

index 60a36b586e1a6e1650e7e1607d0b62cf02c5e3ff..720a5f945a4e6b35a18b26f00b926399c437a1a9 100644 (file)
@@ -37,6 +37,7 @@ properties:
     description: This property is needed if using 24MHz OSC for RC's PHY.
 
   ep-gpios:
+    maxItems: 1
     description: pre-reset GPIO
 
   vpcie12v-supply: