diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2017-07-09 13:12:48 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2017-07-09 13:12:48 +0000 |
commit | f3f213a6f94d330b77b3910f4c66b62aeec50645 (patch) | |
tree | c3f9fb9d237fa970fbe2a2d425d0be312d0e86a7 /Bindings/iio/adc/max9611.txt | |
parent | 8fdc67f730291b64de002bf95d19ae75e058b8ce (diff) |
Update the DTS file from Linux 4.12vendor/device-tree/4.12
Notes
Notes:
svn path=/vendor/device-tree/dist/; revision=320832
svn path=/vendor/device-tree/4.12/; revision=320833; tag=vendor/device-tree/4.12
Diffstat (limited to 'Bindings/iio/adc/max9611.txt')
-rw-r--r-- | Bindings/iio/adc/max9611.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Bindings/iio/adc/max9611.txt b/Bindings/iio/adc/max9611.txt new file mode 100644 index 000000000000..ab4f43145ae5 --- /dev/null +++ b/Bindings/iio/adc/max9611.txt @@ -0,0 +1,27 @@ +* Maxim max9611/max9612 current sense amplifier with 12-bits ADC interface + +Maxim max9611/max9612 is an high-side current sense amplifier with integrated +12-bits ADC communicating over I2c bus. +The device node for this driver shall be a child of a I2c controller. + +Required properties + - compatible: Should be "maxim,max9611" or "maxim,max9612" + - reg: The 7-bits long I2c address of the device + - shunt-resistor-micro-ohms: Value, in micro Ohms, of the current sense shunt + resistor + +Example: + +&i2c4 { + csa: adc@7c { + compatible = "maxim,max9611"; + reg = <0x7c>; + + shunt-resistor-micro-ohms = <5000>; + }; +}; + +This device node describes a current sense amplifier sitting on I2c4 bus +with address 0x7c (read address is 0xf9, write address is 0xf8). +A sense resistor of 0,005 Ohm is installed between RS+ and RS- current-sensing +inputs. |