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

This commit adds the BQ27520G4 chip definition to specifically match the
bq27520-G4 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