From: Rob Herring <robh@kernel.org>
To: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
devicetree@vger.kernel.org, linux-input@vger.kernel.org
Subject: Re: [PATCH v6] input: add ADC resistor ladder driver
Date: Sun, 28 Aug 2016 19:33:28 -0500 [thread overview]
Message-ID: <20160829003328.GA19426@rob-hp-laptop> (raw)
In-Reply-To: <1471954696-11897-1-git-send-email-alexandre.belloni@free-electrons.com>
On Tue, Aug 23, 2016 at 02:18:16PM +0200, Alexandre Belloni wrote:
> A common way of multiplexing buttons on a single input in cheap devices is
> to use a resistor ladder on an ADC. This driver supports that configuration
> by polling an ADC channel provided by IIO.
>
> Acked-by: Jonathan Cameron <jic23@kernel.org>
> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> ---
> Changes in v6:
> - switched to microvolts
>
> Changes in v5:
> - Dmitry's changes
> - s/mvolt/millivolt/
>
>
> .../devicetree/bindings/input/adc-keys.txt | 49 +++++
Acked-by: Rob Herring <robh@kernel.org>
> drivers/input/keyboard/Kconfig | 15 ++
> drivers/input/keyboard/Makefile | 1 +
> drivers/input/keyboard/adc-keys.c | 210 +++++++++++++++++++++
> 4 files changed, 275 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/input/adc-keys.txt
> create mode 100644 drivers/input/keyboard/adc-keys.c
next prev parent reply other threads:[~2016-08-29 0:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-23 12:18 [PATCH v6] input: add ADC resistor ladder driver Alexandre Belloni
2016-08-29 0:33 ` Rob Herring [this message]
2016-08-30 3:00 ` Dmitry Torokhov
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=20160829003328.GA19426@rob-hp-laptop \
--to=robh@kernel.org \
--cc=alexandre.belloni@free-electrons.com \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.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