Configure the thermals for the xo-thermal thermistor connected to PMK8350. 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]> --- .../arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts | 14 ++++++++++++++ 1 file changed, 14 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 246a290e44f77..6d5aa2fce4c0f 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 @@ -89,6 +89,20 @@ memory@fe901000 { qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>; }; }; + + thermal-zones { + xo-thermal { + thermal-sensors = <&pmk8350_adc_tm 0>; + + trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + }; + }; + }; }; &adsp { -- 2.53.0
