summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/Kconfig
diff options
context:
space:
mode:
authorLars Povlsen <lars.povlsen@microchip.com>2020-12-09 15:27:51 +0100
committerLinus Walleij <linus.walleij@linaro.org>2020-12-11 23:48:52 +0100
commitbe2dc859abd4d7ad5e0f5d12ed767a3313b4e839 (patch)
tree52477a57b29df3b1c8c0724112cedc1c6f99928d /drivers/pinctrl/Kconfig
parent6e261d1090d6db0e9dd22978b6f38a2c58558a3f (diff)
pinctrl: pinctrl-microchip-sgpio: Add irq support (for sparx5)
This adds 'interrupt-controller' features for the signals available on the Microchip SGPIO controller, however only for controller versions on the Sparx5 platform (or later). Signed-off-by: Lars Povlsen <lars.povlsen@microchip.com> Link: https://lore.kernel.org/r/20201209142753.683208-2-lars.povlsen@microchip.com [Select GPIOLIB_IRQCHIP in Kconfig] Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/Kconfig')
-rw-r--r--drivers/pinctrl/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index 5946f8077e71..67352375036f 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -380,6 +380,7 @@ config PINCTRL_MICROCHIP_SGPIO
depends on OF
depends on HAS_IOMEM
select GPIOLIB
+ select GPIOLIB_IRQCHIP
select GENERIC_PINCONF
select GENERIC_PINCTRL_GROUPS
select GENERIC_PINMUX_FUNCTIONS