aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/Kconfig
diff options
context:
space:
mode:
authorRaphael Assenat <raph@raphnet.net>2006-06-25 08:48:23 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-25 13:01:14 -0400
commit8e12ecc2b5a4521a338d7681e7d5547080fc6f71 (patch)
treeffa6cfbbc2d461bb965b97482fc53c02cf3e7733 /drivers/rtc/Kconfig
parent110d693d5898649da606cd6e5f6af4d7f70a405f (diff)
[PATCH] Add max6902 RTC support
Add support for the MAX6902 SPI RTC chip. Tested on a pxa2xx cpu. The compulab code comes from the kernel patch the produce for their cn-x255 board. (inside a zip file on the http://www.compulab.co.il/x255/html/x255-developer.htm) The original file (drivers/char/max6902.c) was GPL, which is of course an appropriate licence: /* * max6902.c * * Driver for MAX6902 RTC * * Copyright (C) 2004 Compulab Ltd. * * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * */ For reference, you can get the original file here: http://raph.people.8d.com/misc/max6902.c [akpm@osdl.org: cleanups] Signed-off-by: Raphael Assenat <raph@raphnet.net> Cc: Alessandro Zummo <a.zummo@towertech.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r--drivers/rtc/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 37ee69f57a0b..94746cfac7b5 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -217,4 +217,14 @@ config RTC_DRV_TEST
217 This driver can also be built as a module. If so, the module 217 This driver can also be built as a module. If so, the module
218 will be called rtc-test. 218 will be called rtc-test.
219 219
220config RTC_DRV_MAX6902
221 tristate "Maxim 6902"
222 depends on RTC_CLASS && SPI
223 help
224 If you say yes here you will get support for the
225 Maxim MAX6902 spi RTC chip.
226
227 This driver can also be built as a module. If so, the module
228 will be called rtc-max6902.
229
220endmenu 230endmenu