[PATCH v2] LoongArch: defconfig: enable generic I2C slave support

From: Pengpeng Hou

Date: Fri Aug 14 2026 - 04:02:20 EST


The DesignWare I2C slave object is now controlled by the generic
CONFIG_I2C_SLAVE symbol. The LoongArch defconfigs still set the removed
CONFIG_I2C_DESIGNWARE_SLAVE symbol.

Use the current generic symbol so the intended DesignWare slave support
continues to be built.

Assisted-by: Codex:gpt-5
Signed-off-by: Pengpeng Hou <pengpeng@xxxxxxxxxxx>
---
Changes since v1: https://lore.kernel.org/all/20260624081618.93699-1-pengpeng@xxxxxxxxxxx/
- no source-code changes
- rebase both LoongArch defconfigs
- add the coding-assistant disclosure

The current Kconfig object mapping was reviewed statically; no LoongArch
kernel build was performed.

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
index 7c8f01513ed2..7672e77bab1e 100644
--- 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
index 8e3906d3bd70..65afcd8a7ba5 100644
--- 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
--
2.50.1 (Apple Git-155)