Commit 7dc11169 authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Bjorn Andersson

arm64: dts: qcom: pmr735a: stop depending on thermal_zones label

Most of SoC device trees do not provide the thermal_zones label. Thus
stop depending on it and use the full path to the thermal zones nodes.

Fixes: 7a3544e5 ("arm64: dts: qcom: pmr735a: Add temp-alarm support")
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220226205035.1826360-6-dmitry.baryshkov@linaro.org
parent d67ddd17
...@@ -32,23 +32,25 @@ pmr735a_gpios: gpio@8800 { ...@@ -32,23 +32,25 @@ pmr735a_gpios: gpio@8800 {
}; };
}; };
&thermal_zones { / {
pmr735a_thermal: pmr735a-thermal { thermal-zones {
polling-delay-passive = <100>; pmr735a_thermal: pmr735a-thermal {
polling-delay = <0>; polling-delay-passive = <100>;
thermal-sensors = <&pmr735a_temp_alarm>; polling-delay = <0>;
thermal-sensors = <&pmr735a_temp_alarm>;
trips { trips {
pmr735a_trip0: trip0 { pmr735a_trip0: trip0 {
temperature = <95000>; temperature = <95000>;
hysteresis = <0>; hysteresis = <0>;
type = "passive"; type = "passive";
}; };
pmr735a_crit: pmr735a-crit { pmr735a_crit: pmr735a-crit {
temperature = <115000>; temperature = <115000>;
hysteresis = <0>; hysteresis = <0>;
type = "critical"; type = "critical";
};
}; };
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment