summaryrefslogtreecommitdiff
path: root/drivers/hwmon/Kconfig
diff options
context:
space:
mode:
authorFelten, Lothar <l-felten@ti.com>2012-05-12 04:36:38 -0400
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-05-22 06:48:02 -0700
commitf7c2fe386ae92b471a0edd4fa4bed7033224b9bf (patch)
tree8cb48fef02388eb5e64314aeb10143e5c20833cc /drivers/hwmon/Kconfig
parent9172b5d124c2f54374d8cc5ed6098ecd8fb988cd (diff)
downloadlwn-f7c2fe386ae92b471a0edd4fa4bed7033224b9bf.tar.gz
lwn-f7c2fe386ae92b471a0edd4fa4bed7033224b9bf.zip
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/Kconfig13
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
This driver can also be build as a module. If so, the module
will be called amc6821.
+config SENSORS_INA2XX
+ tristate "Texas Instruments INA219, INA226"
+ depends on I2C && EXPERIMENTAL
+ help
+ If you say yes here you get support for INA219 and INA226 power
+ monitor chips.
+
+ The INA2xx driver is configured for the default configuration of
+ the part as described in the datasheet.
+ Default value for Rshunt is 10 mOhms.
+ This driver can also be built as a module. If so, the module
+ will be called ina2xx.
+
config SENSORS_THMC50
tristate "Texas Instruments THMC50 / Analog Devices ADM1022"
depends on I2C