brintos

brintos / linux-shallow public Read only

0
0
Text · 1.1 KiB · 95774a5 Raw
51 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/adc/maxim,max9611.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Maxim MAX9611 and similar current sense amplifiers with integrated ADCs8 9maintainers:10  - Jacopo Mondi <jacopo@jmondi.org>11 12description: |13   These devices combine a high-side current sense amplifier with a 12 bit ADC.14   They have an i2c interface.15 16properties:17  compatible:18    enum:19      - maxim,max961120      - maxim,max961221 22  reg:23    maxItems: 124 25  shunt-resistor-micro-ohms:26    description: |27      Value in micro Ohms of the shunt resistor connected between the RS+ and28      RS- inputs, across which the current is measured.  Value needed to compute29      the scaling of the measured current.30 31additionalProperties: false32 33required:34  - compatible35  - reg36  - shunt-resistor-micro-ohms37 38examples:39  - |40    i2c {41        #address-cells = <1>;42        #size-cells = <0>;43 44        adc@7c {45            compatible = "maxim,max9611";46            reg = <0x7c>;47            shunt-resistor-micro-ohms = <5000>;48        };49    };50...51