GNU Linux-libre 6.8.9-gnu
[releases.git] / Documentation / devicetree / bindings / iio / adc / ti,twl6030-gpadc.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,twl6030-gpadc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: GPADC subsystem in the TWL6030 power module
8
9 maintainers:
10   - Andreas Kemnade <andreas@kemnade.info>
11
12 description:
13   The GPADC subsystem in the TWL603X consists of a 10-bit ADC
14   combined with a 15-input analog multiplexer in the TWL6030 resp. a
15   19-input analog muliplexer in the TWL6032.
16
17 properties:
18   compatible:
19     enum:
20       - ti,twl6030-gpadc
21       - ti,twl6032-gpadc
22
23   interrupts:
24     maxItems: 1
25
26   "#io-channel-cells":
27     const: 1
28
29 required:
30   - compatible
31   - interrupts
32   - "#io-channel-cells"
33
34 additionalProperties: false
35
36 examples:
37   - |
38     gpadc {
39         compatible = "ti,twl6030-gpadc";
40         interrupts = <3>;
41         #io-channel-cells = <1>;
42     };
43 ...