summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorNicholas Troast <ntroast@codeaurora.org>2016-08-04 14:30:02 -0700
committerHarry Yang <harryy@codeaurora.org>2016-08-18 13:31:22 -0700
commit36e5d56a0e96cdab20d3f0dcff019a7fc19cb1ee (patch)
treef3db4b8b0f7e8ffac19d056a906de2580cfa5fff /Documentation
parent59e8c0d0d5555196abbda8c7d54afa841feb0b12 (diff)
qcom-charger: qpnp-fg-gen3: increase ESR timer during suspend
ESR pulses consume too much power during sleep states. Add device tree properties to allow configuration of the ESR timing during charging, discharging while awake, and discharging while asleep. Configure these new device tree properties to increase the ESR timer while in a sleep state to save power. Change-Id: I673ab1a5713023ac4ab0271fec8d9a053df1c046 Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/power/qcom-charger/qpnp-fg-gen3.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power/qcom-charger/qpnp-fg-gen3.txt b/Documentation/devicetree/bindings/power/qcom-charger/qpnp-fg-gen3.txt
index 9bf6d5b2bf8e..bd236df6c056 100644
--- a/Documentation/devicetree/bindings/power/qcom-charger/qpnp-fg-gen3.txt
+++ b/Documentation/devicetree/bindings/power/qcom-charger/qpnp-fg-gen3.txt
@@ -119,6 +119,25 @@ First Level Node - FG Gen3 device
If these parameters are not specified, then the default
values used will be 0, 5, 45, 50.
+- qcom,fg-esr-timer-charging
+ Usage: optional
+ Value type: <u32>
+ Definition: Number of cycles between ESR pulses while the battery is
+ charging.
+
+- qcom,fg-esr-timer-awake
+ Usage: optional
+ Value type: <u32>
+ Definition: Number of cycles between ESR pulses while the system is
+ awake and the battery is discharging.
+
+- qcom,fg-esr-timer-asleep
+ Usage: optional
+ Value type: <u32>
+ Definition: Number of cycles between ESR pulses while the system is
+ asleep and the battery is discharging. This option requires
+ qcom,fg-esr-timer-awake to be defined.
+
==========================================================
Second Level Nodes - Peripherals managed by FG Gen3 driver
==========================================================