mbox series

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

Message ID 20211119195928.2498441-1-colin.foster@in-advantage.com
Headers show
Series pinctrl: update drivers to utilize regmap | expand

Message

Colin Foster Nov. 19, 2021, 7:59 p.m. UTC
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(-)