diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-02-06 04:38:44 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 13:41:13 -0500 |
commit | 739d340dba45ab786a5553144bbffbee0afe15dd (patch) | |
tree | b0a92107f04ce5717fc5ca4ccb711a9ac1fd5747 /drivers/rtc/Kconfig | |
parent | e07e232cd96ef0092b2bddc72f9b7caf284633cb (diff) |
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 | |||
306 | help | 306 | help |
307 | If you say yes here you get support for the Dallas DS1216 RTC chips. | 307 | If you say yes here you get support for the Dallas DS1216 RTC chips. |
308 | 308 | ||
309 | config RTC_DRV_DS1302 | ||
310 | tristate "Dallas DS1302" | ||
311 | depends on SH_SECUREEDGE5410 | ||
312 | help | ||
313 | If you say yes here you get support for the Dallas DS1302 RTC chips. | ||
314 | |||
309 | config RTC_DRV_DS1553 | 315 | config RTC_DRV_DS1553 |
310 | tristate "Maxim/Dallas DS1553" | 316 | tristate "Maxim/Dallas DS1553" |
311 | help | 317 | help |