From: Marek Vasut <marex@denx.de>
To: Lauri Hintsala <lauri.hintsala@bluegiga.com>
Cc: linux-iio@vger.kernel.org,
Fabio Estevam <fabio.estevam@freescale.com>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
linux-arm-kernel@lists.infradead.org,
Shawn Guo <shawn.guo@linaro.org>,
Jonathan Cameron <jic23@kernel.org>
Subject: Re: [PATCH 1/2 V3] iio: mxs: Implement support for touchscreen
Date: Fri, 11 Jan 2013 10:06:03 +0100 [thread overview]
Message-ID: <201301111006.03722.marex@denx.de> (raw)
In-Reply-To: <50EFCDF2.7090207@bluegiga.com>
Dear Lauri Hintsala,
> Hi,
>
> On 01/11/2013 01:43 AM, Marek Vasut wrote:
> > This patch implements support for sampling of a touchscreen into
> > the MXS LRADC driver. The LRADC block allows configuring some of
> > it's channels into special mode where they either output the drive
> > voltage or sample it, allowing it to operate a 4-wire or 5-wire
> > resistive touchscreen.
> >
> > In case the touchscreen mode is enabled, the LRADC slot #7 is
> > reserved for touchscreen only, therefore it is not possible to
> > sample 8 LRADC channels at time, but only 7 channels.
> >
> > The touchscreen controller is configured such that the PENDOWN event
> > disables touchscreen interrupts and triggers execution of worker
> > thread, which then polls the touchscreen controller for X, Y and
> > Pressure values. This reduces the overhead of interrupt-driven
> > operation. Upon the PENUP event, the worker thread re-enables the
> > PENDOWN detection interrupt and exits.
> >
> > Signed-off-by: Marek Vasut <marex@denx.de>
> > Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> > Cc: Fabio Estevam <fabio.estevam@freescale.com>
> > Cc: Jonathan Cameron <jic23@kernel.org>
> > Cc: Shawn Guo <shawn.guo@linaro.org>
> > ---
> >
> > .../bindings/staging/iio/adc/mxs-lradc.txt | 6 +
> > drivers/staging/iio/adc/mxs-lradc.c | 473
> > +++++++++++++++++++- 2 files changed, 455 insertions(+), 24
> > deletions(-)
>
> Works fine with apx4devkit.
>
> Tested-by: Lauri Hintsala <lauri.hintsala@bluegiga.com>
Thanks Lauri :)
Best regards,
Marek Vasut
WARNING: multiple messages have this Message-ID (diff)
From: marex@denx.de (Marek Vasut)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2 V3] iio: mxs: Implement support for touchscreen
Date: Fri, 11 Jan 2013 10:06:03 +0100 [thread overview]
Message-ID: <201301111006.03722.marex@denx.de> (raw)
In-Reply-To: <50EFCDF2.7090207@bluegiga.com>
Dear Lauri Hintsala,
> Hi,
>
> On 01/11/2013 01:43 AM, Marek Vasut wrote:
> > This patch implements support for sampling of a touchscreen into
> > the MXS LRADC driver. The LRADC block allows configuring some of
> > it's channels into special mode where they either output the drive
> > voltage or sample it, allowing it to operate a 4-wire or 5-wire
> > resistive touchscreen.
> >
> > In case the touchscreen mode is enabled, the LRADC slot #7 is
> > reserved for touchscreen only, therefore it is not possible to
> > sample 8 LRADC channels at time, but only 7 channels.
> >
> > The touchscreen controller is configured such that the PENDOWN event
> > disables touchscreen interrupts and triggers execution of worker
> > thread, which then polls the touchscreen controller for X, Y and
> > Pressure values. This reduces the overhead of interrupt-driven
> > operation. Upon the PENUP event, the worker thread re-enables the
> > PENDOWN detection interrupt and exits.
> >
> > Signed-off-by: Marek Vasut <marex@denx.de>
> > Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> > Cc: Fabio Estevam <fabio.estevam@freescale.com>
> > Cc: Jonathan Cameron <jic23@kernel.org>
> > Cc: Shawn Guo <shawn.guo@linaro.org>
> > ---
> >
> > .../bindings/staging/iio/adc/mxs-lradc.txt | 6 +
> > drivers/staging/iio/adc/mxs-lradc.c | 473
> > +++++++++++++++++++- 2 files changed, 455 insertions(+), 24
> > deletions(-)
>
> Works fine with apx4devkit.
>
> Tested-by: Lauri Hintsala <lauri.hintsala@bluegiga.com>
Thanks Lauri :)
Best regards,
Marek Vasut
next prev parent reply other threads:[~2013-01-11 9:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-10 23:43 [PATCH 1/2 V3] iio: mxs: Implement support for touchscreen Marek Vasut
2013-01-10 23:43 ` Marek Vasut
2013-01-10 23:43 ` [PATCH 2/2] iio: mxs: Enable touchscreen on m28evk Marek Vasut
2013-01-10 23:43 ` Marek Vasut
2013-01-11 8:31 ` [PATCH 1/2 V3] iio: mxs: Implement support for touchscreen Lauri Hintsala
2013-01-11 8:31 ` Lauri Hintsala
2013-01-11 9:06 ` Marek Vasut [this message]
2013-01-11 9:06 ` Marek Vasut
2013-01-11 16:54 ` Dmitry Torokhov
2013-01-11 16:54 ` Dmitry Torokhov
2013-01-11 23:36 ` Marek Vasut
2013-01-11 23:36 ` Marek Vasut
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=201301111006.03722.marex@denx.de \
--to=marex@denx.de \
--cc=dmitry.torokhov@gmail.com \
--cc=fabio.estevam@freescale.com \
--cc=jic23@kernel.org \
--cc=lauri.hintsala@bluegiga.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-iio@vger.kernel.org \
--cc=shawn.guo@linaro.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.