All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] mcp23s08 pinconf support
@ 2017-01-27 14:47 Sebastian Reichel
  2017-01-27 14:47 ` [PATCH 1/2] gpio: mcp23s08: use regmap Sebastian Reichel
  2017-01-27 14:47 ` [PATCH 2/2] gpio: mcp23s08: add pinconf support Sebastian Reichel
  0 siblings, 2 replies; 11+ messages in thread
From: Sebastian Reichel @ 2017-01-27 14:47 UTC (permalink / raw)
  To: Sebastian Reichel, Linus Walleij, Alexandre Courbot
  Cc: linux-gpio, linux-kernel

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-02-01 15:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-27 14:47 [PATCH 0/2] mcp23s08 pinconf support Sebastian Reichel
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 17:16     ` kbuild test robot
2017-01-27 19:00   ` 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

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.