From 027e7227e270662b770c2e49ff1178cc4f94c5cb Mon Sep 17 00:00:00 2001 From: Subbaraman Narayanamurthy Date: Tue, 15 Nov 2016 19:39:08 -0800 Subject: qpnp-smb2: add support to configure auto recharge Currently, smb2 charger uses VBT_LT_CHG_RECHARGE_THRESH signal from FG to enable auto recharge by default. Add support to configure smb2 charger to use SOC_LT_CHG_RECHARGE_THRESH signal from FG if needed. This will enable charging to resume again when battery SOC drops below the automatic recharge SOC threshold (configured in FG) while charger is inserted and SOC goes down after the charge termination had happened. Change-Id: Ic68cd12cc861d04e107b70e2b96200483f13da26 Signed-off-by: Subbaraman Narayanamurthy --- .../devicetree/bindings/power/qcom-charger/qpnp-smb2.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Documentation') diff --git a/Documentation/devicetree/bindings/power/qcom-charger/qpnp-smb2.txt b/Documentation/devicetree/bindings/power/qcom-charger/qpnp-smb2.txt index 7090426c68f8..bff6e1190d75 100644 --- a/Documentation/devicetree/bindings/power/qcom-charger/qpnp-smb2.txt +++ b/Documentation/devicetree/bindings/power/qcom-charger/qpnp-smb2.txt @@ -138,6 +138,14 @@ Charger specific properties: then charge inhibit will be disabled by default. Allowed values are: 50, 100, 200, 300. +- qcom,auto-recharge-soc + Usage: optional + Value type: + Definition: Specifies if automatic recharge needs to be based off battery + SOC. If this property is not specified, then auto recharge will + be based off battery voltage. For both SOC and battery voltage, + charger receives the signal from FG to resume charging. + ============================================= Second Level Nodes - SMB2 Charger Peripherals ============================================= -- cgit v1.2.3