aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/hwmon
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2015-08-08 20:30:35 +0200
committerWolfram Sang <wsa@the-dreams.de>2015-08-10 08:37:37 +0200
commit8113627c3f777473262192dfb2c693f0e1f78ef5 (patch)
treea2ded3668b86c894418a9bb1a234c5868f01f07c /Documentation/devicetree/bindings/hwmon
parenthwmon: max6697: move binding docs to proper place (diff)
downloadlinux-dev-8113627c3f777473262192dfb2c693f0e1f78ef5.tar.xz
linux-dev-8113627c3f777473262192dfb2c693f0e1f78ef5.zip
hwmon: ina2xx: move binding docs to proper place
The I2C dir is not for I2C client devices! Move it to the proper folder. Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Acked-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/devicetree/bindings/hwmon')
-rw-r--r--Documentation/devicetree/bindings/hwmon/ina2xx.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/hwmon/ina2xx.txt b/Documentation/devicetree/bindings/hwmon/ina2xx.txt
new file mode 100644
index 000000000000..a2ad85d7e747
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/ina2xx.txt
@@ -0,0 +1,22 @@
+ina2xx properties
+
+Required properties:
+- compatible: Must be one of the following:
+ - "ti,ina219" for ina219
+ - "ti,ina220" for ina220
+ - "ti,ina226" for ina226
+ - "ti,ina230" for ina230
+- reg: I2C address
+
+Optional properties:
+
+- shunt-resistor
+ Shunt resistor value in micro-Ohm
+
+Example:
+
+ina220@44 {
+ compatible = "ti,ina220";
+ reg = <0x44>;
+ shunt-resistor = <1000>;
+};