dts: qcom: adjust pmic gpio to use upstream bindings

Use the upstream gpio-ranges property instead of gpio-count, and drop
the bank-name property for Qualcomm boards.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Tested-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
This commit is contained in:
Caleb Connolly
2024-01-16 12:26:53 +00:00
parent ab4214333d
commit a712ececbd
4 changed files with 4 additions and 8 deletions
+1 -2
View File
@@ -170,9 +170,8 @@
compatible = "qcom,pm8916-gpio";
reg = <0xc000 0x400>;
gpio-controller;
gpio-count = <4>;
gpio-ranges = <&pm8916_gpios 0 0 4>;
#gpio-cells = <2>;
gpio-bank-name="pmic";
};
};
+1 -2
View File
@@ -132,9 +132,8 @@
compatible = "qcom,pm8994-gpio";
reg = <0xc000 0x400>;
gpio-controller;
gpio-count = <24>;
gpio-ranges = <&pm8994_gpios 0 0 22>;
#gpio-cells = <2>;
gpio-bank-name="pm8994.";
};
};
+1 -2
View File
@@ -378,9 +378,8 @@
compatible = "qcom,pms405-gpio";
reg = <0xc000 0x400>;
gpio-controller;
gpio-count = <12>;
gpio-ranges = <&pms405_gpios 0 0 12>;
#gpio-cells = <2>;
gpio-bank-name="pmic";
};
};
};
+1 -2
View File
@@ -103,9 +103,8 @@
compatible = "qcom,pm8998-gpio";
reg = <0xc000 0x1a00>;
gpio-controller;
gpio-count = <21>;
gpio-ranges = <&pm8998_gpios 0 0 26>;
#gpio-cells = <2>;
gpio-bank-name = "pm8998.";
};
};