hwmon: INA219 and INA226 support
authorFelten, Lothar <l-felten@ti.com>
Sat, 12 May 2012 08:36:38 +0000 (04:36 -0400)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Tue, 22 May 2012 13:48:02 +0000 (06:48 -0700)
commitf7c2fe386ae92b471a0edd4fa4bed7033224b9bf
tree8cb48fef02388eb5e64314aeb10143e5c20833cc
parent9172b5d124c2f54374d8cc5ed6098ecd8fb988cd
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>
Documentation/hwmon/ina2xx [new file with mode: 0644]
drivers/hwmon/Kconfig
drivers/hwmon/Makefile
drivers/hwmon/ina2xx.c [new file with mode: 0644]
include/linux/platform_data/ina2xx.h [new file with mode: 0644]