From 552a9cc02b0e8a63d802b3a80ceefce0c89cee8a Mon Sep 17 00:00:00 2001 From: Lars Povlsen Date: Wed, 25 Nov 2020 13:20:14 +0100 Subject: 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 Signed-off-by: Lars Povlsen Acked-by: Randy Dunlap Link: https://lore.kernel.org/r/20201125122014.11237-1-lars.povlsen@microchip.com Signed-off-by: Linus Walleij --- drivers/pinctrl/Kconfig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/pinctrl/Kconfig') 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 -- cgit 1.4.1