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]> --- .../dts/qcom/sm6350-sony-xperia-lena-pdx213.dts | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) 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 361ed8ec96c81..d37f5090dbfa7 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 @@ -80,6 +80,32 @@ memory@fe901000 { qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>; }; }; + + thermal-zones { + chg-skin-thermal { + thermal-sensors = <&pm7250b_adc_tm 0>; + + trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + }; + }; + + conn-thermal { + thermal-sensors = <&pm7250b_adc_tm 1>; + + trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + }; + }; + }; }; &adsp { -- 2.53.0
