319336257b9ed92f9346ec9446e4f9a29644c757
[openwrt/staging/nbd.git] / target / linux / airoha / patches-5.15 / 0003-add-airoha-en7523-gpio-driver.patch
1 --- a/drivers/gpio/Kconfig
2 +++ b/drivers/gpio/Kconfig
3 @@ -247,6 +247,16 @@ config GPIO_EM
4 help
5 Say yes here to support GPIO on Renesas Emma Mobile SoCs.
6
7 +config GPIO_EN7523
8 + tristate "Airoha GPIO support"
9 + depends on ARCH_AIROHA
10 + default ARCH_AIROHA
11 + select GPIO_GENERIC
12 + select GPIOLIB_IRQCHIP
13 + help
14 + Say Y or M here to support the GPIO controller block on the
15 + Airoha EN7523 SoC. It supports two banks of 32 GPIOs.
16 +
17 config GPIO_EP93XX
18 def_bool y
19 depends on ARCH_EP93XX
20 --- a/drivers/gpio/Makefile
21 +++ b/drivers/gpio/Makefile
22 @@ -57,6 +57,7 @@ obj-$(CONFIG_GPIO_DLN2) += gpio-dln2.o
23 obj-$(CONFIG_GPIO_DWAPB) += gpio-dwapb.o
24 obj-$(CONFIG_GPIO_EIC_SPRD) += gpio-eic-sprd.o
25 obj-$(CONFIG_GPIO_EM) += gpio-em.o
26 +obj-$(CONFIG_GPIO_EN7523) += gpio-en7523.o
27 obj-$(CONFIG_GPIO_EP93XX) += gpio-ep93xx.o
28 obj-$(CONFIG_GPIO_EXAR) += gpio-exar.o
29 obj-$(CONFIG_GPIO_F7188X) += gpio-f7188x.o