[PATCH v5] Input: sysrq - DT binding for key sequence

2013-07-17 Thread mathieu . poirier
time will reset the system. Signed-off-by: Mathieu Poirier --- changes for v5: - Corrected error in binding definition. - Using helper macro to fetch the key sequence. - Removing white space. --- .../devicetree/bindings/input/input-reset.txt | 34

Re: [PATCH v4] Input: sysrq - DT binding for key sequence

2013-07-16 Thread Mathieu Poirier
the sequence are located in > > 'include/uapi/linux/input.h'. > > > > For the sysrq driver, holding the sequence of keys down for a specific > amount of time > > will reset the system. > > > > Signed-off-by: Mathieu Poirier

[PATCH v4] Input: sysrq - DT binding for key sequence

2013-07-15 Thread mathieu . poirier
time will reset the system. Signed-off-by: Mathieu Poirier --- changes for v4: - Moved seach of reset sequence nodes to a single call. --- .../devicetree/bindings/input/input-reset.txt | 34 ++ drivers/tty/sysrq.c| 54 ++

[PATCH v3] Input: sysrq - DT binding for key sequences

2013-07-12 Thread mathieu . poirier
time will reset the system. Signed-off-by: Mathieu Poirier --- changes for v3: - Simplified binding definition. - Renamed binding and moved to chosen. --- .../devicetree/bindings/input/input-reset.txt | 34 + drivers/tty/sysrq.c| 58 +++

Re: [PATCH 2/2] Input: Adding DT support for keyreset tuneables

2013-07-10 Thread Mathieu Poirier
On 10 July 2013 16:20, Dmitry Torokhov wrote: > On Wednesday, July 10, 2013 10:50:26 PM Grant Likely wrote: > > On Wed, Jul 10, 2013 at 5:52 PM, Dmitry Torokhov > > > > wrote: > > > On Wed, Jul 10, 2013 at 04:14:57PM +0100, Grant Likely wrote: > > >> O

Re: [PATCH 2/2] Input: Adding DT support for keyreset tuneables

2013-07-10 Thread Mathieu Poirier
On 10 July 2013 10:52, Dmitry Torokhov wrote: > On Wed, Jul 10, 2013 at 04:14:57PM +0100, Grant Likely wrote: > > On Fri, 28 Jun 2013 07:19:06 -0600, Mathieu Poirier < > mathieu.poir...@linaro.org> wrote: > > > On 13-06-28 12:09 AM, Dmitry Torokhov wrote: > > &g

[PATCH v2] Input: Add device tree bindings for input keys

2013-06-28 Thread mathieu . poirier
ng on the associated driver. An extention is also provided for the definition of multiple keysets. Lastly, the possibility to get keyreset timeout values from the device tree based on the new binding is added. Signed-off-by: Mathieu Poirier --- changes for v2: - Moving to pr_debug when 

Re: [PATCH 2/2] Input: Adding DT support for keyreset tuneables

2013-06-28 Thread Mathieu Poirier
On 13-06-28 12:09 AM, Dmitry Torokhov wrote: > On Thu, Jun 27, 2013 at 12:42:14PM -0600, Mathieu Poirier wrote: >> On 13-06-27 12:25 PM, Dmitry Torokhov wrote: >>> On Thu, Jun 27, 2013 at 11:56:37AM -0600, Mathieu Poirier wrote: >>>> On 13-06-27 10:28 AM, Dmitry To

Re: [PATCH 2/2] Input: Adding DT support for keyreset tuneables

2013-06-27 Thread Mathieu Poirier
On 13-06-27 12:25 PM, Dmitry Torokhov wrote: > On Thu, Jun 27, 2013 at 11:56:37AM -0600, Mathieu Poirier wrote: >> On 13-06-27 10:28 AM, Dmitry Torokhov wrote: >>> Hi Mathieu, >>> >>> On Thu, Jun 27, 2013 at 10:13:25AM -0600, mathieu.poir...@linaro.org w

Re: [PATCH 2/2] Input: Adding DT support for keyreset tuneables

2013-06-27 Thread Mathieu Poirier
s from the device tree. >> >> Signed-off-by: Mathieu Poirier >> --- >> drivers/tty/sysrq.c | 54 >> +++ >> 1 file changed, 54 insertions(+) >> >> diff --git a/drivers/tty/sysrq.c b/drivers/tty/sysrq.c

[PATCH 1/2] Input: Add device tree bindings for input keys

2013-06-27 Thread mathieu . poirier
ng on the associated driver. An extention is also provided for the definition of multiple keysets. Signed-off-by: Mathieu Poirier --- .../devicetree/bindings/input/input-keyset.txt | 78 1 file changed, 78 insertions(+) create mode 100644 Documentation/devicetree/

[PATCH 2/2] Input: Adding DT support for keyreset tuneables

2013-06-27 Thread mathieu . poirier
From: "Mathieu J. Poirier" This patch adds the possibility to get the keyreset and timeout values from the device tree. Signed-off-by: Mathieu Poirier --- drivers/tty/sysrq.c | 54 +++ 1 file changed, 54 insertions(+) diff --git a/d