mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-14 17:00:18 +00:00
34 lines
1.1 KiB
Diff
34 lines
1.1 KiB
Diff
|
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
|
||
|
index cbfb6f13..b3106df6 100644
|
||
|
--- a/drivers/gpio/Kconfig
|
||
|
+++ b/drivers/gpio/Kconfig
|
||
|
@@ -247,6 +247,16 @@ config GPIO_EM
|
||
|
help
|
||
|
Say yes here to support GPIO on Renesas Emma Mobile SoCs.
|
||
|
|
||
|
+config GPIO_EN7523
|
||
|
+ tristate "Airoha GPIO support"
|
||
|
+ depends on ARCH_AIROHA
|
||
|
+ default ARCH_AIROHA
|
||
|
+ select GPIO_GENERIC
|
||
|
+ select GPIOLIB_IRQCHIP
|
||
|
+ help
|
||
|
+ Say Y or M here to support the GPIO controller block on the
|
||
|
+ Airoha EN7523 SoC. It supports two banks of 32 GPIOs.
|
||
|
+
|
||
|
config GPIO_EP93XX
|
||
|
def_bool y
|
||
|
depends on ARCH_EP93XX
|
||
|
diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile
|
||
|
index 61202717..4c73ce82 100644
|
||
|
--- a/drivers/gpio/Makefile
|
||
|
+++ b/drivers/gpio/Makefile
|
||
|
@@ -57,6 +57,7 @@ obj-$(CONFIG_GPIO_DLN2) += gpio-dln2.o
|
||
|
obj-$(CONFIG_GPIO_DWAPB) += gpio-dwapb.o
|
||
|
obj-$(CONFIG_GPIO_EIC_SPRD) += gpio-eic-sprd.o
|
||
|
obj-$(CONFIG_GPIO_EM) += gpio-em.o
|
||
|
+obj-$(CONFIG_GPIO_EN7523) += gpio-en7523.o
|
||
|
obj-$(CONFIG_GPIO_EP93XX) += gpio-ep93xx.o
|
||
|
obj-$(CONFIG_GPIO_EXAR) += gpio-exar.o
|
||
|
obj-$(CONFIG_GPIO_F7188X) += gpio-f7188x.o
|