dt-bindings: pinctrl: qcom: correct gpio-ranges in examples
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 2 Feb 2023 10:44:49 +0000 (11:44 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 3 Feb 2023 07:15:06 +0000 (08:15 +0100)
Correct the number of GPIOs in gpio-ranges to match reality.

Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230202104452.299048-8-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/qcom,sm8350-tlmm.yaml

index 56e058c315f75b8db9c9d2e5ef2a04939db63854..cf561dff8893d0cc1fc6767c793c6538a4ebf78f 100644 (file)
@@ -131,6 +131,6 @@ examples:
         #gpio-cells = <2>;
         interrupt-controller;
         #interrupt-cells = <2>;
-        gpio-ranges = <&tlmm 0 0 180>;
+        gpio-ranges = <&tlmm 0 0 181>; /* GPIOs + ufs_reset */
         wakeup-parent = <&pdc>;
     };
index e13d50d6d38887f4cc6bc6891e03bb1d97a54e47..797242f68b1c9a91e4c9753d824521714b3658fb 100644 (file)
@@ -130,7 +130,7 @@ examples:
         #gpio-cells = <2>;
         interrupt-controller;
         #interrupt-cells = <2>;
-        gpio-ranges = <&tlmm 0 0 203>;
+        gpio-ranges = <&tlmm 0 0 204>; /* GPIOs + ufs_reset */
 
         gpio-wo-subnode-state {
             pins = "gpio1";