devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/4] arm64: dts: qcom: sc7180: trogdor: Add label to charger thermal zone
@ 2021-02-25 18:33 Matthias Kaehlcke
  2021-02-25 18:33 ` [PATCH v2 2/4] arm64: dts: qcom: sc7180: Disable charger thermal for lazor Matthias Kaehlcke
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Matthias Kaehlcke @ 2021-02-25 18:33 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Rob Herring
  Cc: devicetree, Douglas Anderson, linux-arm-msm, Stephen Boyd,
	linux-kernel, Matthias Kaehlcke

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>
---

Changes in v2:
- only add a label to the thermal zone
- updated subject and commit message

 arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi
index 07c8b2c926c0..bda983da4eaf 100644
--- a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi
@@ -15,7 +15,7 @@
 
 / {
 	thermal-zones {
-		charger-thermal {
+		charger_thermal: charger-thermal {
 			polling-delay-passive = <0>;
 			polling-delay = <0>;
 
-- 
2.30.0.617.g56c4b15f3c-goog


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-02-25 22:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-25 18:33 [PATCH v2 1/4] arm64: dts: qcom: sc7180: trogdor: Add label to charger thermal zone Matthias Kaehlcke
2021-02-25 18:33 ` [PATCH v2 2/4] arm64: dts: qcom: sc7180: Disable charger thermal for lazor Matthias Kaehlcke
2021-02-25 20:10   ` Stephen Boyd
2021-02-25 20:13   ` Matthias Kaehlcke
2021-02-25 18:33 ` [PATCH v2 3/4] arm64: dts: qcom: sc7180: trogdor: Fix trip point config of charger thermal zone Matthias Kaehlcke
2021-02-25 22:39   ` Stephen Boyd
2021-02-25 22:47   ` Doug Anderson
2021-02-25 18:33 ` [PATCH v2 4/4] arm64: dts: qcom: sc7180: trogdor: Use ADC TM channel 0 instead of 1 for charger temperature Matthias Kaehlcke
2021-02-25 22:42   ` Stephen Boyd
2021-02-25 19:45 ` [PATCH v2 1/4] arm64: dts: qcom: sc7180: trogdor: Add label to charger thermal zone Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).