Merge tag 'vfio-v5.11-rc1' of git://github.com/awilliam/linux-vfio
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / iio / adc / maxim,max9611.yaml
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/maxim,max9611.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Maxim MAX9611 and similar current sense amplifiers with integrated ADCs
8
9 maintainers:
10   - Jacopo Mondi <jacopo@jmondi.org>
11
12 description: |
13    These devices combine a high-side current sense amplifier with a 12 bit ADC.
14    They have an i2c interface.
15
16 properties:
17   compatible:
18     enum:
19       - maxim,max9611
20       - maxim,max9612
21
22   reg:
23     maxItems: 1
24
25   shunt-resistor-micro-ohms:
26     $ref: /schemas/types.yaml#/definitions/uint32
27     description: |
28       Value in micro Ohms of the shunt resistor connected between the RS+ and
29       RS- inputs, across which the current is measured.  Value needed to compute
30       the scaling of the measured current.
31
32 additionalProperties: false
33
34 required:
35   - compatible
36   - reg
37   - shunt-resistor-micro-ohms
38
39 examples:
40   - |
41     i2c {
42         #address-cells = <1>;
43         #size-cells = <0>;
44
45         adc@7c {
46             compatible = "maxim,max9611";
47             reg = <0x7c>;
48             shunt-resistor-micro-ohms = <5000>;
49         };
50     };
51 ...