diff options
author | Chris Lapa <chris@lapa.com.au> | 2017-01-11 04:44:45 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2017-01-12 04:30:13 +0300 |
commit | a5deb9a93040a4a221ef8a67c88ecd72cd1f3625 (patch) | |
tree | 2540a324ec9f0e22f758ba790d704e3ebc18c3bb /drivers/power/supply/bq27xxx_battery_i2c.c | |
parent | 68f2a813eb25bd0ef72453aeef9b1ce156157d14 (diff) | |
download | linux-a5deb9a93040a4a221ef8a67c88ecd72cd1f3625.tar.xz |
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>
Diffstat (limited to 'drivers/power/supply/bq27xxx_battery_i2c.c')
-rw-r--r-- | drivers/power/supply/bq27xxx_battery_i2c.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/power/supply/bq27xxx_battery_i2c.c b/drivers/power/supply/bq27xxx_battery_i2c.c index e398edebbe4d..b2898994ab85 100644 --- a/drivers/power/supply/bq27xxx_battery_i2c.c +++ b/drivers/power/supply/bq27xxx_battery_i2c.c @@ -156,6 +156,7 @@ static const struct i2c_device_id bq27xxx_i2c_id_table[] = { { "bq27510g2", BQ27510G2 }, { "bq27510g3", BQ27510G3 }, { "bq27520g1", BQ27520G1 }, + { "bq27520g2", BQ27520G2 }, { "bq27530", BQ27530 }, { "bq27531", BQ27530 }, { "bq27541", BQ27541 }, @@ -183,6 +184,7 @@ static const struct of_device_id bq27xxx_battery_i2c_of_match_table[] = { { .compatible = "ti,bq27510g2" }, { .compatible = "ti,bq27510g3" }, { .compatible = "ti,bq27520g1" }, + { .compatible = "ti,bq27520g2" }, { .compatible = "ti,bq27530" }, { .compatible = "ti,bq27531" }, { .compatible = "ti,bq27541" }, |