Configure the thermals for the chg-skin-thermal and conn-therm thermistors 
connected to
PM7250B.

The trip points can really only be considered as placeholders, more
configuration with cooling etc. can be added later.

Signed-off-by: erebion <[email protected]>
---
 .../boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts    | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts 
b/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts
index 6d5aa2fce4c0f..4e9707712a651 100644
--- a/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts
+++ b/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts
@@ -91,8 +91,8 @@ memory@fe901000 {
        };
 
        thermal-zones {
-               xo-thermal {
-                       thermal-sensors = <&pmk8350_adc_tm 0>;
+               chg-skin-thermal {
+                       thermal-sensors = <&pm7250b_adc_tm 0>;
 
                        trips {
                                active-config0 {
@@ -102,6 +102,19 @@ active-config0 {
                                };
                        };
                };
+
+               conn-thermal {
+                       thermal-sensors = <&pm7250b_adc_tm 1>;
+
+                       trips {
+                               active-config0 {
+                                       temperature = <125000>;
+                                       hysteresis = <1000>;
+                                       type = "passive";
+                               };
+                       };
+               };
+
        };
 };
 

-- 
2.53.0

Reply via email to