aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorINAGAKI Hiroshi <musashino.open@gmail.com>2022-07-24 18:03:37 +0900
committerSander Vanheule <sander@svanheule.net>2022-08-06 14:39:57 +0200
commit4974ee7341ebf83579331fbe496a832cf7ed6c56 (patch)
tree92f432878d78658e09010b103319943c4f17b1dc
parentfa52e5e2542883382e5bb7233ddfb8b025f932ab (diff)
downloadupstream-4974ee7341ebf83579331fbe496a832cf7ed6c56.tar.gz
upstream-4974ee7341ebf83579331fbe496a832cf7ed6c56.tar.bz2
upstream-4974ee7341ebf83579331fbe496a832cf7ed6c56.zip
realtek: enable pca953x GPIO driver for rtl839x subtarget
The system status LED on Panasonic Switch-M48eG PN28480K is connected to a PCA9539PW. To use the LED as a status LED of OpenWrt while booting, enable the pca953x driver and built-in to the kernel. Also enable CONFIG_GPIO_PCA953X_IRQ to use interrupt via RTL83xx GPIO. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
-rw-r--r--target/linux/realtek/rtl839x/config-5.103
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/realtek/rtl839x/config-5.10 b/target/linux/realtek/rtl839x/config-5.10
index 76a0517ede..1b4e1de43f 100644
--- a/target/linux/realtek/rtl839x/config-5.10
+++ b/target/linux/realtek/rtl839x/config-5.10
@@ -70,6 +70,8 @@ CONFIG_GENERIC_TIME_VSYSCALL=y
CONFIG_GPIOLIB=y
CONFIG_GPIOLIB_IRQCHIP=y
CONFIG_GPIO_GENERIC=y
+CONFIG_GPIO_PCA953X=y
+CONFIG_GPIO_PCA953X_IRQ=y
CONFIG_GPIO_REALTEK_OTTO=y
CONFIG_GPIO_RTL8231=y
CONFIG_GRO_CELLS=y
@@ -169,6 +171,7 @@ CONFIG_REALTEK_OTTO_WDT=y
CONFIG_REALTEK_PHY=y
CONFIG_REALTEK_SOC_PHY=y
CONFIG_REGMAP=y
+CONFIG_REGMAP_I2C=y
CONFIG_REGMAP_MMIO=y
CONFIG_RESET_CONTROLLER=y
CONFIG_RTL83XX=y