Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1468810
| From | Dmitry Torokhov <dmitry.torokhov@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 1/2] input: misc: Add generic input driver to read encoded GPIO lines |
| Date | 2016-08-23 22:10 +0200 |
| Message-ID | <s9qbf-ls-7@gated-at.bofh.it> (permalink) |
| References | <s9dnI-eE-7@gated-at.bofh.it> <s9ea6-KG-19@gated-at.bofh.it> <s9m7D-5U4-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Aug 23, 2016 at 10:27:59AM -0500, Andrew F. Davis wrote: > On 08/23/2016 01:16 AM, Vignesh R wrote: > > Add a driver to read group of GPIO lines and provide its status as a > > numerical value as input event to the system. This will help in > > intefacing devices, that can be connected over GPIOs, that provide input > > to the system by driving GPIO lines connected to them like a rotary dial > > or a switch. > > > > For example, a rotary switch can be connected to four GPIO lines. The > > status of the GPIO lines reflect the actual position of the rotary > > switch dial. For example, if dial points to 9, then the four GPIO lines > > connected to the switch will read HLLH(0b'1001 = 9). This value > > can be reported as an ABS_* event to the input subsystem. > > > > Signed-off-by: Vignesh R <vigneshr@ti.com> > > Acked-by: Rob Herring <robh@kernel.org> > > --- > > > > v2: Use decoder,max-value instead of gpio-decoder,max-value. That's not what Rob asked for. "decoder-max-value", not "decoder" vendor prefix. Thanks. -- Dmitry
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 1/2] input: misc: Add generic input driver to read encoded GPIO lines Vignesh R <vigneshr@ti.com> - 2016-08-23 09:20 +0200
Re: [PATCH v2 1/2] input: misc: Add generic input driver to read encoded GPIO lines "Andrew F. Davis" <afd@ti.com> - 2016-08-23 17:50 +0200
Re: [PATCH v2 1/2] input: misc: Add generic input driver to read encoded GPIO lines Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2016-08-23 22:10 +0200
Re: [PATCH v2 1/2] input: misc: Add generic input driver to read encoded GPIO lines Vignesh R <vigneshr@ti.com> - 2016-08-24 08:50 +0200
Re: [PATCH v2 1/2] input: misc: Add generic input driver to read encoded GPIO lines Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2016-08-23 22:30 +0200
Re: [PATCH v2 1/2] input: misc: Add generic input driver to read encoded GPIO lines Vignesh R <vigneshr@ti.com> - 2016-08-24 08:50 +0200
csiph-web