]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: ocelot: add ability to be used in a non-mmio configuration
authorColin Foster <colin.foster@in-advantage.com>
Mon, 5 Sep 2022 16:21:27 +0000 (09:21 -0700)
committerLee Jones <lee@kernel.org>
Fri, 9 Sep 2022 06:54:34 +0000 (07:54 +0100)
commitc8ba96b3337f9f3aa522e689a6e208ca61a7e546
treeda07ca77d0237c6f7d4142724359b61db28ac2f7
parentecf38235bdebf78d2352a0587375c5e220e064bf
pinctrl: ocelot: add ability to be used in a non-mmio configuration

There are a few Ocelot chips that contain pinctrl logic, but can be
controlled externally. Specifically the VSC7511, 7512, 7513 and 7514. In
the externally controlled configurations these registers are not
memory-mapped.

Add support for these non-memory-mapped configurations.

Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20220905162132.2943088-4-colin.foster@in-advantage.com
drivers/pinctrl/pinctrl-ocelot.c