dt-bindings: pinctrl: qcom,ipq6018: Fix example 'gpio-ranges' size
authorRob Herring <robh@kernel.org>
Tue, 9 Aug 2022 21:45:56 +0000 (15:45 -0600)
committerRob Herring <robh@kernel.org>
Wed, 10 Aug 2022 21:09:41 +0000 (15:09 -0600)
'gpio-ranges' entries have a fixed size of 1 phandle plus arg 3 cells.
The qcom,ipq6018-pinctrl example is a cell short:

Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.example.dtb: pinctrl@1000000: gpio-ranges:0: [1, 0, 80] is too short
From schema: /usr/local/lib/python3.10/dist-packages/dtschema/schemas/gpio/gpio.yaml

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220809214556.2489822-1-robh@kernel.org
Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml

index b83c7f4..931e5c1 100644 (file)
@@ -144,7 +144,7 @@ examples:
               #interrupt-cells = <2>;
               gpio-controller;
               #gpio-cells = <2>;
-              gpio-ranges = <&tlmm 0 80>;
+              gpio-ranges = <&tlmm 0 80>;
 
               serial3-pinmux {
                       pins = "gpio44", "gpio45";