diff mbox series

[v2,1/4] arm64: dts: qcom: sc7180: trogdor: Add label to charger thermal zone

Message ID 20210225103330.v2.1.I6a426324db3d98d6cfae8adf2598831bb30bba74@changeid (mailing list archive)
State Accepted
Commit dc7c5cde76b12732b66f555a08893d13763b1111
Headers show
Series [v2,1/4] arm64: dts: qcom: sc7180: trogdor: Add label to charger thermal zone | expand

Commit Message

Matthias Kaehlcke Feb. 25, 2021, 6:33 p.m. UTC
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(-)

Comments

Stephen Boyd Feb. 25, 2021, 7:45 p.m. UTC | #1
Quoting Matthias Kaehlcke (2021-02-25 10:33:34)
> 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>
patchwork-bot+linux-arm-msm@kernel.org March 1, 2021, 7:59 p.m. UTC | #2
Hello:

This series was applied to qcom/linux.git (refs/heads/for-next):

On Thu, 25 Feb 2021 10:33:34 -0800 you wrote:
> 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>
> 
> [...]

Here is the summary with links:
  - [v2,1/4] arm64: dts: qcom: sc7180: trogdor: Add label to charger thermal zone
    https://git.kernel.org/qcom/c/dc7c5cde76b1
  - [v2,2/4] arm64: dts: qcom: sc7180: Disable charger thermal for lazor
    https://git.kernel.org/qcom/c/f73558cc83d1
  - [v2,3/4] arm64: dts: qcom: sc7180: trogdor: Fix trip point config of charger thermal zone
    https://git.kernel.org/qcom/c/6748450a6bcb
  - [v2,4/4] arm64: dts: qcom: sc7180: trogdor: Use ADC TM channel 0 instead of 1 for charger temperature
    https://git.kernel.org/qcom/c/7822de1a2946

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
diff mbox series

Patch

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