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,twl4030-madc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: MADC subsystem in the TWL4030 power module
8
9maintainers:
10  - Sebastian Reichel <sre@kernel.org>
11
12description:
13  The MADC subsystem in the TWL4030 consists of a 10-bit ADC
14  combined with a 16-input analog multiplexer.
15
16properties:
17  compatible:
18    const: ti,twl4030-madc
19
20  interrupts:
21    maxItems: 1
22
23  ti,system-uses-second-madc-irq:
24    type: boolean
25    description:
26      Set if the second madc irq register should be used, which is intended
27      to be used  by Co-Processors (e.g. a modem).
28
29  "#io-channel-cells":
30    const: 1
31
32required:
33  - compatible
34  - interrupts
35  - "#io-channel-cells"
36
37additionalProperties: false
38
39examples:
40  - |
41    twl {
42        madc {
43            compatible = "ti,twl4030-madc";
44            interrupts = <3>;
45            #io-channel-cells = <1>;
46        };
47    };
48...
49