Commit b07bfd8e authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Bjorn Andersson

arm64: dts: qcom: add missing gpio-ranges in PMIC GPIOs

The new Qualcomm PMIC GPIO bindings require gpio-ranges property:

  sm8250-sony-xperia-edo-pdx203.dtb: gpio@c000: 'gpio-ranges' is a required property
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220508135932.132378-3-krzysztof.kozlowski@linaro.org
parent cb0b6853
...@@ -39,6 +39,7 @@ pm6350_gpios: gpios@c000 { ...@@ -39,6 +39,7 @@ pm6350_gpios: gpios@c000 {
compatible = "qcom,pm6350-gpio", "qcom,spmi-gpio"; compatible = "qcom,pm6350-gpio", "qcom,spmi-gpio";
reg = <0xc000>; reg = <0xc000>;
gpio-controller; gpio-controller;
gpio-ranges = <&pm6350_gpios 0 0 9>;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
......
...@@ -22,6 +22,7 @@ pm8009_gpios: gpio@c000 { ...@@ -22,6 +22,7 @@ pm8009_gpios: gpio@c000 {
compatible = "qcom,pm8005-gpio", "qcom,spmi-gpio"; compatible = "qcom,pm8005-gpio", "qcom,spmi-gpio";
reg = <0xc000>; reg = <0xc000>;
gpio-controller; gpio-controller;
gpio-ranges = <&pm8009_gpios 0 0 4>;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
......
...@@ -130,6 +130,7 @@ pm8150_gpios: gpio@c000 { ...@@ -130,6 +130,7 @@ pm8150_gpios: gpio@c000 {
compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio"; compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio";
reg = <0xc000>; reg = <0xc000>;
gpio-controller; gpio-controller;
gpio-ranges = <&pm8150_gpios 0 0 10>;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
......
...@@ -115,6 +115,7 @@ pm8150b_gpios: gpio@c000 { ...@@ -115,6 +115,7 @@ pm8150b_gpios: gpio@c000 {
compatible = "qcom,pm8150b-gpio", "qcom,spmi-gpio"; compatible = "qcom,pm8150b-gpio", "qcom,spmi-gpio";
reg = <0xc000>; reg = <0xc000>;
gpio-controller; gpio-controller;
gpio-ranges = <&pm8150b_gpios 0 0 12>;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
......
...@@ -103,6 +103,7 @@ pm8150l_gpios: gpio@c000 { ...@@ -103,6 +103,7 @@ pm8150l_gpios: gpio@c000 {
compatible = "qcom,pm8150l-gpio", "qcom,spmi-gpio"; compatible = "qcom,pm8150l-gpio", "qcom,spmi-gpio";
reg = <0xc000>; reg = <0xc000>;
gpio-controller; gpio-controller;
gpio-ranges = <&pm8150l_gpios 0 0 12>;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
......
...@@ -48,6 +48,7 @@ pm8350_gpios: gpio@8800 { ...@@ -48,6 +48,7 @@ pm8350_gpios: gpio@8800 {
compatible = "qcom,pm8350-gpio", "qcom,spmi-gpio"; compatible = "qcom,pm8350-gpio", "qcom,spmi-gpio";
reg = <0x8800>; reg = <0x8800>;
gpio-controller; gpio-controller;
gpio-ranges = <&pm8350_gpios 0 0 10>;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
......
...@@ -48,6 +48,7 @@ pm8350b_gpios: gpio@8800 { ...@@ -48,6 +48,7 @@ pm8350b_gpios: gpio@8800 {
compatible = "qcom,pm8350b-gpio", "qcom,spmi-gpio"; compatible = "qcom,pm8350b-gpio", "qcom,spmi-gpio";
reg = <0x8800>; reg = <0x8800>;
gpio-controller; gpio-controller;
gpio-ranges = <&pm8350b_gpios 0 0 8>;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
......
...@@ -111,6 +111,7 @@ pm8916_gpios: gpios@c000 { ...@@ -111,6 +111,7 @@ pm8916_gpios: gpios@c000 {
compatible = "qcom,pm8916-gpio", "qcom,spmi-gpio"; compatible = "qcom,pm8916-gpio", "qcom,spmi-gpio";
reg = <0xc000>; reg = <0xc000>;
gpio-controller; gpio-controller;
gpio-ranges = <&pm8916_gpios 0 0 4>;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupts = <0 0xc0 0 IRQ_TYPE_NONE>, interrupts = <0 0xc0 0 IRQ_TYPE_NONE>,
<0 0xc1 0 IRQ_TYPE_NONE>, <0 0xc1 0 IRQ_TYPE_NONE>,
......
...@@ -48,6 +48,7 @@ pmr735b_gpios: gpio@8800 { ...@@ -48,6 +48,7 @@ pmr735b_gpios: gpio@8800 {
compatible = "qcom,pmr735b-gpio", "qcom,spmi-gpio"; compatible = "qcom,pmr735b-gpio", "qcom,spmi-gpio";
reg = <0x8800>; reg = <0x8800>;
gpio-controller; gpio-controller;
gpio-ranges = <&pmr735b_gpios 0 0 4>;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
......
...@@ -41,6 +41,7 @@ pms405_gpios: gpio@c000 { ...@@ -41,6 +41,7 @@ pms405_gpios: gpio@c000 {
compatible = "qcom,pms405-gpio", "qcom,spmi-gpio"; compatible = "qcom,pms405-gpio", "qcom,spmi-gpio";
reg = <0xc000>; reg = <0xc000>;
gpio-controller; gpio-controller;
gpio-ranges = <&pms405_gpios 0 0 12>;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupts = <0 0xc0 0 IRQ_TYPE_NONE>, interrupts = <0 0xc0 0 IRQ_TYPE_NONE>,
<0 0xc1 0 IRQ_TYPE_NONE>, <0 0xc1 0 IRQ_TYPE_NONE>,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment