summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/ina2xx.h
Commit message (Collapse)AuthorAgeFilesLines
* hwmon: (ina2xx) fix sysfs shunt resistor read accessLothar Felten2018-10-031-1/+1
| | | | | | | | | | | | | | [ Upstream commit 3ad867001c91657c46dcf6656d52eb6080286fd5 ] fix the sysfs shunt resistor read access: return the shunt resistor value, not the calibration register contents. update email address Signed-off-by: Lothar Felten <lothar.felten@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* hwmon: INA219 and INA226 supportFelten, Lothar2012-05-221-0/+19
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>