1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/max 4 $id: http://devicetree.org/schemas/iio/adc/maxim,max9611.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Maxim MAX9611 and similar current sense 7 title: Maxim MAX9611 and similar current sense amplifiers with integrated ADCs 8 8 9 maintainers: 9 maintainers: 10 - Jacopo Mondi <jacopo@jmondi.org> 10 - Jacopo Mondi <jacopo@jmondi.org> 11 11 12 description: | 12 description: | 13 These devices combine a high-side current s 13 These devices combine a high-side current sense amplifier with a 12 bit ADC. 14 They have an i2c interface. 14 They have an i2c interface. 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 enum: 18 enum: 19 - maxim,max9611 19 - maxim,max9611 20 - maxim,max9612 20 - maxim,max9612 21 21 22 reg: 22 reg: 23 maxItems: 1 23 maxItems: 1 24 24 25 shunt-resistor-micro-ohms: 25 shunt-resistor-micro-ohms: 26 description: | 26 description: | 27 Value in micro Ohms of the shunt resisto 27 Value in micro Ohms of the shunt resistor connected between the RS+ and 28 RS- inputs, across which the current is 28 RS- inputs, across which the current is measured. Value needed to compute 29 the scaling of the measured current. 29 the scaling of the measured current. 30 30 31 additionalProperties: false 31 additionalProperties: false 32 32 33 required: 33 required: 34 - compatible 34 - compatible 35 - reg 35 - reg 36 - shunt-resistor-micro-ohms 36 - shunt-resistor-micro-ohms 37 37 38 examples: 38 examples: 39 - | 39 - | 40 i2c { 40 i2c { 41 #address-cells = <1>; 41 #address-cells = <1>; 42 #size-cells = <0>; 42 #size-cells = <0>; 43 43 44 adc@7c { 44 adc@7c { 45 compatible = "maxim,max9611"; 45 compatible = "maxim,max9611"; 46 reg = <0x7c>; 46 reg = <0x7c>; 47 shunt-resistor-micro-ohms = <5000> 47 shunt-resistor-micro-ohms = <5000>; 48 }; 48 }; 49 }; 49 }; 50 ... 50 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.