]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: qcom: sc7180: lazor: Simplify disabling of charger thermal zone
authorMatthias Kaehlcke <mka@chromium.org>
Mon, 22 Mar 2021 16:46:33 +0000 (09:46 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 31 May 2021 17:12:10 +0000 (12:12 -0500)
commit8798586f840e5b86b3442768c6a0c0b42329d0b0
treeb3030aa1e36484048253c7c65d57ba05a0fa10ce
parent41db8f64790cf90686fac1ab47023c1064a7e118
arm64: dts: qcom: sc7180: lazor: Simplify disabling of charger thermal zone

Commit f73558cc83d1 ("arm64: dts: qcom: sc7180: Disable charger
thermal zone for lazor") disables the charger thermal zone for
specific lazor revisions due to an unsupported thermistor type.
The initial idea was to disable the thermal zone for older
revisions and leave it enabled for newer ones that use a
supported thermistor. Finally the thermistor won't be changed
on newer revisions, hence the thermal zone should be disabled
for all lazor (and limozeen) revisions. Instead of disabling
it per revision do it once in the shared .dtsi for lazor.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20210322094628.v4.1.I6d587e7ae72a5a47253bb95dfdc3158f8cc8a157@changeid
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r0.dts
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r1.dts
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3.dts
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi