1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2022 Analog Devices Inc.
5 $id: http://devicetree.org/schemas/iio/adc/adi,max11410.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Analog Devices MAX11410 ADC device driver
11 - Ibrahim Tilki <Ibrahim.Tilki@analog.com>
14 Bindings for the Analog Devices MAX11410 ADC device. Datasheet can be
16 https://datasheets.maximintegrated.com/en/ds/MAX11410.pdf
31 description: Name of the gpio pin of max11410 used for IRQ
34 - enum: [gpio0, gpio1]
44 description: Optional avdd supply. Used as reference when no explicit reference supplied.
47 description: vref0p supply can be used as reference for conversion.
50 description: vref1p supply can be used as reference for conversion.
53 description: vref2p supply can be used as reference for conversion.
56 description: vref0n supply can be used as reference for conversion.
59 description: vref1n supply can be used as reference for conversion.
62 description: vref2n supply can be used as reference for conversion.
71 description: Represents the external channels which are connected to the ADC.
75 description: The channel number in single-ended mode.
81 Select the reference source to use when converting on
82 the specific channel. Valid values are:
90 If this field is left empty, AVDD/AGND is selected.
91 $ref: /schemas/types.yaml#/definitions/uint32
92 enum: [0, 1, 2, 3, 4, 5, 6]
97 Select signal path of input channels. Valid values are:
98 0: Buffered, low-power, unity-gain path (default)
101 $ref: /schemas/types.yaml#/definitions/uint32
109 settling-time-us: true
112 description: Enable buffered mode for positive reference.
116 description: Enable buffered mode for negative reference.
122 additionalProperties: false
129 - $ref: /schemas/spi/spi-peripheral-props.yaml#
131 unevaluatedProperties: false
135 #include <dt-bindings/interrupt-controller/irq.h>
137 #address-cells = <1>;
142 compatible = "adi,max11410";
143 spi-max-frequency = <8000000>;
145 interrupt-parent = <&gpio>;
146 interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
147 interrupt-names = "gpio1";
149 avdd-supply = <&adc_avdd>;
151 vref1p-supply = <&adc_vref1p>;
152 vref1n-supply = <&adc_vref1n>;
154 #address-cells = <1>;
163 diff-channels = <2 3>;
166 settling-time-us = <100000>;
171 diff-channels = <7 9>;
173 adi,input-mode = <2>;
174 settling-time-us = <50000>;