Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / iio / adc / nxp,lpc3220-adc.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/nxp,lpc3220-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: NXP LPC3220 SoC ADC controller
8
9 maintainers:
10   - Gregory Clement <gregory.clement@bootlin.com>
11
12 description:
13   This hardware block has been used on several LPC32XX SoCs.
14
15 properties:
16   compatible:
17     const: nxp,lpc3220-adc
18
19   reg:
20     maxItems: 1
21
22   interrupts:
23     maxItems: 1
24
25   vref-supply: true
26
27   "#io-channel-cells":
28     const: 1
29
30 required:
31   - compatible
32   - reg
33   - interrupts
34
35 additionalProperties: false
36
37 examples:
38   - |
39     soc {
40         #address-cells = <1>;
41         #size-cells = <1>;
42         adc@40048000 {
43             compatible = "nxp,lpc3220-adc";
44             reg = <0x40048000 0x1000>;
45             interrupt-parent = <&mic>;
46             interrupts = <39 0>;
47             vref-supply = <&vcc>;
48         };
49     };
50 ...