diff options
| author | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2016-11-28 16:05:09 -0800 |
|---|---|---|
| committer | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2016-12-12 12:16:31 -0800 |
| commit | 37a8348b873cba82c8c84f1bcacbc9f9fcaedb05 (patch) | |
| tree | 373f3bcca74eaf1ed6d7556902ce98df98c1adbe /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | a80e267a8c0d61790c3d1d5f7181ebd1be39c438 (diff) | |
qpnp-fg-gen3: Read debug battery id thresholds from RR_ADC registers
Currently, GEN3 FG driver uses a debug battery id threshold of
7 KOhms. However, depending on the battery id chosen by the user
this threshold can be modified in the bootloader. Hence, add
support to read the debug battery id thresholds directly from
RR_ADC peripheral registers. This can be used to decide whether
a fake battery SOC (67) can be displayed to the user.
Change-Id: I22ab702e10c310e4f847c6c81a48a8f0f3188429
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
