arm64: dts: qcom: sc7180: Add CoachZ rev3
authorMatthias Kaehlcke <mka@chromium.org>
Mon, 22 Mar 2021 16:46:35 +0000 (09:46 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 31 May 2021 17:12:10 +0000 (12:12 -0500)
commitb502efda6480d7577f9f822fd450d6bc3a4ac2e6
tree5c07ff9a5b544e4def6a9eb48c2a81c724d53e07
parentad6fc14313387d3cddf75d7ff9ae668849006e09
arm64: dts: qcom: sc7180: Add CoachZ rev3

CoachZ rev3 uses a 100k NTC thermistor for the charger temperatures,
instead of the 47k NTC that is stuffed in earlier revisions. Add .dts
files for rev3.

The 47k NTC currently isn't supported by the PM6150 ADC driver.
Disable the charger thermal zone for rev1 and rev2 to avoid the use
of bogus temperature values.

This also gets rid of the explicit DT files for rev2 and handles
rev2 in the rev1 .dts instead. There was some back and forth
downstream involving the 'dmic_clk_en' pin, after that was sorted
out the DT for rev1 and rev2 is the same.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20210322094628.v4.3.I95b8a63103b77cab6a7cf9c150f0541db57fda98@changeid
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/Makefile
arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz-r1-lte.dts
arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz-r1.dts
arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz-r3-lte.dts [moved from arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz-r2-lte.dts with 69% similarity]
arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz-r3.dts [moved from arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz-r2.dts with 75% similarity]