Maxim MAX9611 and similar current sense amplifiers with integrated ADCs
Schema identifier ($id): "http://devicetree.org/schemas/iio/adc/maxim,max9611.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jacopo Mondi <jacopo@jmondi.org>"
These devices combine a high-side current sense amplifier with a 12 bit ADC. They have an i2c interface.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "maxim,max9611", "maxim,max9612"
reg — required here #
Maximum number of items (maxItems): 1
shunt-resistor-micro-ohms — required here #
Value in micro Ohms of the shunt resistor connected between the RS+ and RS- inputs, across which the current is measured. Value needed to compute the scaling of the measured current.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "shunt-resistor-micro-ohms"
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
adc@7c {
compatible = "maxim,max9611";
reg = <0x7c>;
shunt-resistor-micro-ohms = <5000>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)