From: Sebastian Reichel <sre@kernel.org>
To: Sebastian Reichel <sre@kernel.org>,
Linus Walleij <linus.walleij@linaro.org>,
Alexandre Courbot <gnurou@gmail.com>
Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] mcp23s08 pinconf support
Date: Fri, 27 Jan 2017 15:47:36 +0100 [thread overview]
Message-ID: <20170127144738.21107-1-sre@kernel.org> (raw)
Hi,
Here are two patches for the mcp23s08 driver adding proper support for the
pull-up resistors. The regmap conversion was mainly done to improve the
debugging capabilities, but is also a nice cleanup. Further cleanups could
be done by using regmap's caching instead of the open-coded one.
The patches were tested with a couple of mcp23017 connected to the I²C bus of
an RPi (and modified DT).
-- Sebastian
Sebastian Reichel (2):
gpio: mcp23s08: use regmap
gpio: mcp23s08: add pinconf support
drivers/gpio/gpio-mcp23s08.c | 430 ++++++++++++++++++++++++++-----------------
1 file changed, 261 insertions(+), 169 deletions(-)
--
2.11.0
next reply other threads:[~2017-01-27 14:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-27 14:47 Sebastian Reichel [this message]
2017-01-27 14:47 ` [PATCH 1/2] gpio: mcp23s08: use regmap Sebastian Reichel
2017-01-30 14:58 ` Linus Walleij
2017-01-27 14:47 ` [PATCH 2/2] gpio: mcp23s08: add pinconf support Sebastian Reichel
2017-01-27 17:16 ` kbuild test robot
2017-01-27 19:00 ` kbuild test robot
2017-01-30 15:08 ` Linus Walleij
2017-01-30 16:40 ` Sebastian Reichel
2017-02-01 15:12 ` Linus Walleij
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=20170127144738.21107-1-sre@kernel.org \
--to=sre@kernel.org \
--cc=gnurou@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@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;
as well as URLs for NNTP newsgroup(s).