Merge tag 'vfio-v5.11-rc1' of git://github.com/awilliam/linux-vfio
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / iio / adc / ti,ads8688.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,ads8688.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Texas Instruments' ADS8684 and ADS8688 ADC chip
8
9 maintainers:
10   - Sean Nyekjaer <sean@geanix.com>
11
12 description: |
13    SPI 16bit ADCs with 4/8 channels.
14
15 properties:
16   compatible:
17     enum:
18       - ti,ads8684
19       - ti,ads8688
20
21   reg:
22     maxItems: 1
23
24   vref-supply:
25     description: Optional external reference.  If not supplied, assume
26       REFSEL input tied low to enable the internal reference.
27
28   spi-max-frequency: true
29
30 required:
31   - compatible
32   - reg
33
34 additionalProperties: false
35
36 examples:
37   - |
38     spi {
39         #address-cells = <1>;
40         #size-cells = <0>;
41
42         adc@0 {
43             compatible = "ti,ads8688";
44             reg = <0>;
45             vref-supply = <&vdd_supply>;
46             spi-max-frequency = <1000000>;
47         };
48     };
49 ...