Skip to content

Commit 1613976

Browse files
mergedtor
authored andcommitted
dt-bindings: input: add bindings document for ar1021_i2c driver
Add a simple binding document describing the supported devices and the I2C bus address. Signed-off-by: Martin Kepplinger <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent cd81abd commit 1613976

File tree

1 file changed

+16
-0
lines changed
  • Documentation/devicetree/bindings/input/touchscreen

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
* Microchip AR1020 and AR1021 touchscreen interface (I2C)
2+
3+
Required properties:
4+
- compatible : "microchip,ar1021-i2c"
5+
- reg : I2C slave address
6+
- interrupt-parent : the phandle for the interrupt controller
7+
- interrupts : touch controller interrupt
8+
9+
Example:
10+
11+
touchscreen@4d {
12+
compatible = "microchip,ar1021-i2c";
13+
reg = <0x4d>;
14+
interrupt-parent = <&gpio3>;
15+
interrupts = <11 IRQ_TYPE_LEVEL_HIGH>;
16+
};

0 commit comments

Comments
 (0)