diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2022-08-10 12:05:33 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2022-08-10 12:05:33 +0000 |
commit | 17bac45f172c86f09a59b2aca99646ab17f7a606 (patch) | |
tree | b1317ae24dd32a3bda5dfd1c6111d1abe99296e1 /src/arm64/qcom/pm6150.dtsi | |
parent | 71ca10f8bbe6096fb8f641e138cd06d189f2b4e3 (diff) | |
download | src-17bac45f172c86f09a59b2aca99646ab17f7a606.tar.gz src-17bac45f172c86f09a59b2aca99646ab17f7a606.zip |
Diffstat (limited to 'src/arm64/qcom/pm6150.dtsi')
-rw-r--r-- | src/arm64/qcom/pm6150.dtsi | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/arm64/qcom/pm6150.dtsi b/src/arm64/qcom/pm6150.dtsi index 8ab4f1f78bbf..8a4972e6a24c 100644 --- a/src/arm64/qcom/pm6150.dtsi +++ b/src/arm64/qcom/pm6150.dtsi @@ -7,6 +7,30 @@ #include <dt-bindings/spmi/spmi.h> #include <dt-bindings/thermal/thermal.h> +/ { + thermal-zones { + pm6150_thermal: pm6150-thermal { + polling-delay-passive = <100>; + polling-delay = <0>; + thermal-sensors = <&pm6150_temp>; + + trips { + pm6150_trip0: trip0 { + temperature = <95000>; + hysteresis = <0>; + type = "passive"; + }; + + pm6150_crit: crit { + temperature = <115000>; + hysteresis = <0>; + type = "critical"; + }; + }; + }; + }; +}; + &spmi_bus { pm6150_lsid0: pmic@0 { compatible = "qcom,pm6150", "qcom,spmi-pmic"; |