1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/adc/ti,ads131e08.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments ADS131E0x 4-, 6- and 8-Channel ADCs
10 - Tomislav Denis <tomislav.denis@avl.com>
13 The ADS131E0x are a family of multichannel, simultaneous sampling,
14 24-bit, delta-sigma, analog-to-digital converters (ADCs) with a
15 built-in programmable gain amplifier (PGA), internal reference
16 and an onboard oscillator.
17 The communication with ADC chip is via the SPI bus (mode 1).
19 https://www.ti.com/lit/ds/symlink/ads131e08.pdf
31 spi-max-frequency: true
37 Device tree identifier to the clock source (2.048 MHz).
38 Note: clock source is selected using CLKSEL pin.
47 IRQ line for the ADC data ready.
52 Optional external voltage reference. If not supplied, internal voltage
57 Select the internal voltage reference value.
60 If this field is left empty, 2.4V is selected.
61 Note: internal voltage reference is used only if vref-supply is not supplied.
62 $ref: /schemas/types.yaml#/definitions/uint32
85 Represents the external channels which are connected to the ADC.
91 Up to 4 channels, numbered from 0 to 3 for ti,ads131e04.
92 Up to 6 channels, numbered from 0 to 5 for ti,ads131e06.
93 Up to 8 channels, numbered from 0 to 7 for ti,ads131e08.
100 The PGA gain value for the channel.
101 If this field is left empty, PGA gain 1 is used.
102 $ref: /schemas/types.yaml#/definitions/uint32
103 enum: [1, 2, 4, 8, 12]
108 Channel input selection(muliplexer).
110 1: Input shorted to (VREFP + VREFN) / 2 (for offset or noise measurements).
111 3: MVDD (for supply measurement)
112 4: Temperature sensor
113 If this field is left empty, normal input is selected.
114 $ref: /schemas/types.yaml#/definitions/uint32
121 additionalProperties: false
123 additionalProperties: false
127 #include <dt-bindings/interrupt-controller/irq.h>
130 #address-cells = <1>;
134 compatible = "ti,ads131e08";
136 spi-max-frequency = <1000000>;
138 clocks = <&clk2048k>;
139 clock-names = "adc-clk";
140 interrupt-parent = <&gpio5>;
141 interrupts = <28 IRQ_TYPE_EDGE_FALLING>;
142 vref-supply = <&adc_vref>;
144 #address-cells = <1>;