summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply
diff options
context:
space:
mode:
authorYauhen Kharuzhy <jekhor@gmail.com>2020-01-01 23:46:26 +0100
committerSebastian Reichel <sebastian.reichel@collabora.com>2020-01-14 23:37:20 +0100
commit46aa27e742082ca4b1a30886876c24d26c2fac49 (patch)
tree433a39a135680a600c7b914ec537c100157a24d1 /drivers/power/supply
parentdt-bindings: Add new chips to bq25890 binding documentation (diff)
downloadlinux-46aa27e742082ca4b1a30886876c24d26c2fac49.tar.xz
linux-46aa27e742082ca4b1a30886876c24d26c2fac49.zip
power: supply: bq25890_charger: Add DT and I2C ids for all supported chips
Add bq25892, bq25895 and bq25896 to list of supported device IDs for DeviceTree and I2C. Signed-off-by: Yauhen Kharuzhy <jekhor@gmail.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply')
-rw-r--r--drivers/power/supply/bq25890_charger.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/power/supply/bq25890_charger.c b/drivers/power/supply/bq25890_charger.c
index a92c86ff211f..785dbc6307b0 100644
--- a/drivers/power/supply/bq25890_charger.c
+++ b/drivers/power/supply/bq25890_charger.c
@@ -1041,12 +1041,18 @@ static const struct dev_pm_ops bq25890_pm = {
static const struct i2c_device_id bq25890_i2c_ids[] = {
{ "bq25890", 0 },
+ { "bq25892", 0 },
+ { "bq25895", 0 },
+ { "bq25896", 0 },
{},
};
MODULE_DEVICE_TABLE(i2c, bq25890_i2c_ids);
static const struct of_device_id bq25890_of_match[] = {
{ .compatible = "ti,bq25890", },
+ { .compatible = "ti,bq25892", },
+ { .compatible = "ti,bq25895", },
+ { .compatible = "ti,bq25896", },
{ },
};
MODULE_DEVICE_TABLE(of, bq25890_of_match);