power: supply: bq27xxx: adds specific support for bq27520-g2 revision.
authorChris Lapa <chris@lapa.com.au>
Wed, 11 Jan 2017 01:44:45 +0000 (12:44 +1100)
committerSebastian Reichel <sre@kernel.org>
Thu, 12 Jan 2017 01:30:13 +0000 (02:30 +0100)
commita5deb9a93040a4a221ef8a67c88ecd72cd1f3625
tree2540a324ec9f0e22f758ba790d704e3ebc18c3bb
parent68f2a813eb25bd0ef72453aeef9b1ce156157d14
power: supply: bq27xxx: adds specific support for bq27520-g2 revision.

This commit adds the BQ27520G2 chip definition to specifically match the
bq27520-G2 functionality as described in the datasheet.

Signed-off-by: Chris Lapa <chris@lapa.com.au>
Acked-by: Pali Rohár <pali.rohar@gmail.com>
Reviewed-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