Skip to content

Commit 317a610

Browse files
committed
rtc: New RTC driver for SuperH On-Chip RTC.
This replaces the old SH RTC driver, and allows us to clean quite a lot of things up on the board-specific side. Signed-off-by: Paul Mundt <[email protected]>
1 parent af514ca commit 317a610

File tree

3 files changed

+478
-0
lines changed

3 files changed

+478
-0
lines changed

drivers/rtc/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,16 @@ config RTC_DRV_SA1100
238238
To compile this driver as a module, choose M here: the
239239
module will be called rtc-sa1100.
240240

241+
config RTC_DRV_SH
242+
tristate "SuperH On-Chip RTC"
243+
depends on RTC_CLASS && SUPERH
244+
help
245+
Say Y here to enable support for the on-chip RTC found in
246+
most SuperH processors.
247+
248+
To compile this driver as a module, choose M here: the
249+
module will be called rtc-sh.
250+
241251
config RTC_DRV_VR41XX
242252
tristate "NEC VR41XX"
243253
depends on RTC_CLASS && CPU_VR41XX

drivers/rtc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ obj-$(CONFIG_RTC_DRV_PL031) += rtc-pl031.o
3131
obj-$(CONFIG_RTC_DRV_MAX6902) += rtc-max6902.o
3232
obj-$(CONFIG_RTC_DRV_V3020) += rtc-v3020.o
3333
obj-$(CONFIG_RTC_DRV_AT91) += rtc-at91.o
34+
obj-$(CONFIG_RTC_DRV_SH) += rtc-sh.o

0 commit comments

Comments
 (0)