830440cf8dbf77c34068501a382bb8d2b6fa5e60
[openwrt/staging/chunkeey.git] / target / linux / realtek / patches-5.10 / 306-gpio-add-legacy-rtl838x-driver.patch
1 --- a/drivers/gpio/Kconfig
2 +++ b/drivers/gpio/Kconfig
3 @@ -514,6 +514,12 @@
4 help
5 Say yes here to support Realtek RTL8231 GPIO expansion chips.
6
7 +config GPIO_RTL838X
8 + tristate "RTL838X GPIO"
9 + depends on RTL838X
10 + help
11 + Say yes here to support RTL838X GPIO on RTL93xx SoCs.
12 +
13 config GPIO_SAMA5D2_PIOBU
14 tristate "SAMA5D2 PIOBU GPIO support"
15 depends on MFD_SYSCON
16 --- a/drivers/gpio/Makefile
17 +++ b/drivers/gpio/Makefile
18 @@ -127,6 +127,7 @@
19 obj-$(CONFIG_GPIO_REALTEK_OTTO) += gpio-realtek-otto.o
20 obj-$(CONFIG_GPIO_REG) += gpio-reg.o
21 obj-$(CONFIG_GPIO_RTL8231) += gpio-rtl8231.o
22 +obj-$(CONFIG_GPIO_RTL838X) += gpio-rtl838x.o
23 obj-$(CONFIG_ARCH_SA1100) += gpio-sa1100.o
24 obj-$(CONFIG_GPIO_SAMA5D2_PIOBU) += gpio-sama5d2-piobu.o
25 obj-$(CONFIG_GPIO_SCH311X) += gpio-sch311x.o