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,adc161s626.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Texas Instruments ADC141S626 and ADC161S626 ADCs
8
9maintainers:
10  - Matt Ranostay <matt.ranostay@konsulko.com>
11
12description: |
13  Single channel 14/16bit differential ADCs
14
15properties:
16  compatible:
17    enum:
18      - ti,adc141s626
19      - ti,adc161s626
20
21  reg:
22    maxItems: 1
23
24  vdda-supply: true
25
26  "#io-channel-cells":
27    const: 1
28
29required:
30  - compatible
31  - reg
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,adc161s626";
46            vdda-supply = <&vdda_fixed>;
47            reg = <0>;
48            spi-max-frequency = <4300000>;
49            #io-channel-cells = <1>;
50        };
51    };
52...
53