aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Kepplinger <martin.kepplinger@ginzinger.com>2017-04-20 13:41:27 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-04-20 13:47:28 -0400
commit1613976bbdc560b5ed906af9976ae476996550c3 (patch)
tree1f801ec9156ea3b590270402e2284a1a5978841a
parentcd81abdfd4ef0cf065517d0f82b4563b214027d0 (diff)
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 <martin.kepplinger@ginzinger.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r--Documentation/devicetree/bindings/input/touchscreen/ar1021.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/touchscreen/ar1021.txt b/Documentation/devicetree/bindings/input/touchscreen/ar1021.txt
new file mode 100644
index 000000000000..e459e8546f34
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/touchscreen/ar1021.txt
@@ -0,0 +1,16 @@
1* Microchip AR1020 and AR1021 touchscreen interface (I2C)
2
3Required 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
9Example:
10
11 touchscreen@4d {
12 compatible = "microchip,ar1021-i2c";
13 reg = <0x4d>;
14 interrupt-parent = <&gpio3>;
15 interrupts = <11 IRQ_TYPE_LEVEL_HIGH>;
16 };