diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2017-07-16 11:33:06 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2017-07-25 12:03:23 +0200 |
commit | 63e67c5769c23e0af729ecc2d28e4326f3a67a08 (patch) | |
tree | a596034cdaf72b895e497cba37616639545b2839 /tools/vm | |
parent | power: supply: sbs-battery: Add delay when changing capacity mode bit (diff) | |
download | linux-63e67c5769c23e0af729ecc2d28e4326f3a67a08.tar.xz linux-63e67c5769c23e0af729ecc2d28e4326f3a67a08.zip |
power: supply: ltc2941-battery-gauge: Prepare for LTC2942 and LTC2944
In order to support LTC2942 which has temperature registers
at different offsets than LTC2943 use following register naming
scheme (prefixes):
- LTC294X_ common registers
- LTC2942_ chips specific registers
- LTC2943_ specific registers
LTC2944 is compatible with LTC2943 but uses different constants
to compute voltage and current, so replace num_regs misused
for device indentification with real device id to discriminate
between those two.
There are no functional changes.
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Acked-by: Dragos Bogdan <dragos.bogdan@analog.com>
Tested-by: Dragos Bogdan <dragos.bogdan@analog.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'tools/vm')
0 files changed, 0 insertions, 0 deletions