diff options
| author | Nicholas Troast <ntroast@codeaurora.org> | 2017-07-06 14:53:46 -0700 |
|---|---|---|
| committer | Nicholas Troast <ntroast@codeaurora.org> | 2017-08-04 11:16:53 -0700 |
| commit | e55198f9ef9edd829cf879c7828f5f743a23ee89 (patch) | |
| tree | b0fef7e11555a3135ae589eebbb79f80ed56a670 /kernel/locking/mutex-debug.c | |
| parent | 175907d3d24005e8557dbff1808649cabbf9414a (diff) | |
power: qpnp-fg-gen3: prepare for QNOVO TTF
Micro resolution and 64-bit division is unnecessary; use milli
resolution instead. Measuring the IBATT and VBATT periodically during
sleep is necessary for accuracy. Don't clear the IBATT and VBATT buffers
on suspend to account for the higher charge current during suspend.
Prime the IBATT and VBATT buffers with 10 samples to get a more accurate
first estimate. Introduce a ttf mode to separate the differences in the
QNOVO version of TTF.
Change-Id: Ibc591dd5d38d4bbb712d8906755040d59181f008
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Diffstat (limited to 'kernel/locking/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions
