aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/config-5.10
diff options
context:
space:
mode:
authorINAGAKI Hiroshi <musashino.open@gmail.com>2021-05-05 22:05:39 +0900
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-09-26 00:32:17 +0200
commit9bac1c20b8f39f2e0e342b087add5093b94feaed (patch)
tree3a957513ffe851ecfc1ec6549b8432608c36679d /target/linux/realtek/config-5.10
parentfbd675c668e1e6be4e5a8a8107902282e668a3a0 (diff)
downloadupstream-9bac1c20b8f39f2e0e342b087add5093b94feaed.tar.gz
upstream-9bac1c20b8f39f2e0e342b087add5093b94feaed.tar.bz2
upstream-9bac1c20b8f39f2e0e342b087add5093b94feaed.zip
realtek: backport gpio-realtek-otto driver from 5.13 to 5.10
This patch backports "gpio-realtek-otto" driver to Kernel 5.10. "MACH_REALTEK_RTL" is used as a platform name in upstream, but "RTL838X" is used in OpenWrt, so update the dependency by the additional patch. Note: GPIO mapping is changed in the upstreamed driver. old - new 24 - 0 25 - 1 26 - 2 27 - 3 28 - 4 29 - 5 30 - 6 31 - 7 16 - 8 17 - 9 18 - 10 19 - 11 20 - 12 21 - 13 22 - 14 23 - 15 8 - 16 9 - 17 10 - 18 11 - 19 12 - 20 13 - 21 14 - 22 15 - 23 Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Diffstat (limited to 'target/linux/realtek/config-5.10')
-rw-r--r--target/linux/realtek/config-5.103
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/realtek/config-5.10 b/target/linux/realtek/config-5.10
index b9ed86b426..8baecf42f3 100644
--- a/target/linux/realtek/config-5.10
+++ b/target/linux/realtek/config-5.10
@@ -72,6 +72,9 @@ CONFIG_GENERIC_SCHED_CLOCK=y
CONFIG_GENERIC_SMP_IDLE_THREAD=y
CONFIG_GENERIC_TIME_VSYSCALL=y
CONFIG_GPIOLIB=y
+CONFIG_GPIOLIB_IRQCHIP=y
+CONFIG_GPIO_GENERIC=y
+CONFIG_GPIO_REALTEK_OTTO=y
CONFIG_GPIO_RTL8231=y
CONFIG_REALTEK_SOC_PHY=y
CONFIG_GRO_CELLS=y