blob: a60b1e100ee40f0c76717038f0608d2acf53b1bd [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# 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
7title: Texas Instruments ADC108S102 and ADC128S102
8
9maintainers:
10 - Jonathan Cameron <jic23@kernel.org>
11
12description: |
13 Family of 8 channel, 10/12 bit, SPI, single ended ADCs.
14
15properties:
16 compatible:
17 const:
18 ti,adc108s102
19
20 reg: true
21 vref-supply: true
22 "#io-channel-cells":
23 const: 1
24
25required:
26 - compatible
27 - reg
28 - vref-supply
29
30allOf:
31 - $ref: /schemas/spi/spi-peripheral-props.yaml#
32
33unevaluatedProperties: false
34
35examples:
36 - |
37 spi {
38 #address-cells = <1>;
39 #size-cells = <0>;
40
41 adc@0 {
42 compatible = "ti,adc108s102";
43 reg = <0>;
44 vref-supply = <&vdd_supply>;
45 spi-max-frequency = <1000000>;
46 #io-channel-cells = <1>;
47 };
48 };
49...