0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/adc/ti,twl4030-madc.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: MADC subsystem in the TWL4030 power module
0008
0009 maintainers:
0010 - Sebastian Reichel <sre@kernel.org>
0011
0012 description:
0013 The MADC subsystem in the TWL4030 consists of a 10-bit ADC
0014 combined with a 16-input analog multiplexer.
0015
0016 properties:
0017 compatible:
0018 const: ti,twl4030-madc
0019
0020 interrupts:
0021 maxItems: 1
0022
0023 ti,system-uses-second-madc-irq:
0024 type: boolean
0025 description:
0026 Set if the second madc irq register should be used, which is intended
0027 to be used by Co-Processors (e.g. a modem).
0028
0029 "#io-channel-cells":
0030 const: 1
0031
0032 required:
0033 - compatible
0034 - interrupts
0035 - "#io-channel-cells"
0036
0037 additionalProperties: false
0038
0039 examples:
0040 - |
0041 twl {
0042 madc {
0043 compatible = "ti,twl4030-madc";
0044 interrupts = <3>;
0045 #io-channel-cells = <1>;
0046 };
0047 };
0048 ...