[PATCH] LoongArch: defconfig: Enable generic I2C slave support

From: Pengpeng Hou

Date: Wed Jun 24 2026 - 04:16:34 EST


The DesignWare I2C slave object is now carried by the generic
`CONFIG_I2C_SLAVE` symbol:

i2c-designware-core-$(CONFIG_I2C_SLAVE) += i2c-designware-slave.o

The LoongArch defconfigs still set the stale
`CONFIG_I2C_DESIGNWARE_SLAVE` symbol, which no longer carries that
provider object. Switch the defconfigs to the current generic I2C slave
symbol so the intended slave support remains enabled.

Signed-off-by: Pengpeng Hou <pengpeng@xxxxxxxxxxx>
---
arch/loongarch/configs/loongson32_defconfig | 2 +-
arch/loongarch/configs/loongson64_defconfig | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/loongarch/configs/loongson32_defconfig b/arch/loongarch/configs/loongson32_defconfig
--- a/arch/loongarch/configs/loongson32_defconfig
+++ b/arch/loongarch/configs/loongson32_defconfig
@@ -728,7 +728,7 @@ CONFIG_HW_RANDOM_VIRTIO=m
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_PIIX4=y
CONFIG_I2C_DESIGNWARE_CORE=y
-CONFIG_I2C_DESIGNWARE_SLAVE=y
+CONFIG_I2C_SLAVE=y
CONFIG_I2C_DESIGNWARE_PCI=y
CONFIG_I2C_GPIO=y
CONFIG_SPI=y
diff --git a/arch/loongarch/configs/loongson64_defconfig b/arch/loongarch/configs/loongson64_defconfig
--- a/arch/loongarch/configs/loongson64_defconfig
+++ b/arch/loongarch/configs/loongson64_defconfig
@@ -750,7 +750,7 @@ CONFIG_TCG_LOONGSON=m
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_PIIX4=y
CONFIG_I2C_DESIGNWARE_CORE=y
-CONFIG_I2C_DESIGNWARE_SLAVE=y
+CONFIG_I2C_SLAVE=y
CONFIG_I2C_DESIGNWARE_PCI=y
CONFIG_I2C_GPIO=y
CONFIG_I2C_LS2X=y