diff options
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/Kconfig | 6 | ||||
-rw-r--r-- | drivers/hwmon/ina2xx.c | 10 |
2 files changed, 13 insertions, 3 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 41e311386e89..86adde90c1bb 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig | |||
@@ -1145,11 +1145,11 @@ config SENSORS_AMC6821 | |||
1145 | will be called amc6821. | 1145 | will be called amc6821. |
1146 | 1146 | ||
1147 | config SENSORS_INA2XX | 1147 | config SENSORS_INA2XX |
1148 | tristate "Texas Instruments INA219, INA226" | 1148 | tristate "Texas Instruments INA219 and compatibles" |
1149 | depends on I2C && EXPERIMENTAL | 1149 | depends on I2C && EXPERIMENTAL |
1150 | help | 1150 | help |
1151 | If you say yes here you get support for INA219 and INA226 power | 1151 | If you say yes here you get support for INA219, INA220, INA226, and |
1152 | monitor chips. | 1152 | INA230 power monitor chips. |
1153 | 1153 | ||
1154 | The INA2xx driver is configured for the default configuration of | 1154 | The INA2xx driver is configured for the default configuration of |
1155 | the part as described in the datasheet. | 1155 | the part as described in the datasheet. |
diff --git a/drivers/hwmon/ina2xx.c b/drivers/hwmon/ina2xx.c index de8f2c6c6b66..70717d4a5e89 100644 --- a/drivers/hwmon/ina2xx.c +++ b/drivers/hwmon/ina2xx.c | |||
@@ -5,10 +5,18 @@ | |||
5 | * Zero Drift Bi-Directional Current/Power Monitor with I2C Interface | 5 | * Zero Drift Bi-Directional Current/Power Monitor with I2C Interface |
6 | * Datasheet: http://www.ti.com/product/ina219 | 6 | * Datasheet: http://www.ti.com/product/ina219 |
7 | * | 7 | * |
8 | * INA220: | ||
9 | * Bi-Directional Current/Power Monitor with I2C Interface | ||
10 | * Datasheet: http://www.ti.com/product/ina220 | ||
11 | * | ||
8 | * INA226: | 12 | * INA226: |
9 | * Bi-Directional Current/Power Monitor with I2C Interface | 13 | * Bi-Directional Current/Power Monitor with I2C Interface |
10 | * Datasheet: http://www.ti.com/product/ina226 | 14 | * Datasheet: http://www.ti.com/product/ina226 |
11 | * | 15 | * |
16 | * INA230: | ||
17 | * Bi-directional Current/Power Monitor with I2C Interface | ||
18 | * Datasheet: http://www.ti.com/product/ina230 | ||
19 | * | ||
12 | * Copyright (C) 2012 Lothar Felten <l-felten@ti.com> | 20 | * Copyright (C) 2012 Lothar Felten <l-felten@ti.com> |
13 | * Thanks to Jan Volkering | 21 | * Thanks to Jan Volkering |
14 | * | 22 | * |
@@ -277,7 +285,9 @@ static int ina2xx_remove(struct i2c_client *client) | |||
277 | 285 | ||
278 | static const struct i2c_device_id ina2xx_id[] = { | 286 | static const struct i2c_device_id ina2xx_id[] = { |
279 | { "ina219", ina219 }, | 287 | { "ina219", ina219 }, |
288 | { "ina220", ina219 }, | ||
280 | { "ina226", ina226 }, | 289 | { "ina226", ina226 }, |
290 | { "ina230", ina226 }, | ||
281 | { } | 291 | { } |
282 | }; | 292 | }; |
283 | MODULE_DEVICE_TABLE(i2c, ina2xx_id); | 293 | MODULE_DEVICE_TABLE(i2c, ina2xx_id); |