]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
arm64: dts: qcom: sc7180: trogdor: Fix trip point config of charger thermal zone
authorMatthias Kaehlcke <mka@chromium.org>
Thu, 25 Feb 2021 18:33:36 +0000 (10:33 -0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 12 Mar 2021 02:22:38 +0000 (20:22 -0600)
The trip point configuration of the charger thermal zone for trogdor
is missing a node for the critical trip point. Add the missing node.

Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Fixes: bb06eb3607e9 ("arm64: qcom: sc7180: trogdor: Add ADC nodes and thermal zone for charger thermistor")
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Link: https://lore.kernel.org/r/20210225103330.v2.3.Ife7768b6b4765026c9d233ad4982da0e365ddbca@changeid
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi

index bda983da4eafc6d38e980a2d5d86fc8b54f47a1f..ab4efaece5cbda87ce2083d43999847211180dd7 100644 (file)
                        thermal-sensors = <&pm6150_adc_tm 1>;
 
                        trips {
-                               temperature = <125000>;
-                               hysteresis = <1000>;
-                               type = "critical";
+                               charger-crit {
+                                       temperature = <125000>;
+                                       hysteresis = <1000>;
+                                       type = "critical";
+                               };
                        };
                };
        };