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  spi-max-frequency: true
25
26  vdda-supply: true
27
28  "#io-channel-cells":
29    const: 1
30
31required:
32  - compatible
33  - reg
34
35additionalProperties: false
36
37examples:
38  - |
39    spi {
40        #address-cells = <1>;
41        #size-cells = <0>;
42
43        adc@0 {
44            compatible = "ti,adc161s626";
45            vdda-supply = <&vdda_fixed>;
46            reg = <0>;
47            spi-max-frequency = <4300000>;
48            #io-channel-cells = <1>;
49        };
50    };
51...
52