]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: qcom: sc7180: trogdor: Use ADC TM channel 0 instead of 1 for charger...
authorMatthias Kaehlcke <mka@chromium.org>
Thu, 25 Feb 2021 18:33:37 +0000 (10:33 -0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 12 Mar 2021 02:22:38 +0000 (20:22 -0600)
commit2d616429bb68864b9459decadafd258830d2b519
tree6295f744155f64e852256af78b674fbaf7f01ddd
parentd7ccd6167921f807c0a0503b8ae6b29b48084e0e
arm64: dts: qcom: sc7180: trogdor: Use ADC TM channel 0 instead of 1 for charger temperature

On trogdor the ADC thermal monitor is used for monitoring certain
device temperatures. All trogdor boards have at least a thermistor
for the charger temperature, optionally they may have others.

Currently the ADC thermal monitor is configured to use channel 1
for the charger temperature. Given that all trogdor boards have
the charger thermistor it makes more sense to use channel 0,
and then let boards with other thermistors use channels 1, 2, 3,
rather than 0, 2, 3.

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