xref: /freebsd/sys/contrib/device-tree/Bindings/iio/adc/ti,ads8344.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
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  vref-supply:
23    description: Supply the 2.5V or 5V reference voltage
24
25  "#io-channel-cells":
26    const: 1
27
28required:
29  - compatible
30  - reg
31  - vref-supply
32
33allOf:
34  - $ref: /schemas/spi/spi-peripheral-props.yaml#
35
36unevaluatedProperties: false
37
38examples:
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...
53