xref: /freebsd/sys/contrib/device-tree/Bindings/iio/adc/ti,twl6030-gpadc.yaml (revision 5515e8874a8d85a8d961fca64c494dfc1bea4bd0)
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
7title: GPADC subsystem in the TWL6030 power module
8
9maintainers:
10  - Andreas Kemnade <andreas@kemnade.info>
11
12description:
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
17properties:
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
29required:
30  - compatible
31  - interrupts
32  - "#io-channel-cells"
33
34additionalProperties: false
35
36examples:
37  - |
38    gpadc {
39        compatible = "ti,twl6030-gpadc";
40        interrupts = <3>;
41        #io-channel-cells = <1>;
42    };
43...
44