Commit Graph

1 Commits

Author SHA1 Message Date
Ming Wang d015ad0ba0 rtc: ls2x: Add support for the Loongson-2K/LS7A RTC
ANBZ: #5200

commit 1b733a9ebc upstream.

This RTC module is integrated into the Loongson-2K SoC and the LS7A
bridge chip. This version is almost entirely rewritten to make use of
current kernel API, and it supports both ACPI and DT.

This patch also make CONFIG_RTC_DRV_EFI=m. The purpose of this is to
make rtc-ls2x device to /dev/rtc0.

Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Signed-off-by: Xuefeng Li <lixuefeng@loongson.cn>
Signed-off-by: Juxin Gao <gaojuxin@loongson.cn>
Signed-off-by: Ming Wang <wangming01@loongson.cn>
Link: https://gitee.com/anolis/cloud-kernel/pulls/1934
2023-07-25 06:02:26 +00:00