diff options
author | Pavel Machek <pavel@ucw.cz> | 2017-11-10 13:39:37 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2017-12-08 20:02:15 +0300 |
commit | 70a39e1075019eef753649ac01ed594ac9016be6 (patch) | |
tree | d66282d45a53ef788033332bdcce33e5054e52f7 /include/linux/power | |
parent | d16002755dc8169d080d23f6df04ba165df66586 (diff) | |
download | linux-70a39e1075019eef753649ac01ed594ac9016be6.tar.xz |
Add support for bq27521 battery monitor
This adds basic support for BQ27521 battery monitor, used in Nokia N9
and N950. In particular, battery voltage is important to be able to
tell when the battery is almost empty. Emptying battery on N950 is
pretty painful, as flasher needs to be used to recover phone in such case.
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Acked-by: Andrew F. Davis <afd@ti.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'include/linux/power')
-rw-r--r-- | include/linux/power/bq27xxx_battery.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/power/bq27xxx_battery.h b/include/linux/power/bq27xxx_battery.h index e6187f524f2c..01fbf1b16258 100644 --- a/include/linux/power/bq27xxx_battery.h +++ b/include/linux/power/bq27xxx_battery.h @@ -16,6 +16,7 @@ enum bq27xxx_chip { BQ27520G2, /* bq27520G2 */ BQ27520G3, /* bq27520G3 */ BQ27520G4, /* bq27520G4 */ + BQ27521, /* bq27521 */ BQ27530, /* bq27530, bq27531 */ BQ27531, BQ27541, /* bq27541, bq27542, bq27546, bq27742 */ |