b8d1e3d334
The charger thermistor on Lazor, CoachZ rev1 and Pompom rev1+2 is either the wrong part or not stuffed at all, the same is true for the skin temperature thermistor on CoachZ rev1. The corresponding thermal zones are already disabled for these devices, in addition delete the ADC nodes of the thermistors. For Lazor and CoachZ rev1 also disable the PM6150 ADC and thermal monitor since none of the ADC channels is used. Signed-off-by: Matthias Kaehlcke <mka@chromium.org> Reviewed-by: Stephen Boyd <swboyd@chromium.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20210903122212.v2.1.I9777d0036ecbb749a4fb9ebb892f94c6e3a51772@changeid
33 lines
638 B
Plaintext
33 lines
638 B
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Google Pompom board device tree source
|
|
*
|
|
* Copyright 2020 Google LLC.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "sc7180-trogdor-pompom.dtsi"
|
|
|
|
/ {
|
|
model = "Google Pompom (rev2)";
|
|
compatible = "google,pompom-rev2", "qcom,sc7180";
|
|
};
|
|
|
|
/*
|
|
* Pompom rev2 is stuffed with a 47k NTC as charger thermistor which currently
|
|
* is not supported by the PM6150 ADC driver. Disable the charger thermal zone
|
|
* to avoid using bogus temperature values.
|
|
*/
|
|
&charger_thermal {
|
|
status = "disabled";
|
|
};
|
|
|
|
&pm6150_adc {
|
|
/delete-node/ charger-thermistor@4f;
|
|
};
|
|
|
|
&pm6150_adc_tm {
|
|
/delete-node/ charger-thermistor@0;
|
|
};
|