Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/adc/maxim,max9611.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Maxim MAX9611 and similar current sense amplifiers with integrated ADCs
0008 
0009 maintainers:
0010   - Jacopo Mondi <jacopo@jmondi.org>
0011 
0012 description: |
0013    These devices combine a high-side current sense amplifier with a 12 bit ADC.
0014    They have an i2c interface.
0015 
0016 properties:
0017   compatible:
0018     enum:
0019       - maxim,max9611
0020       - maxim,max9612
0021 
0022   reg:
0023     maxItems: 1
0024 
0025   shunt-resistor-micro-ohms:
0026     description: |
0027       Value in micro Ohms of the shunt resistor connected between the RS+ and
0028       RS- inputs, across which the current is measured.  Value needed to compute
0029       the scaling of the measured current.
0030 
0031 additionalProperties: false
0032 
0033 required:
0034   - compatible
0035   - reg
0036   - shunt-resistor-micro-ohms
0037 
0038 examples:
0039   - |
0040     i2c {
0041         #address-cells = <1>;
0042         #size-cells = <0>;
0043 
0044         adc@7c {
0045             compatible = "maxim,max9611";
0046             reg = <0x7c>;
0047             shunt-resistor-micro-ohms = <5000>;
0048         };
0049     };
0050 ...