From: Sebastian Reichel <sre@kernel.org>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>, linux-input@vger.kernel.org
Cc: Michael Welling <mwelling@emacinc.com>,
linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org,
Sebastian Reichel <sre@kernel.org>
Subject: [PATCH 0/5] [input] tsc2005 cleanup
Date: Wed, 22 Jul 2015 22:04:40 +0200 [thread overview]
Message-ID: <1437595485-16421-1-git-send-email-sre@kernel.org> (raw)
Hi,
The following patches simplify and cleanup the tsc2005 touchscreen driver.
Apart from making the driver more readable, the direct usage of SPI has been
reduced to one function, so that tsc2004 support may be addable now (see [0]).
Changes since PATCHv1 [1]:
* Avoid mixing spi_*_drvdata() and dev_*_drvdata() by converting
all spi_*_drvdata() to dev_*_drvdata()
* Add new patch fixing the indent of TSC2005's Kconfig entry
* Select REGMAP_SPI in TSC2005's Kconfig entry
* Use optional gpiod and regulator API, so that the DT check can
be removed
* Set TSC2005_REG_PND0 on regmap writes, since it has also been
used before the regmap conversion.
[0] http://permalink.gmane.org/gmane.linux.kernel.input/37513
[1] https://lkml.org/lkml/2015/7/15/500
-- Sebastian
Sebastian Reichel (5):
Input: tsc2005 - improve readability of register defines
Input: tsc2005 - fix Kconfig indentation
Input: tsc2005 - convert to regmap
Input: tsc2005 - simplify drvdata acquisition
Input: tsc2005 - convert to gpiod
drivers/input/touchscreen/Kconfig | 9 +-
drivers/input/touchscreen/tsc2005.c | 262 ++++++++++++++----------------------
2 files changed, 106 insertions(+), 165 deletions(-)
--
2.1.4
next reply other threads:[~2015-07-22 20:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-22 20:04 Sebastian Reichel [this message]
2015-07-22 20:04 ` [PATCH 1/5] Input: tsc2005 - improve readability of register defines Sebastian Reichel
2015-07-22 20:04 ` [PATCH 2/5] Input: tsc2005 - fix Kconfig indentation Sebastian Reichel
2015-07-22 20:04 ` [PATCH 3/5] Input: tsc2005 - convert to regmap Sebastian Reichel
2015-07-22 20:04 ` [PATCH 4/5] Input: tsc2005 - simplify drvdata acquisition Sebastian Reichel
2015-07-22 20:04 ` [PATCH 5/5] Input: tsc2005 - convert to gpiod Sebastian Reichel
2015-07-28 0:51 ` 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=1437595485-16421-1-git-send-email-sre@kernel.org \
--to=sre@kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=mwelling@emacinc.com \
/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