GNU Linux-libre 6.8.9-gnu
[releases.git] / Documentation / devicetree / bindings / iio / adc / ti,adc161s626.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,adc161s626.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Texas Instruments ADC141S626 and ADC161S626 ADCs
8
9 maintainers:
10   - Matt Ranostay <matt.ranostay@konsulko.com>
11
12 description: |
13   Single channel 14/16bit differential ADCs
14
15 properties:
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
29 required:
30   - compatible
31   - reg
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,adc161s626";
46             vdda-supply = <&vdda_fixed>;
47             reg = <0>;
48             spi-max-frequency = <4300000>;
49             #io-channel-cells = <1>;
50         };
51     };
52 ...