From f50a2422c959bc1aa65cd9f80f30868fc1af00a3 Mon Sep 17 00:00:00 2001 From: Raphiel Rollerscaperers Date: Wed, 6 Nov 2019 18:35:56 +0700 Subject: [PATCH] boot / dtsi: beryllium: [again] Restore xo_therm We still need this to mitigate thermal, but keep sdm-therm-adc to comply with ThermalEngine asking for this thermal zone. Signed-off-by: Raphiel Rollerscaperers Signed-off-by: CloudedQuartz Signed-off-by: PainKiller3 --- arch/arm64/boot/dts/qcom/beryllium-p0.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/beryllium-p0.dtsi b/arch/arm64/boot/dts/qcom/beryllium-p0.dtsi index 240ac1a1a0697..bb2a646551805 100644 --- a/arch/arm64/boot/dts/qcom/beryllium-p0.dtsi +++ b/arch/arm64/boot/dts/qcom/beryllium-p0.dtsi @@ -859,6 +859,22 @@ }; }; + xo_therm { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-sensors = <&pm8998_adc_tm 0x4c>; + thermal-governor = "user_space"; + wake-capable-sensor; + + trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + }; + }; + quiet-therm-adc { polling-delay-passive = <0>; polling-delay = <0>;