power: supply: bq27xxx_battery: Add the BQ27Z561 Battery monitor
authorDan Murphy <dmurphy@ti.com>
Wed, 29 Jul 2020 18:31:43 +0000 (13:31 -0500)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 29 Jul 2020 20:33:10 +0000 (22:33 +0200)
commit6f24ff97e3231a5303841c5196a6f460f8485eb4
treeaf68462cea43a98e7f7cb21f27f7772e74ca20ce
parent36d1b6997dd6a4f3be194dde6553c3dcc2f7f07a
power: supply: bq27xxx_battery: Add the BQ27Z561 Battery monitor

Add the Texas Instruments BQ27Z561 battery monitor.  The register address
map is laid out the same as compared to other devices within the file.
The battery status register has differing bits to determine if the
battery is full, discharging or dead.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/bq27xxx_battery.c
drivers/power/supply/bq27xxx_battery_i2c.c
include/linux/power/bq27xxx_battery.h