All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2 v2] input: keyboard: DT bindings for the D-Link DIR-685 touchkeys
@ 2017-05-20 16:57 Linus Walleij
  2017-05-20 16:57 ` [PATCH 2/2 v2] input: keyboard: Add D-Link DIR-685 touchkeys driver Linus Walleij
  0 siblings, 1 reply; 4+ messages in thread
From: Linus Walleij @ 2017-05-20 16:57 UTC (permalink / raw)
  To: Dmitry Torokhov, linux-input-u79uwXL29TY76Z2rM5mHXA
  Cc: Linus Walleij, devicetree-u79uwXL29TY76Z2rM5mHXA

This adds device tree bindings for the D-Link DIR-685 touchkeys.
It's a simple homebrewn touchkey controller (by D-Link referred
to as "touchpad") on I2C.

Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Signed-off-by: Linus Walleij <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
---
ChangeLog v1->v2:
- Rename from "touchpad" to touchkeys" consistently.
- Add Rob's ACK.
---
 .../bindings/input/dlink,dir685-touchkeys.txt       | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/input/dlink,dir685-touchkeys.txt

diff --git a/Documentation/devicetree/bindings/input/dlink,dir685-touchkeys.txt b/Documentation/devicetree/bindings/input/dlink,dir685-touchkeys.txt
new file mode 100644
index 000000000000..10dec1c57abf
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/dlink,dir685-touchkeys.txt
@@ -0,0 +1,21 @@
+* D-Link DIR-685 Touchkeys
+
+This is a I2C one-off touchkey controller based on the Cypress Semiconductor
+CY8C214 MCU with some firmware in its internal 8KB flash. The circuit
+board inside the router is named E119921.
+
+The touchkey device node should be placed inside an I2C bus node.
+
+Required properties:
+- compatible: must be "dlink,dir685-touchkeys"
+- reg: the I2C address of the touchkeys
+- interrupts: reference to the interrupt number
+
+Example:
+
+touchkeys@26 {
+	compatible = "dlink,dir685-touchkeys";
+	reg = <0x26>;
+	interrupt-parent = <&gpio0>;
+	interrupts = <17 IRQ_TYPE_EDGE_FALLING>;
+};
-- 
2.9.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-05-30 12:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-20 16:57 [PATCH 1/2 v2] input: keyboard: DT bindings for the D-Link DIR-685 touchkeys Linus Walleij
2017-05-20 16:57 ` [PATCH 2/2 v2] input: keyboard: Add D-Link DIR-685 touchkeys driver Linus Walleij
2017-05-20 17:26   ` Dmitry Torokhov
2017-05-30 12:03     ` Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.