Re: [PATCH v1] Input: rotary-encoder - Add gpio as push button

2019-06-23 Thread Dmitry Torokhov
On Fri, Jun 14, 2019 at 04:51:58PM +0200, Maxime Ripard wrote: > Hi Mylene, > > On Fri, Jun 14, 2019 at 03:36:51PM +0200, Mylène Josserand wrote: > > Add the support of a gpio that can be defined as a push button. > > Thanks to that, it is possible to emit a keycode in case of a > > "push" event,

Re: [PATCH v1] Input: rotary-encoder - Add gpio as push button

2019-06-14 Thread Maxime Ripard
Hi Mylene, On Fri, Jun 14, 2019 at 03:36:51PM +0200, Mylène Josserand wrote: > Add the support of a gpio that can be defined as a push button. > Thanks to that, it is possible to emit a keycode in case of a > "push" event, if the rotary supports that. > > The keycode to emit is defined using "linu

[PATCH v1] Input: rotary-encoder - Add gpio as push button

2019-06-14 Thread Mylène Josserand
Add the support of a gpio that can be defined as a push button. Thanks to that, it is possible to emit a keycode in case of a "push" event, if the rotary supports that. The keycode to emit is defined using "linux,code" property (such as in gpio-keys). Signed-off-by: Mylène Josserand --- .../dev