Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / iio / adc / ti,adc108s102.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,adc108s102.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Texas Instruments ADC108S102 and ADC128S102
8
9 maintainers:
10   - Bogdan Pricop <bogdan.pricop@emutex.com>
11
12 description: |
13   Family of 8 channel, 10/12 bit, SPI, single ended ADCs.
14
15 properties:
16   compatible:
17     const:
18       ti,adc108s102
19
20   reg: true
21   vref-supply: true
22   spi-max-frequency: true
23   "#io-channel-cells":
24     const: 1
25
26 required:
27   - compatible
28   - reg
29   - vref-supply
30
31 additionalProperties: false
32
33 examples:
34   - |
35     spi {
36         #address-cells= <1>;
37         #size-cells = <0>;
38
39         adc@0 {
40             compatible = "ti,adc108s102";
41             reg = <0>;
42             vref-supply = <&vdd_supply>;
43             spi-max-frequency = <1000000>;
44             #io-channel-cells = <1>;
45         };
46     };
47 ...