Message ID | 20210219181032.2.I6a426324db3d98d6cfae8adf2598831bb30bba74@changeid (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | [1/3] arm64: dts: qcom: sc7180: Add lazor rev4 | expand |
Hi, On Fri, Feb 19, 2021 at 6:11 PM Matthias Kaehlcke <mka@chromium.org> wrote: > > Some revisions of trogdor boards use a thermistor for the charger > temperature which currently isn't supported by the PM6150 ADC > driver. Add labels for the charger thermal zone and ADC channel > to allow the removal of these nodes from affected boards and > avoid the use of bogus temperature values. > > Signed-off-by: Matthias Kaehlcke <mka@chromium.org> > --- > > arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Reviewed-by: Douglas Anderson <dianders@chromium.org>
diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi index 07c8b2c926c0..fa996387715b 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>; @@ -706,7 +706,7 @@ &mdss { }; &pm6150_adc { - charger-thermistor@4f { + pm6150_adc_charger_thm: charger-thermistor@4f { reg = <ADC5_AMUX_THM3_100K_PU>; qcom,ratiometric; qcom,hw-settle-time = <200>; @@ -716,7 +716,7 @@ charger-thermistor@4f { &pm6150_adc_tm { status = "okay"; - charger-thermistor@1 { + pm6150_adc_tm_charger_thm: charger-thermistor@1 { reg = <1>; io-channels = <&pm6150_adc ADC5_AMUX_THM3_100K_PU>; qcom,ratiometric;
Some revisions of trogdor boards use a thermistor for the charger temperature which currently isn't supported by the PM6150 ADC driver. Add labels for the charger thermal zone and ADC channel to allow the removal of these nodes from affected boards and avoid the use of bogus temperature values. Signed-off-by: Matthias Kaehlcke <mka@chromium.org> --- arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)