aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon
diff options
context:
space:
mode:
authorTang Yuantian <yuantian.tang@freescale.com>2013-06-19 02:50:20 -0400
committerGuenter Roeck <linux@roeck-us.net>2013-06-27 13:31:42 -0400
commit31e7ad74f6044ffec112fd4975c07b797589d89c (patch)
tree220cacb4384d156c3fc723ce043974aecc36e442 /Documentation/hwmon
parent87438c2c5483a7ab445c14a8855fd309ae79b4e6 (diff)
hwmon: (ina2xx) Add device tree support to pass the shunt resistor
Adding another way that is device tree to pass the shunt resistor value to driver except for platform data. Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com> [Guenter Roeck: Added missing of.h include] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon')
-rw-r--r--Documentation/hwmon/ina2xx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/hwmon/ina2xx b/Documentation/hwmon/ina2xx
index 03444f9d833f..4223c2d3b508 100644
--- a/Documentation/hwmon/ina2xx
+++ b/Documentation/hwmon/ina2xx
@@ -44,4 +44,6 @@ The INA226 monitors both a shunt voltage drop and bus supply voltage.
44The INA230 is a high or low side current shunt and power monitor with an I2C 44The INA230 is a high or low side current shunt and power monitor with an I2C
45interface. The INA230 monitors both a shunt voltage drop and bus supply voltage. 45interface. The INA230 monitors both a shunt voltage drop and bus supply voltage.
46 46
47The shunt value in micro-ohms can be set via platform data. 47The shunt value in micro-ohms can be set via platform data or device tree.
48Please refer to the Documentation/devicetree/bindings/i2c/ina2xx.txt for bindings
49if the device tree is used.