1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/adc/maxim,max34408.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Maxim MAX34408/MAX34409 current monitors with overcurrent control
10 - Ivan Mikhaylov <fr0st61te@gmail.com>
13 The MAX34408/MAX34409 are two- and four-channel current monitors that are
14 configured and monitored with a standard I2C/SMBus serial interface. Each
15 unidirectional current sensor offers precision high-side operation with a
16 low full-scale sense voltage. The devices automatically sequence through
17 two or four channels and collect the current-sense samples and average them
18 to reduce the effect of impulse noise. The raw ADC samples are compared to
19 user-programmable digital thresholds to indicate overcurrent conditions.
20 Overcurrent conditions trigger a hardware output to provide an immediate
21 indication to shut down any necessary external circuitry.
23 Specifications about the devices can be found at:
24 https://www.analog.com/media/en/technical-documentation/data-sheets/MAX34408-MAX34409.pdf
46 Shutdown Output. Open-drain output. This output transitions to high impedance
47 when any of the digital comparator thresholds are exceeded as long as the ENA
51 powerdown-status-gpios:
53 SHTDN Enable Input. CMOS digital input. Connect to GND to clear the latch and
54 unconditionally deassert (force low) the SHTDN output and reset the shutdown
55 delay. Connect to VDD to enable normal latch operation of the SHTDN output.
65 Represents the internal channels of the ADC.
73 maxim,rsense-val-micro-ohms:
75 Adjust the Rsense value to monitor higher or lower current levels for
77 enum: [250, 500, 1000, 5000, 10000, 50000, 100000, 200000, 500000]
82 - maxim,rsense-val-micro-ohms
84 unevaluatedProperties: false
98 "^channel@[2-3]$": false
110 additionalProperties: false
114 #include <dt-bindings/gpio/gpio.h>
117 #address-cells = <1>;
121 compatible = "maxim,max34409";
123 powerdown-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
124 powerdown-status-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
126 #address-cells = <1>;
131 maxim,rsense-val-micro-ohms = <5000>;
136 maxim,rsense-val-micro-ohms = <10000>;