Merge tag 'f2fs-for-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeu...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / iio / adc / ti,twl4030-madc.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,twl4030-madc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: MADC subsystem in the TWL4030 power module
8
9 maintainers:
10   - Sebastian Reichel <sre@kernel.org>
11
12 description:
13   The MADC subsystem in the TWL4030 consists of a 10-bit ADC
14   combined with a 16-input analog multiplexer.
15
16 properties:
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
32 required:
33   - compatible
34   - interrupts
35   - "#io-channel-cells"
36
37 additionalProperties: false
38
39 examples:
40   - |
41     twl {
42         madc {
43             compatible = "ti,twl4030-madc";
44             interrupts = <3>;
45             #io-channel-cells = <1>;
46         };
47     };
48 ...