Add the definition for these ADC channels to the PM7250B definition.

Signed-off-by: Luca Weiss <[email protected]>
---
 arch/arm64/boot/dts/qcom/pm7250b.dtsi | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/pm7250b.dtsi 
b/arch/arm64/boot/dts/qcom/pm7250b.dtsi
index 0761e6b5fd8d..c96089520548 100644
--- a/arch/arm64/boot/dts/qcom/pm7250b.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm7250b.dtsi
@@ -156,6 +156,22 @@ channel@1e {
                                label = "chg_mid";
                        };
 
+                       channel@2a {
+                               reg = <ADC5_BAT_THERM_30K_PU>;
+                               qcom,hw-settle-time = <200>;
+                               qcom,pre-scaling = <1 1>;
+                               qcom,ratiometric;
+                               label = "bat_therm_30k";
+                       };
+
+                       channel@4a {
+                               reg = <ADC5_BAT_THERM_100K_PU>;
+                               qcom,hw-settle-time = <200>;
+                               qcom,pre-scaling = <1 1>;
+                               qcom,ratiometric;
+                               label = "bat_therm_100k";
+                       };
+
                        channel@4b {
                                reg = <ADC5_BAT_ID_100K_PU>;
                                qcom,hw-settle-time = <200>;
@@ -164,6 +180,14 @@ channel@4b {
                                label = "bat_id";
                        };
 
+                       channel@6a {
+                               reg = <ADC5_BAT_THERM_400K_PU>;
+                               qcom,hw-settle-time = <200>;
+                               qcom,pre-scaling = <1 1>;
+                               qcom,ratiometric;
+                               label = "bat_therm_400k";
+                       };
+
                        channel@83 {
                                reg = <ADC5_VPH_PWR>;
                                qcom,pre-scaling = <1 3>;

-- 
2.51.0


Reply via email to