diff options
author | Lars Povlsen <[email protected]> | 2020-11-25 13:20:14 +0100 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2020-12-02 00:09:48 +0100 |
commit | 552a9cc02b0e8a63d802b3a80ceefce0c89cee8a (patch) | |
tree | bd510bd1371eeae6ba64ccb5e2c69113142156e6 | |
parent | 7e5ea974e61c8dd0832dcfe931ef959b2eb02587 (diff) |
pinctrl: pinctrl-microchip-sgpio: Add OF config dependency
The pinctrl-microchip-sgpio driver needs OF support, so add that to
Kconfig.
Reported-by: Randy Dunlap <[email protected]>
Signed-off-by: Lars Povlsen <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
-rw-r--r-- | drivers/pinctrl/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index 9b8ed7516355..94e49da49f5c 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -376,11 +376,13 @@ config PINCTRL_OCELOT config PINCTRL_MICROCHIP_SGPIO bool "Pinctrl driver for Microsemi/Microchip Serial GPIO" + depends on OF depends on HAS_IOMEM select GPIOLIB select GENERIC_PINCONF select GENERIC_PINCTRL_GROUPS select GENERIC_PINMUX_FUNCTIONS + select OF_GPIO help Support for the serial GPIO interface used on Microsemi and Microchip SoC's. By using a serial interface, the SIO |