# \[PATCH v5 4/6\] MIPS: Loongson: Enable LS2X RTC in loongson3\_defconfig

- From: WANG Xuerui \<hidden\>
- Date: 2021-07-02 06:55:23 
- List: linux-mips
- Page: https://ratatoskr.run/linux-mips/2021/07/9567202
- Thread: https://ratatoskr.run/linux-rtc/2021/07/8192616/t.md

```text
This is now supported, enable for Loongson-3 systems.
Other systems are unaffected.

Signed-off-by: WANG Xuerui <redacted>
Cc: <redacted>
---
 arch/mips/configs/loongson3_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/mips/configs/loongson3_defconfig b/arch/mips/configs/loongson3_defconfig
index f02101ff04b3..fccb6906d4b4 100644
--- a/arch/mips/configs/loongson3_defconfig
+++ b/arch/mips/configs/loongson3_defconfig
@@ -320,6 +320,7 @@ CONFIG_USB_SERIAL_OPTION=m
 CONFIG_RTC_CLASS=y
 CONFIG_RTC_DRV_CMOS=y
 CONFIG_RTC_DRV_GOLDFISH=y
+CONFIG_RTC_DRV_LS2X=y
 CONFIG_DMADEVICES=y
 CONFIG_VIRTIO_PCI=y
 CONFIG_VIRTIO_BALLOON=m
-- 
2.30.1

```
