xref: /freebsd/sys/contrib/device-tree/Bindings/iio/adc/max9611.txt (revision 06c3fb2749bda94cb5201f81ffdb8fa6c3161b2e)
1* Maxim max9611/max9612 current sense amplifier with 12-bits ADC interface
2
3Maxim max9611/max9612 is an high-side current sense amplifier with integrated
412-bits ADC communicating over I2c bus.
5The device node for this driver shall be a child of a I2c controller.
6
7Required 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
13Example:
14
15&i2c4 {
16	csa: adc@7c {
17		compatible = "maxim,max9611";
18		reg = <0x7c>;
19
20		shunt-resistor-micro-ohms = <5000>;
21	};
22};
23
24This device node describes a current sense amplifier sitting on I2c4 bus
25with address 0x7c (read address is 0xf9, write address is 0xf8).
26A sense resistor of 0,005 Ohm is installed between RS+ and RS- current-sensing
27inputs.
28