pinctrl: spear: spear: Convert to regmap
authorHerve Codina <herve.codina@bootlin.com>
Thu, 2 Dec 2021 09:52:50 +0000 (10:52 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 4 Dec 2021 23:32:44 +0000 (00:32 +0100)
commitd11db044a394e2f842bd6f31b904feb298a4699f
treeb99db33084aa60e60f28c6bcb1fb2f6d4a8ed27e
parent896568e5b9c8a170912ff83760dca51703e276f1
pinctrl: spear: spear: 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-2-herve.codina@bootlin.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/spear/pinctrl-spear.c
drivers/pinctrl/spear/pinctrl-spear.h