pinctrl: ocelot: convert pinctrl to regmap
authorColin Foster <colin.foster@in-advantage.com>
Fri, 19 Nov 2021 19:59:27 +0000 (11:59 -0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 22 Nov 2021 00:07:02 +0000 (01:07 +0100)
commit076d9e71bcf8a80c94bf1d46c424977472c97078
tree87a4af449b73d5f936b5101b44093d2925ce8105
parenta159c2b4cb7517fe11f3ce698f792126e964fc7a
pinctrl: ocelot: convert pinctrl to regmap

In order to allow external control via SPI, memory-mapped areas must be
changed to use the generic regmap interface. This is step 1, and is
followed by an implementation that allows a custom regmap.

Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Link: https://lore.kernel.org/r/20211119195928.2498441-4-colin.foster@in-advantage.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-ocelot.c