]> git.karo-electronics.de Git - linux-beck.git/commit
power: supply: bq27xxx_battery: Fix register map for BQ27510 and BQ27520
authorAndrew F. Davis <afd@ti.com>
Fri, 4 Nov 2016 18:33:13 +0000 (13:33 -0500)
committerSebastian Reichel <sre@kernel.org>
Wed, 23 Nov 2016 22:37:27 +0000 (23:37 +0100)
commit3bee9ea1de687925d116670f036599cbed8b66b0
tree17f6587aa6bd6022fa8fa3dc233838a79b24d618
parent075eb5719d53e8bb4a406ad87e1de99319aa50f0
power: supply: bq27xxx_battery: Fix register map for BQ27510 and BQ27520

The BQ27510 and BQ27520 use a slightly different register map than the
BQ27500, add a new type enum and add these gauges to it.

Fixes: d74534c27775 ("power: bq27xxx_battery: Add support for additional bq27xxx family devices")
Based-on-patch-by: Kenneth R. Crudup <kenny@panix.com>
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/supply/bq27xxx_battery.c
drivers/power/supply/bq27xxx_battery_i2c.c
include/linux/power/bq27xxx_battery.h