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,adc084s021.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Texas Instruments ADC084S021 ADC
8
9 maintainers:
10 - MÃ¥rten Lindahl <martenli@axis.com>
11
12 description: |
13 8 bit ADC with 4 channels
14
15 properties:
16 compatible:
17 const: ti,adc084s021
18
19 reg:
20 maxItems: 1
21
22 spi-max-frequency: true
23
24 vref-supply:
25 description: External reference, needed to establish input scaling
26
27 spi-cpol: true
28 spi-cpha: true
29
30 "#io-channel-cells":
31 const: 1
32
33 required:
34 - compatible
35 - reg
36 - vref-supply
37 - spi-cpol
38 - spi-cpha
39
40 additionalProperties: false
41
42 examples:
43 - |
44 spi {
45 #address-cells = <1>;
46 #size-cells = <0>;
47
48 adc@0 {
49 compatible = "ti,adc084s021";
50 reg = <0>;
51 vref-supply = <&adc_vref>;
52 spi-cpol;
53 spi-cpha;
54 spi-max-frequency = <16000000>;
55 #io-channel-cells = <1>;
56 };
57 };
58 ...
Cache object: aa22bb79cebc779c554ac5a09124ca18
|