From 5b8155d4344a2420edb397def0c80690bb6e5110 Mon Sep 17 00:00:00 2001 From: Markus Stockhausen Date: Fri, 13 Jun 2025 04:33:16 -0400 Subject: [PATCH] realtek: activate i2c-gpio-shared driver Currently only RTL83xx devices are known with shared SCL pins. So activate the driver only for those targets. Signed-off-by: Markus Stockhausen Link: https://github.com/openwrt/openwrt/pull/18737 Signed-off-by: Robert Marko --- target/linux/realtek/rtl838x/config-6.12 | 1 + target/linux/realtek/rtl839x/config-6.12 | 1 + target/linux/realtek/rtl930x/config-6.12 | 1 + target/linux/realtek/rtl931x/config-6.12 | 1 + 4 files changed, 4 insertions(+) diff --git a/target/linux/realtek/rtl838x/config-6.12 b/target/linux/realtek/rtl838x/config-6.12 index dd9a61a261b..6676ae96606 100644 --- a/target/linux/realtek/rtl838x/config-6.12 +++ b/target/linux/realtek/rtl838x/config-6.12 @@ -111,6 +111,7 @@ CONFIG_I2C_ALGOBIT=y CONFIG_I2C_BOARDINFO=y CONFIG_I2C_CHARDEV=y CONFIG_I2C_GPIO=y +CONFIG_I2C_GPIO_SHARED=y CONFIG_I2C_MUX=y # CONFIG_I2C_MUX_RTL9300 is not set # CONFIG_I2C_RTL9300 is not set diff --git a/target/linux/realtek/rtl839x/config-6.12 b/target/linux/realtek/rtl839x/config-6.12 index f71be029065..0319bfa0b06 100644 --- a/target/linux/realtek/rtl839x/config-6.12 +++ b/target/linux/realtek/rtl839x/config-6.12 @@ -111,6 +111,7 @@ CONFIG_I2C=y CONFIG_I2C_ALGOBIT=y CONFIG_I2C_BOARDINFO=y CONFIG_I2C_GPIO=y +CONFIG_I2C_GPIO_SHARED=y # CONFIG_I2C_MUX_RTL9300 is not set # CONFIG_I2C_RTL9300 is not set CONFIG_INITRAMFS_SOURCE="" diff --git a/target/linux/realtek/rtl930x/config-6.12 b/target/linux/realtek/rtl930x/config-6.12 index c01fa172f47..3b3bcae8db3 100644 --- a/target/linux/realtek/rtl930x/config-6.12 +++ b/target/linux/realtek/rtl930x/config-6.12 @@ -92,6 +92,7 @@ CONFIG_I2C_ALGOBIT=y CONFIG_I2C_BOARDINFO=y CONFIG_I2C_CHARDEV=y CONFIG_I2C_GPIO=y +# CONFIG_I2C_GPIO_SHARED is not set CONFIG_I2C_MUX=y CONFIG_I2C_MUX_RTL9300=y CONFIG_I2C_RTL9300=y diff --git a/target/linux/realtek/rtl931x/config-6.12 b/target/linux/realtek/rtl931x/config-6.12 index 751547cb914..8cadfb6a5a7 100644 --- a/target/linux/realtek/rtl931x/config-6.12 +++ b/target/linux/realtek/rtl931x/config-6.12 @@ -97,6 +97,7 @@ CONFIG_I2C_ALGOBIT=y CONFIG_I2C_BOARDINFO=y CONFIG_I2C_CHARDEV=y CONFIG_I2C_GPIO=y +# CONFIG_I2C_GPIO_SHARED is not set CONFIG_I2C_MUX=y CONFIG_I2C_MUX_RTL9300=y CONFIG_I2C_RTL9300=y