[PATCH v1 net-next 0/4] pinctrl: update drivers to utilize regmap

From: Colin Foster
Date: Fri Nov 19 2021 - 15:00:10 EST


Work is being done to convert drivers utilized by the VSC7514 chip to be
externally controlled via SPI instead of MMIO. The first step is to
abstract memory-mapped calls to use regmap.

That patch set has grown to 23 and counting. In order to keep that scope
minimized, I'm submitting this patchset to convert the two pinctrl
drivers to a regmap implementation.

This patch
pinctrl: ocelot: update pinctrl to automatic base address
is the only one that should have any functional changes, and therefore
has been tested. The rest should only impact what would be expected by
normal regmap abstraction.


Colin Foster (4):
pinctrl: ocelot: combine get resource and ioremap into single call
pinctrl: ocelot: update pinctrl to automatic base address
pinctrl: ocelot: convert pinctrl to regmap
pinctrl: microchip-sgpio: update to support regmap

drivers/pinctrl/pinctrl-microchip-sgpio.c | 45 +++++++++++----
drivers/pinctrl/pinctrl-ocelot.c | 69 ++++++++++++++++++-----
2 files changed, 90 insertions(+), 24 deletions(-)

--
2.25.1