Skip to content

Commit 7adca70

Browse files
CL Wangalexandrebelloni
authored andcommitted
rtc: atcrtc100: Add ATCRTC100 RTC driver
RTC driver for Andes ATCRTC100 Real-Time Clock. Signed-off-by: CL Wang <cl634@andestech.com> Link: https://patch.msgid.link/20250915031439.2680364-4-cl634@andestech.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent a603092 commit 7adca70

3 files changed

Lines changed: 395 additions & 0 deletions

File tree

drivers/rtc/Kconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,6 +1063,21 @@ config RTC_DRV_ALPHA
10631063
Direct support for the real-time clock found on every Alpha
10641064
system, specifically MC146818 compatibles. If in doubt, say Y.
10651065

1066+
config RTC_DRV_ATCRTC100
1067+
tristate "Andes ATCRTC100"
1068+
depends on ARCH_ANDES || COMPILE_TEST
1069+
select REGMAP_MMIO
1070+
help
1071+
If you say yes here you will get support for the Andes ATCRTC100
1072+
RTC driver.
1073+
1074+
This driver provides support for the Andes ATCRTC100 real-time clock
1075+
device. It allows setting and retrieving the time and date, as well
1076+
as setting alarms.
1077+
1078+
To compile this driver as a module, choose M here: the module will
1079+
be called rtc-atcrtc100.
1080+
10661081
config RTC_DRV_DS1216
10671082
tristate "Dallas DS1216"
10681083
depends on SNI_RM

drivers/rtc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ obj-$(CONFIG_RTC_DRV_ASM9260) += rtc-asm9260.o
3434
obj-$(CONFIG_RTC_DRV_ASPEED) += rtc-aspeed.o
3535
obj-$(CONFIG_RTC_DRV_AT91RM9200)+= rtc-at91rm9200.o
3636
obj-$(CONFIG_RTC_DRV_AT91SAM9) += rtc-at91sam9.o
37+
obj-$(CONFIG_RTC_DRV_ATCRTC100) += rtc-atcrtc100.o
3738
obj-$(CONFIG_RTC_DRV_AU1XXX) += rtc-au1xxx.o
3839
obj-$(CONFIG_RTC_DRV_BBNSM) += rtc-nxp-bbnsm.o
3940
obj-$(CONFIG_RTC_DRV_BD70528) += rtc-bd70528.o

0 commit comments

Comments
 (0)