diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-02-06 01:38:44 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 10:41:13 -0800 |
commit | 739d340dba45ab786a5553144bbffbee0afe15dd (patch) | |
tree | b0a92107f04ce5717fc5ca4ccb711a9ac1fd5747 /drivers/rtc/Kconfig | |
parent | e07e232cd96ef0092b2bddc72f9b7caf284633cb (diff) | |
download | lwn-739d340dba45ab786a5553144bbffbee0afe15dd.tar.gz lwn-739d340dba45ab786a5553144bbffbee0afe15dd.zip |
rtc: ds1302 rtc support
This adds a basic ds1302 RTC driver, which is basically a cleanup and move
of the in-tree SH SecureEdge5410 code (which is currently located in
arch/sh/board/snapgear/rtc.c) to drivers/rtc.
This aims to be a building block that the M32R and CRIS code can be worked
on top of, so we can get rid of drivers/char/ds1302.c and
arch/cris/arch-v10/drivers/ds1302.c respectively, though more work is
needed for this.
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r-- | drivers/rtc/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 842d8a5616ba..0cc448c0eddd 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -306,6 +306,12 @@ config RTC_DRV_DS1216 help If you say yes here you get support for the Dallas DS1216 RTC chips. +config RTC_DRV_DS1302 + tristate "Dallas DS1302" + depends on SH_SECUREEDGE5410 + help + If you say yes here you get support for the Dallas DS1302 RTC chips. + config RTC_DRV_DS1553 tristate "Maxim/Dallas DS1553" help |