Skip to content

mcp23s08 pinconf support

Sebastian Reichel linux-gpio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2gpio: mcp23s08: use regmapdrivers/gpio/gpio-mcp23s08.c+130 -1901 reply
2/2gpio: mcp23s08: add pinconf supportdrivers/gpio/gpio-mcp23s08.c+176 -243 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] mcp23s08 pinconf support

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(-)
Signature · 1 line
2.11.0