1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/adc/ti,adc12138.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments ADC12138 and similar self-calibrating ADCs
10 - Akinobu Mita <akinobu.mita@gmail.com>
13 13 bit ADCs with 1, 2 or 8 inputs and self calibrating circuitry to
14 correct for linearity, zero and full scale errors.
28 description: End of Conversion (EOC) interrupt
32 description: Conversion clock input.
35 description: The regulator supply for positive analog voltage reference
39 The regulator supply for negative analog voltage reference
40 (Note that this must not go below GND or exceed vref-p)
41 If not specified, this is assumed to be analog ground.
44 $ref: /schemas/types.yaml#/definitions/uint32
45 enum: [ 6, 10, 18, 34 ]
47 The number of conversion clock periods for the S/H's acquisition time.
48 For high source impedances, this value can be increased to 18 or 34.
49 For less ADC accuracy and/or slower CCLK frequencies this value may be
50 decreased to 6. See section 6.0 INPUT SOURCE RESISTANCE in the
51 datasheet for details.
64 - $ref: /schemas/spi/spi-peripheral-props.yaml#
66 unevaluatedProperties: false
70 #include <dt-bindings/interrupt-controller/irq.h>
76 compatible = "ti,adc12138";
78 interrupts = <28 IRQ_TYPE_EDGE_RISING>;
79 interrupt-parent = <&gpio1>;
81 vref-p-supply = <&ldo4_reg>;
82 spi-max-frequency = <5000000>;
83 ti,acquisition-time = <6>;
84 #io-channel-cells = <1>;