pinctrl: spear: plgpio: Convert to regmap
authorHerve Codina <herve.codina@bootlin.com>
Thu, 2 Dec 2021 09:52:51 +0000 (10:52 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 4 Dec 2021 23:32:59 +0000 (00:32 +0100)
commit7151cef59e83695adc79bd7c539f371dc674824b
tree0bea7e4d6c2838d3fc8d65540f3e993204f37548
parentd11db044a394e2f842bd6f31b904feb298a4699f
pinctrl: spear: plgpio: Convert to regmap

Resources need to be shared between pinmux and plgpio.

Use regmap (syscon) to access resources to allow an
easy way to share resources.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/20211202095255.165797-3-herve.codina@bootlin.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/spear/pinctrl-plgpio.c