]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 May 2021 08:49:38 +0000 (10:49 +0200)
[ Upstream commit 38f3267def6511171aef0f056ad172686903603f ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi

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