diff options
author | Anirudh Ghayal <aghayal@qti.qualcomm.com> | 2019-07-21 10:10:15 +0530 |
---|---|---|
committer | Anirudh Ghayal <aghayal@qti.qualcomm.com> | 2019-07-21 10:10:15 +0530 |
commit | 148749807684ae170c7de737f6d3d70c9654d57a (patch) | |
tree | 07fc690e57ebf4598103ff430c4b952105cace97 /bindings/power | |
parent | e725f28d5c14e0193895ddd236e9c2c086ef30c4 (diff) | |
download | devicetree-148749807684ae170c7de737f6d3d70c9654d57a.tar.gz |
dt-bindings: qpnp-qg: Add properties to specify S2 config in sleep
Allow configuring the FIFO length, accumulator length and
accumulator interval when system goes to sleep during
discharge.
Change-Id: I8018f8033d05273320fd92cc7d21fcdce0885df6
Diffstat (limited to 'bindings/power')
-rw-r--r-- | bindings/power/supply/qcom/qpnp-qg.txt | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/bindings/power/supply/qcom/qpnp-qg.txt b/bindings/power/supply/qcom/qpnp-qg.txt index a22bf8c7..ceb9888e 100644 --- a/bindings/power/supply/qcom/qpnp-qg.txt +++ b/bindings/power/supply/qcom/qpnp-qg.txt @@ -357,6 +357,38 @@ First Level Node - QGAUGE device the available power. If this property is not specified, then the default value used is 2800 mV. +- qcom,qg-sleep-config + Usage: optional + Value type: bool + Definition: Enables sleep-state configurtion for QG. This + allows configuring the FIFO length, accumulator + interval and the accumulator length when system + enters sleep. + +- qcom,sleep-s2-fifo-length + Usage: optional + Value type: <u32> + Definition: The FIFO length to be applied when system enters sleep + while discharging. Takes effect only if + 'qcom,qg-sleep-config' is enabled. the default value + if not specified is 8. + +- qcom,sleep-s2-acc-length + Usage: optional + Value type: <u32> + Definition: The accululator length to be applied when system + enters sleep while discharging. Takes effect only if + 'qcom,qg-sleep-config' is enabled. the default value + if not specified is 256. + +- qcom,sleep-s2-acc-intvl-ms + Usage: optional + Value type: <u32> + Definition: The accululator count to be applied when system + enters sleep while discharging. Takes effect only if + 'qcom,qg-sleep-config' is enabled. the default value + if not specified is 200ms. + ========================================================== Second Level Nodes - Peripherals managed by QGAUGE driver ========================================================== |