OSDN Git Service

pinctrl: microchip-sgpio: allow sgpio driver to be used as a module
authorColin Foster <colin.foster@in-advantage.com>
Mon, 5 Sep 2022 16:21:28 +0000 (09:21 -0700)
committerLee Jones <lee@kernel.org>
Fri, 9 Sep 2022 06:54:37 +0000 (07:54 +0100)
commit2f65923c5032c9de0d898636d4cd25da5d58e9a7
tree2eaafa3caf5a925475c60ec602b085dccab3555a
parent181f604b33cd8fce06b2497178c71548db1e1934
pinctrl: microchip-sgpio: allow sgpio driver to be used as a module

As the commit message suggests, this simply adds the ability to select
SGPIO pinctrl as a module. This becomes more practical when the SGPIO
hardware exists on an external chip, controlled indirectly by I2C or SPI.
This commit enables that level of control.

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