diff options
| author | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2016-03-14 16:41:16 -0700 |
|---|---|---|
| committer | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2016-07-26 12:08:49 -0700 |
| commit | b08d3a68913630ed8018a26fd677cb635af0d02c (patch) | |
| tree | 9a1b4d631f08cfc9ba05e4f72b8723154ba3fedf /kernel/locking/mutex-debug.c | |
| parent | 3f4a2a724ebf6edfbc8c9a1f248c1b9fd0a006f2 (diff) | |
power: qcom-charger: add driver for GEN3 fuel gauge
GEN3 FG (fuel gauge) is a new hardware peripheral which cannot
be supported along with existing GEN1/GEN2 FG supported under
qpnp-fg.c. Some of the differences are listed below.
- No conventional memory access for accessing SRAM
- No OTP region for battery profile
- FTRIM registers will be loaded to SRAM
- SRAM partitioning and address format got changed completely
- Battery id detection done by RR_ADC
- Encoding/Decoding changes for battery parameters
Hence add a new driver to support this GEN3 FG. This driver
reads the battery parameters like voltage, current, temperature,
resistance etc. acquired by the FG hardware and expose to the
userspace through a power supply class device.
Change-Id: Ibcd6e49c7dc7c3520527bcf9553296e846fb7458
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'kernel/locking/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions
