diff options
author | Felten, Lothar <l-felten@ti.com> | 2012-05-12 04:36:38 -0400 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2012-05-22 09:48:02 -0400 |
commit | f7c2fe386ae92b471a0edd4fa4bed7033224b9bf (patch) | |
tree | 8cb48fef02388eb5e64314aeb10143e5c20833cc /drivers/hwmon/Kconfig | |
parent | 9172b5d124c2f54374d8cc5ed6098ecd8fb988cd (diff) |
hwmon: INA219 and INA226 support
Add support for the Texas Instruments INA219 and INA226 power monitors.
Signed-off-by: Lothar Felten <l-felten@ti.com>
[guenter.roeck@ericsson.com: formatting cleanup; check for smbus word data;
select PGA=8 for INA219]
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r-- | drivers/hwmon/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 8deedc1b9840..1c7bbd458902 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig | |||
@@ -1102,6 +1102,19 @@ config SENSORS_AMC6821 | |||
1102 | This driver can also be build as a module. If so, the module | 1102 | This driver can also be build as a module. If so, the module |
1103 | will be called amc6821. | 1103 | will be called amc6821. |
1104 | 1104 | ||
1105 | config SENSORS_INA2XX | ||
1106 | tristate "Texas Instruments INA219, INA226" | ||
1107 | depends on I2C && EXPERIMENTAL | ||
1108 | help | ||
1109 | If you say yes here you get support for INA219 and INA226 power | ||
1110 | monitor chips. | ||
1111 | |||
1112 | The INA2xx driver is configured for the default configuration of | ||
1113 | the part as described in the datasheet. | ||
1114 | Default value for Rshunt is 10 mOhms. | ||
1115 | This driver can also be built as a module. If so, the module | ||
1116 | will be called ina2xx. | ||
1117 | |||
1105 | config SENSORS_THMC50 | 1118 | config SENSORS_THMC50 |
1106 | tristate "Texas Instruments THMC50 / Analog Devices ADM1022" | 1119 | tristate "Texas Instruments THMC50 / Analog Devices ADM1022" |
1107 | depends on I2C | 1120 | depends on I2C |