power: supply: bq27xxx: add support for TI bq34z100
authorKrzysztof Kozlowski <krzk@kernel.org>
Sat, 19 Sep 2020 14:04:18 +0000 (16:04 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Thu, 1 Oct 2020 22:01:42 +0000 (00:01 +0200)
commit41a7431dbaa37533c3b732cdea425a7b8f2d4162
treeb1a89898ecbb63ba2455f449846f31991083adf3
parent7be64ae0bf369e035597691c1766d67e56f26ea1
power: supply: bq27xxx: add support for TI bq34z100

Add support for new device: the TI bq34z100-G1, a Wide Range Fuel Gauge
for Li-Ion, PbA, NiMH, and NiCd batteries.  The device shares a lot with
other models, although it has its own differences requiring new quirks.

This patch was tested on a system equipped with NiMH batteries.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
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