From 85635da429d67f9fdf1e19006c0f3b6f5b4bdacf Mon Sep 17 00:00:00 2001 From: Abhijeet Dharmapurikar Date: Tue, 16 Aug 2016 16:32:38 -0700 Subject: qcom-charger: smb138x: fix buck damage on v1.1 hardware Buck damage was observed because the OOB comparator activated when HSFET was on, causing a direct short from VBUS to ground. Fix this on V1.1 by increasing the OOB comparator threshold. On 2.0 this is fixed by ensuring the OOB comparator activates only after HSFET minimum on time. This in turn guarantees that HSFET and LSFET won't be on at the same time. Since the driver needs to detect the version of the smb, make use of the qpnp-revid module. CRs-Fixed: 1055113 Change-Id: I0a7946db2f1bdacf1974fb508da46f2ed4dadadc Signed-off-by: Abhijeet Dharmapurikar --- .../devicetree/bindings/power/qcom-charger/smb138x-charger.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Documentation') diff --git a/Documentation/devicetree/bindings/power/qcom-charger/smb138x-charger.txt b/Documentation/devicetree/bindings/power/qcom-charger/smb138x-charger.txt index d41ffcaa4cae..0549c439460c 100644 --- a/Documentation/devicetree/bindings/power/qcom-charger/smb138x-charger.txt +++ b/Documentation/devicetree/bindings/power/qcom-charger/smb138x-charger.txt @@ -24,6 +24,13 @@ Charger specific properties: Standalone/Parallel Master - "qcom,smb138x-charger" Parallel Slave - "qcom,smb138x-parallel-slave" +- qcom,pmic-revid + Usage: required + Value type: phandle + Definition: Should specify the phandle of SMB's + revid module. This is used to identify + the SMB subtype. + - qcom,suspend-input Usage: optional Value type: -- cgit v1.2.3