aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon
diff options
context:
space:
mode:
authorKevin Hilman <khilman@linaro.org>2015-01-14 17:34:58 -0800
committerGuenter Roeck <linux@roeck-us.net>2015-01-25 21:23:59 -0800
commitadd513be1c47b3b2765c3f618a69c9db26d8dc27 (patch)
tree60b7025ed1f4cc6f838ccdb963f6664b2d25107e /Documentation/hwmon
parenthwmon: (ina2xx) use DIV_ROUND_CLOSEST() to avoid rounding errors (diff)
downloadlinux-dev-add513be1c47b3b2765c3f618a69c9db26d8dc27.tar.xz
linux-dev-add513be1c47b3b2765c3f618a69c9db26d8dc27.zip
hwmon: (ina2xx) Add ina231 compatible string
Add support for "ina231" as compatible string, and update Documentation and Kconfig accordingly. Tested with the Exynos5422-based odroid-xu3 board which has on-board INA231 sensors. Signed-off-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon')
-rw-r--r--Documentation/hwmon/ina2xx11
1 files changed, 9 insertions, 2 deletions
diff --git a/Documentation/hwmon/ina2xx b/Documentation/hwmon/ina2xx
index 450e3ccd983d..cfd31d94c872 100644
--- a/Documentation/hwmon/ina2xx
+++ b/Documentation/hwmon/ina2xx
@@ -26,6 +26,12 @@ Supported chips:
Datasheet: Publicly available at the Texas Instruments website
http://www.ti.com/
+ * Texas Instruments INA231
+ Prefix: 'ina231'
+ Addresses: I2C 0x40 - 0x4f
+ Datasheet: Publicly available at the Texas Instruments website
+ http://www.ti.com/
+
Author: Lothar Felten <l-felten@ti.com>
Description
@@ -41,8 +47,9 @@ interface. The INA220 monitors both shunt drop and supply voltage.
The INA226 is a current shunt and power monitor with an I2C interface.
The INA226 monitors both a shunt voltage drop and bus supply voltage.
-The INA230 is a high or low side current shunt and power monitor with an I2C
-interface. The INA230 monitors both a shunt voltage drop and bus supply voltage.
+INA230 and INA231 are high or low side current shunt and power monitors
+with an I2C interface. The chips monitor both a shunt voltage drop and
+bus supply voltage.
The shunt value in micro-ohms can be set via platform data or device tree at
compile-time or via the shunt_resistor attribute in sysfs at run-time. Please