arm/dt: msm8226/msm8974: disable charging on MTPs
The MTP uses debug boards that emulate
battery presence. The SMBB peripheral
then continues to try to charge the
debug board which results in undesirable
behaviour.
Disable charging on 8x26/8974 MTPs until this
issue has been addressed.
Change-Id: I9da5cad8604fffb24bc217cea7cf39eeb4cf33dc
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
diff --git a/arch/arm/boot/dts/msm8226-mtp.dts b/arch/arm/boot/dts/msm8226-mtp.dts
index 3c1e288..715b76c 100644
--- a/arch/arm/boot/dts/msm8226-mtp.dts
+++ b/arch/arm/boot/dts/msm8226-mtp.dts
@@ -303,3 +303,7 @@
&pm8226_bms {
status = "ok";
};
+
+&pm8226_chg {
+ qcom,charging-disabled;
+};