Skip to content
Commit 9dbf5a28 authored by Eric Bénard's avatar Eric Bénard Committed by Sebastian Reichel
Browse files

bq27x00_battery: fix register offset for bq27425



- SOC is at 0x1C so we must add 0x4 as stated in the comment to read the
  right value.
- DCAP is at 0x3c so we also must use a value with the right offset to get
  the correct design capacity.

Actually testing on a bq27410 which has the same register map as bq27425
(but adds new registers).

Signed-off-by: default avatarEric Bénard <eric@eukrea.com>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent 19fb8b2d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment