]> git.karo-electronics.de Git - linux-beck.git/commit
greybus: svc: add key event handling
authorRui Miguel Silva <rui.silva@linaro.org>
Thu, 21 Jan 2016 01:42:17 +0000 (01:42 +0000)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 21 Jan 2016 02:03:00 +0000 (18:03 -0800)
commitebe99d61815fea0ecece5ddb530b28339f8d5ed3
tree2025fee89d00c715baa42dd42fa3f6f51049dc8d
parent4b874134284b1dbb340f063fe0cf5141ffd416b1
greybus: svc: add key event handling

Add a new input device associated with the SVC to handle key events.
This new events are transfer over a new greybus svc operation which is
unidirectional.

It was selected the KEY_A for representing the KEY_ARA_BUTTON key code.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/greybus_protocols.h
drivers/staging/greybus/svc.c
drivers/staging/greybus/svc.h