Merge tag 'for-linus' of git://github.com/openrisc/linux
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / iio / adc / max9611.txt
1 * Maxim max9611/max9612 current sense amplifier with 12-bits ADC interface
2
3 Maxim max9611/max9612 is an high-side current sense amplifier with integrated
4 12-bits ADC communicating over I2c bus.
5 The device node for this driver shall be a child of a I2c controller.
6
7 Required properties
8   - compatible: Should be "maxim,max9611" or "maxim,max9612"
9   - reg: The 7-bits long I2c address of the device
10   - shunt-resistor-micro-ohms: Value, in micro Ohms, of the current sense shunt
11                                 resistor
12
13 Example:
14
15 &i2c4 {
16         csa: adc@7c {
17                 compatible = "maxim,max9611";
18                 reg = <0x7c>;
19
20                 shunt-resistor-micro-ohms = <5000>;
21         };
22 };
23
24 This device node describes a current sense amplifier sitting on I2c4 bus
25 with address 0x7c (read address is 0xf9, write address is 0xf8).
26 A sense resistor of 0,005 Ohm is installed between RS+ and RS- current-sensing
27 inputs.