GNU Linux-libre 6.1.90-gnu
[releases.git] / Documentation / devicetree / bindings / iio / adc / ti,ads8344.yaml
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
7 title: Texas Instruments ADS8344 ADC
8
9 maintainers:
10   - Gregory Clement <gregory.clement@bootlin.com>
11
12 description: |
13   16bit 8-channel ADC with single ended inputs.
14
15 properties:
16   compatible:
17     const: ti,ads8344
18
19   reg:
20     maxItems: 1
21
22   vref-supply:
23     description: Supply the 2.5V or 5V reference voltage
24
25   "#io-channel-cells":
26     const: 1
27
28 required:
29   - compatible
30   - reg
31   - vref-supply
32
33 allOf:
34   - $ref: /schemas/spi/spi-peripheral-props.yaml#
35
36 unevaluatedProperties: false
37
38 examples:
39   - |
40     spi {
41         #address-cells = <1>;
42         #size-cells = <0>;
43
44         adc@0 {
45             compatible = "ti,ads8344";
46             reg = <0>;
47             vref-supply = <&refin_supply>;
48             spi-max-frequency = <10000000>;
49             #io-channel-cells = <1>;
50         };
51     };
52 ...