linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND] input: dts: Add commonly used event types
@ 2014-03-18 18:04 Alexander Shiyan
  2014-03-18 18:04 ` [PATCH v3 2/2] input: clps711x-keypad: dts: Add bindings documentation Alexander Shiyan
  2014-03-28 16:43 ` [PATCH RESEND] input: dts: Add commonly used event types Dmitry Torokhov
  0 siblings, 2 replies; 4+ messages in thread
From: Alexander Shiyan @ 2014-03-18 18:04 UTC (permalink / raw)
  To: linux-input
  Cc: Dmitry Torokhov, devicetree, Rob Herring, Pawel Moll,
	Mark Rutland, Ian Campbell, Kumar Gala, Grant Likely,
	Alexander Shiyan

Patch adds commonly used event types (EV_KEY and EV_SW) to
devicetree bindings header for input subsystem.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 include/dt-bindings/input/input.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/dt-bindings/input/input.h b/include/dt-bindings/input/input.h
index 042e7b3..3a141d92 100644
--- a/include/dt-bindings/input/input.h
+++ b/include/dt-bindings/input/input.h
@@ -9,6 +9,9 @@
 #ifndef _DT_BINDINGS_INPUT_INPUT_H
 #define _DT_BINDINGS_INPUT_INPUT_H
 
+#define EV_KEY			0x01
+#define EV_SW			0x05
+
 #define KEY_RESERVED		0
 #define KEY_ESC			1
 #define KEY_1			2
-- 
1.8.3.2


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

end of thread, other threads:[~2014-03-28 16:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-18 18:04 [PATCH RESEND] input: dts: Add commonly used event types Alexander Shiyan
2014-03-18 18:04 ` [PATCH v3 2/2] input: clps711x-keypad: dts: Add bindings documentation Alexander Shiyan
2014-03-28 16:43   ` Dmitry Torokhov
2014-03-28 16:43 ` [PATCH RESEND] input: dts: Add commonly used event types Dmitry Torokhov

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).