linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: input: Document the Zinitix Touchpad bindigns.
@ 2020-11-13 10:24 KwangDeok Son
  0 siblings, 0 replies; only message in thread
From: KwangDeok Son @ 2020-11-13 10:24 UTC (permalink / raw)
  To: devicetree-spec; +Cc: linux-input, dmitry.torokhov, kdson

Add DT bindings documentation for Zinitix I2C Touchpad.

Signed-off-by: KwangDeok Son <kdson@zinitix.com>

---
diff --git a/Documentation/devicetree/bindings/input/zinitix-touchpad.txt b/Documentation/devicetree/bindings/input/zinitix-touchpad.txt
index e69de29bb2d1..29a3fe9b58cb 100644
--- a/Documentation/devicetree/bindings/input/zinitix-touchpad.txt
+++ b/Documentation/devicetree/bindings/input/zinitix-touchpad.txt
@@ -0,0 +1,28 @@
+Zinitix I2C Touchpad
+
+
+Required properties:
+- compatible: must be "zinitix,zntxtp".
+- reg: I2C address of the chip.
+- interrupts: interrupt to which the chip is connected (see interrupt
+  binding[0]).
+
+
+Optional properties:
+- wakeup-source: touchpad can be used as a wakeup source.
+- vcc-supply: a phandle for the regulator supplying 2.7V to 3.6V power.
+
+[0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
+[1]: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
+
+
+Example:
+	&i2c0 {
+		touchpad@40 {
+			compatible = "zinitix,zntxtp";
+			reg = <0x40>;
+			interrupt-parent = <&gpio>;
+			interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
+			wakeup-source;
+		};
+	};




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-13 10:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-13 10:24 [PATCH] dt-bindings: input: Document the Zinitix Touchpad bindigns KwangDeok Son

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).