From: dmitry.torokhov@gmail.com (Dmitry Torokhov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/2] input: misc: Add generic input driver to read encoded GPIO lines
Date: Tue, 23 Aug 2016 13:03:35 -0700 [thread overview]
Message-ID: <20160823200335.GC6712@dtor-ws> (raw)
In-Reply-To: <949d92f3-4510-ada5-d3d6-a29544465fd6@ti.com>
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
next prev parent reply other threads:[~2016-08-23 20:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-23 6:16 [PATCH v2 0/2] AM335x-ICE: Add support for rotary switch Vignesh R
2016-08-23 6:16 ` [PATCH v2 1/2] input: misc: Add generic input driver to read encoded GPIO lines Vignesh R
2016-08-23 15:27 ` Andrew F. Davis
2016-08-23 20:01 ` Dmitry Torokhov
2016-08-24 6:39 ` Vignesh R
2016-08-23 20:03 ` Dmitry Torokhov [this message]
2016-08-24 6:39 ` Vignesh R
2016-08-23 6:16 ` [PATCH v2 2/2] ARM: dts: am335x-icev2: Add nodes for gpio-decoder Vignesh R
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160823200335.GC6712@dtor-ws \
--to=dmitry.torokhov@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox