diff options
author | Chris Lapa <chris@lapa.com.au> | 2017-01-11 04:44:46 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2017-01-12 04:30:13 +0300 |
commit | 825e915ba2e811b91a034ac6290cd172387c5447 (patch) | |
tree | 9fd9fba4fdabbeebffa63eb877f32c0d859b32a4 /drivers/power/supply/bq27xxx_battery_i2c.c | |
parent | a5deb9a93040a4a221ef8a67c88ecd72cd1f3625 (diff) | |
download | linux-825e915ba2e811b91a034ac6290cd172387c5447.tar.xz |
power: supply: bq27xxx: adds specific support for bq27520-g3 revision.
This commit adds the BQ27520G3 chip definition to specifically match the
bq27520-G3 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 b2898994ab85..3712cd902023 100644 --- a/drivers/power/supply/bq27xxx_battery_i2c.c +++ b/drivers/power/supply/bq27xxx_battery_i2c.c @@ -157,6 +157,7 @@ static const struct i2c_device_id bq27xxx_i2c_id_table[] = { { "bq27510g3", BQ27510G3 }, { "bq27520g1", BQ27520G1 }, { "bq27520g2", BQ27520G2 }, + { "bq27520g3", BQ27520G3 }, { "bq27530", BQ27530 }, { "bq27531", BQ27530 }, { "bq27541", BQ27541 }, @@ -185,6 +186,7 @@ static const struct of_device_id bq27xxx_battery_i2c_of_match_table[] = { { .compatible = "ti,bq27510g3" }, { .compatible = "ti,bq27520g1" }, { .compatible = "ti,bq27520g2" }, + { .compatible = "ti,bq27520g3" }, { .compatible = "ti,bq27530" }, { .compatible = "ti,bq27531" }, { .compatible = "ti,bq27541" }, |