kernel-aes67/drivers/rtc
Zhao Yakui c116bc2ae5 rtc: add the support for alarm time relative to current time in sysfs
In current kernel if we want to set the alarm time, the absolute time the
seconds relative to 1970-01-01 00:00:00) should be written into
/sys/class/rtc/rtc0/wakealarm.  It is not convenient.

It is more reasonable to add the support for the alarm time relative to
current RTC time.(the unit is second)

For example:
If the RTC is required to generate alarm after 2 minutes, the following
will be OK.
	echo +120 > /sys/class/rtc/rtc0/wakealarm
or      echo +0x78 > /sys/class/rtc/rtc0/wakealarm

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-28 08:58:17 -07:00
..
class.c RTC: periodic irq fix 2007-10-16 09:43:13 -07:00
hctosys.c rtc_hctosys expects RTCs in UTC (doc) 2007-11-14 18:45:36 -08:00
interface.c rtc: use class iteration api 2008-01-24 20:40:44 -08:00
Kconfig rtc: avoid legacy drivers with generic framework 2008-04-28 08:58:16 -07:00
Makefile rtc: add support for the S-35390A RTC chip 2008-03-04 16:35:09 -08:00
rtc-at32ap700x.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-at91rm9200.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-at91sam9.c rtc-at91sam9 fixes 2008-03-19 18:53:37 -07:00
rtc-bfin.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-cmos.c rtc: fix the error in the function of cmos_set_alarm 2008-04-15 19:35:40 -07:00
rtc-core.h
rtc-dev.c rtc-cmos alarm acts as oneshot 2008-02-06 10:41:13 -08:00
rtc-ds1216.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-ds1302.c rtc: ds1302 rtc support 2008-02-06 10:41:13 -08:00
rtc-ds1307.c rtc ds1307: ds_1340 change init 2008-02-06 10:41:14 -08:00
rtc-ds1374.c rtc: RTC class driver for the ds1374 2007-10-16 09:43:13 -07:00
rtc-ds1511.c make ds1511_rtc_{read,set}_time() static 2008-04-28 08:58:16 -07:00
rtc-ds1553.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-ds1672.c i2c: normal_i2c can be made const (rtc drivers) 2008-01-27 18:14:47 +01:00
rtc-ds1742.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-ep93xx.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-isl1208.c rtc-isl1208: new style conversion and minor bug fixes 2008-04-28 08:58:16 -07:00
rtc-lib.c
rtc-m41t80.c
rtc-m48t59.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-m48t86.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-max6900.c i2c: normal_i2c can be made const (rtc drivers) 2008-01-27 18:14:47 +01:00
rtc-max6902.c spi: use simplified spi_sync() calling convention 2007-12-05 09:21:19 -08:00
rtc-omap.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-pcf8563.c rtc-pcf8563: new style conversion 2008-04-28 08:58:16 -07:00
rtc-pcf8583.c rtc-pcf8583 build fix 2008-04-28 08:58:16 -07:00
rtc-pl031.c remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
rtc-proc.c
rtc-r9701.c rtc-r9701.c: silence compiler warning 2008-02-09 23:27:01 -08:00
rtc-rs5c313.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-rs5c348.c [PATCH] rtc: Make rtc-rs5c348 driver hotplug-aware 2007-08-27 02:16:58 +01:00
rtc-rs5c372.c rtc: rtc-rs5c372: fix up NULL name in transfer error path 2008-04-28 08:58:17 -07:00
rtc-s3c.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-s35390a.c rtc: add support for the S-35390A RTC chip 2008-03-04 16:35:09 -08:00
rtc-sa1100.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-sh.c rtc: rtc-sh: Add support for periodic IRQs. 2008-04-18 09:50:01 -07:00
rtc-stk17ta8.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-sysfs.c rtc: add the support for alarm time relative to current time in sysfs 2008-04-28 08:58:17 -07:00
rtc-test.c rtc: silence section mismatch warning in rtc-test 2008-04-28 08:58:16 -07:00
rtc-v3020.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-vr41xx.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-x1205.c rtc-x1205: new style conversion 2008-04-28 08:58:16 -07:00