xref: /linux/Documentation/devicetree/bindings/iio/adc/ti,ads8344.yaml (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/adc/ti,ads8344.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Texas Instruments ADS8344 ADC
8
9maintainers:
10  - Gregory Clement <gregory.clement@bootlin.com>
11
12description: |
13  16bit 8-channel ADC with single ended inputs.
14
15properties:
16  compatible:
17    const: ti,ads8344
18
19  reg:
20    maxItems: 1
21
22  spi-max-frequency: true
23
24  vref-supply:
25    description: Supply the 2.5V or 5V reference voltage
26
27  "#io-channel-cells":
28    const: 1
29
30required:
31  - compatible
32  - reg
33  - vref-supply
34
35additionalProperties: false
36
37examples:
38  - |
39    spi {
40        #address-cells = <1>;
41        #size-cells = <0>;
42
43        adc@0 {
44            compatible = "ti,ads8344";
45            reg = <0>;
46            vref-supply = <&refin_supply>;
47            spi-max-frequency = <10000000>;
48            #io-channel-cells = <1>;
49        };
50    };
51...
52