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 - Jonathan Cameron <jic23@kernel.org>
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
35 Device tree identifier to the clock source (2.048 MHz).
36 Note: clock source is selected using CLKSEL pin.
45 IRQ line for the ADC data ready.
50 Optional external voltage reference. If not supplied, internal voltage
55 Select the internal voltage reference value.
58 If this field is left empty, 2.4V is selected.
59 Note: internal voltage reference is used only if vref-supply is not supplied.
60 $ref: /schemas/types.yaml#/definitions/uint32
83 Represents the external channels which are connected to the ADC.
89 Up to 4 channels, numbered from 0 to 3 for ti,ads131e04.
90 Up to 6 channels, numbered from 0 to 5 for ti,ads131e06.
91 Up to 8 channels, numbered from 0 to 7 for ti,ads131e08.
98 The PGA gain value for the channel.
99 If this field is left empty, PGA gain 1 is used.
100 $ref: /schemas/types.yaml#/definitions/uint32
101 enum: [1, 2, 4, 8, 12]
106 Channel input selection(muliplexer).
108 1: Input shorted to (VREFP + VREFN) / 2 (for offset or noise measurements).
109 3: MVDD (for supply measurement)
110 4: Temperature sensor
111 If this field is left empty, normal input is selected.
112 $ref: /schemas/types.yaml#/definitions/uint32
119 additionalProperties: false
122 - $ref: /schemas/spi/spi-peripheral-props.yaml#
124 unevaluatedProperties: false
128 #include <dt-bindings/interrupt-controller/irq.h>
131 #address-cells = <1>;
135 compatible = "ti,ads131e08";
137 spi-max-frequency = <1000000>;
139 clocks = <&clk2048k>;
140 clock-names = "adc-clk";
141 interrupt-parent = <&gpio5>;
142 interrupts = <28 IRQ_TYPE_EDGE_FALLING>;
143 vref-supply = <&adc_vref>;
145 #address-cells = <1>;