xref: /linux/Documentation/devicetree/bindings/iio/adc/nxp,lpc3220-adc.yaml (revision 77e67d5daaf155f7d0f99f4e797c4842169ec19e)
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
7title: NXP LPC3220 SoC ADC controller
8
9maintainers:
10  - Gregory Clement <gregory.clement@bootlin.com>
11
12description:
13  This hardware block has been used on several LPC32XX SoCs.
14
15properties:
16  compatible:
17    const: nxp,lpc3220-adc
18
19  reg:
20    maxItems: 1
21
22  interrupts:
23    maxItems: 1
24
25  clocks:
26    maxItems: 1
27
28  vref-supply: true
29
30  "#io-channel-cells":
31    const: 1
32
33required:
34  - compatible
35  - reg
36  - interrupts
37
38additionalProperties: false
39
40examples:
41  - |
42    soc {
43        #address-cells = <1>;
44        #size-cells = <1>;
45        adc@40048000 {
46            compatible = "nxp,lpc3220-adc";
47            reg = <0x40048000 0x1000>;
48            interrupt-parent = <&mic>;
49            interrupts = <39 0>;
50            vref-supply = <&vcc>;
51        };
52    };
53...
54