xref: /linux/Documentation/devicetree/bindings/input/touchscreen/nxp,lpc3220-tsc.yaml (revision 0074281bb6316108e0cff094bd4db78ab3eee236)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/input/touchscreen/nxp,lpc3220-tsc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NXP LPC32xx SoC Touchscreen Controller (TSC)
8
9maintainers:
10  - Frank Li <Frank.Li@nxp.com>
11
12properties:
13  compatible:
14    const: nxp,lpc3220-tsc
15
16  reg:
17    maxItems: 1
18
19  clocks:
20    maxItems: 1
21
22  interrupts:
23    maxItems: 1
24
25required:
26  - compatible
27  - reg
28  - clocks
29  - interrupts
30
31additionalProperties: false
32
33examples:
34  - |
35    #include <dt-bindings/clock/lpc32xx-clock.h>
36
37    touchscreen@40048000 {
38        compatible = "nxp,lpc3220-tsc";
39        reg = <0x40048000 0x1000>;
40        interrupt-parent = <&mic>;
41        interrupts = <39 0>;
42        clocks = <&clk LPC32XX_CLK_ADC>;
43    };
44