ARM: dts: qcom: add missing gpio-ranges in PMIC GPIOs
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 8 May 2022 13:59:32 +0000 (15:59 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 27 Jun 2022 21:42:50 +0000 (16:42 -0500)
The new Qualcomm PMIC GPIO bindings require gpio-ranges property:

  qcom-sdx55-telit-fn980-tlb.dtb: gpio@c000: 'gpio-ranges' is a required property

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220508135932.132378-5-krzysztof.kozlowski@linaro.org
arch/arm/boot/dts/qcom-pmx55.dtsi
arch/arm/boot/dts/qcom-pmx65.dtsi

index 6571b88d018a50a46a279bc1ac339b69dcba8581..9de7578a4c5f15c2cb48f78815cc9c9b88fd2f75 100644 (file)
@@ -69,6 +69,7 @@
                        compatible = "qcom,pmx55-gpio", "qcom,spmi-gpio";
                        reg = <0xc000>;
                        gpio-controller;
+                       gpio-ranges = <&pmx55_gpios 0 0 11>;
                        #gpio-cells = <2>;
                        interrupt-controller;
                        #interrupt-cells = <2>;
index 8701396fe1f26701d4baae03ba790e42700e9393..abf229a8b75ac857f8f980128442bc14224e4063 100644 (file)
@@ -24,6 +24,7 @@
                        compatible = "qcom,pmx65-gpio", "qcom,spmi-gpio";
                        reg = <0x8800>;
                        gpio-controller;
+                       gpio-ranges = <&pmx65_gpios 0 0 16>;
                        #gpio-cells = <2>;
                        interrupt-controller;
                        #interrupt-cells = <2>;