arm64: dts: qcom: sc7180: trogdor: Add label to charger thermal zone
authorMatthias Kaehlcke <mka@chromium.org>
Thu, 25 Feb 2021 18:33:34 +0000 (10:33 -0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 12 Mar 2021 02:22:38 +0000 (20:22 -0600)
Some revisions of trogdor boards use a thermistor for the charger
temperature which currently isn't supported by the PM6150 ADC
driver. This results in bogus temperature readings. Add a label
to the charger thermal zone to facilitate disabling of the thermal
zone on affected boards.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20210225103330.v2.1.I6a426324db3d98d6cfae8adf2598831bb30bba74@changeid
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi

index 07c8b2c..bda983d 100644 (file)
@@ -15,7 +15,7 @@
 
 / {
        thermal-zones {
-               charger-thermal {
+               charger_thermal: charger-thermal {
                        polling-delay-passive = <0>;
                        polling-delay = <0>;