diff options
Diffstat (limited to 'Documentation/devicetree/bindings/i2c/ina2xx.txt')
-rw-r--r-- | Documentation/devicetree/bindings/i2c/ina2xx.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/i2c/ina2xx.txt b/Documentation/devicetree/bindings/i2c/ina2xx.txt new file mode 100644 index 000000000000..a2ad85d7e747 --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/ina2xx.txt | |||
@@ -0,0 +1,22 @@ | |||
1 | ina2xx properties | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: Must be one of the following: | ||
5 | - "ti,ina219" for ina219 | ||
6 | - "ti,ina220" for ina220 | ||
7 | - "ti,ina226" for ina226 | ||
8 | - "ti,ina230" for ina230 | ||
9 | - reg: I2C address | ||
10 | |||
11 | Optional properties: | ||
12 | |||
13 | - shunt-resistor | ||
14 | Shunt resistor value in micro-Ohm | ||
15 | |||
16 | Example: | ||
17 | |||
18 | ina220@44 { | ||
19 | compatible = "ti,ina220"; | ||
20 | reg = <0x44>; | ||
21 | shunt-resistor = <1000>; | ||
22 | }; | ||