linux/drivers/rtc
MyungJoo Ham 337ce5d1c5 mfd: Support LP3974 RTC
The first releases of LP3974 have a large delay in RTC registers,
which requires 2 seconds of delay after writing to a rtc register
(recommended by National Semiconductor's engineers)
before reading it.

If "rtc_delay" field of the platform data is true, the rtc driver
assumes that such delays are required. Although we have not seen
LP3974s without requiring such delays, we assume that such LP3974s
will be released soon (or they have done so already) and they are
supported by "lp3974" without setting "rtc_delay" at the platform
data.

This patch adds delays with msleep when writing values to RTC registers
if the platform data has rtc_delay set.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2011-01-14 12:38:16 +01:00
..
class.c Merge branch 'timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2011-01-11 11:06:41 -08:00
hctosys.c
interface.c rtc: Namespace fixup 2010-12-13 22:48:21 +01:00
Kconfig rtc: Add drivers/rtc/rtc-mrst.c 2010-11-11 11:34:27 +01:00
Makefile rtc: Add drivers/rtc/rtc-mrst.c 2010-11-11 11:34:27 +01:00
rtc-ab3100.c
rtc-ab8500.c mfd: Align ab8500 with the abx500 interface 2010-10-29 00:29:19 +02:00
rtc-at32ap700x.c
rtc-at91rm9200.c
rtc-at91sam9.c
rtc-au1xxx.c
rtc-bfin.c rtc-bfin: add debug markers to suspend/resume paths 2010-10-27 18:03:05 -07:00
rtc-bq32k.c
rtc-bq4802.c
rtc-cmos.c rtc-cmos: fix suspend/resume 2011-01-13 08:03:12 -08:00
rtc-coh901331.c
rtc-core.h
rtc-davinci.c
rtc-dev.c rtc: don't use flush_scheduled_work() 2010-12-24 16:00:17 +01:00
rtc-dm355evm.c
rtc-ds1216.c
rtc-ds1286.c
rtc-ds1302.c sh: mach-snapgear: Kill off machtype, consolidate board def. 2010-10-29 19:06:53 +09:00
rtc-ds1305.c rtc: don't use flush_scheduled_work() 2010-12-24 16:00:17 +01:00
rtc-ds1307.c i2c: Constify i2c_client where possible 2011-01-10 22:11:23 +01:00
rtc-ds1374.c rtc: don't use flush_scheduled_work() 2010-12-24 16:00:17 +01:00
rtc-ds1390.c
rtc-ds1511.c
rtc-ds1553.c
rtc-ds1672.c
rtc-ds1742.c
rtc-ds3232.c rtc: don't use flush_scheduled_work() 2010-12-24 16:00:17 +01:00
rtc-ds3234.c
rtc-efi.c
rtc-ep93xx.c
rtc-fm3130.c
rtc-generic.c
rtc-imxdi.c
rtc-isl1208.c
rtc-isl12022.c
rtc-jz4740.c drivers/rtc/rtc-jz4740.c: add alarm function 2010-10-27 18:03:06 -07:00
rtc-lib.c RTC: Rework RTC code to use timerqueue for events 2010-12-10 22:24:24 -08:00
rtc-lpc32xx.c rtc: rtc-lpc32xx: introduce RTC driver for the LPC32XX SoC 2010-10-27 18:03:05 -07:00
rtc-m41t80.c Merge branch 'llseek' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bkl 2010-10-22 10:52:56 -07:00
rtc-m41t94.c
rtc-m48t35.c
rtc-m48t59.c
rtc-m48t86.c
rtc-max6900.c
rtc-max6902.c rtc: rtc-max6902 - set driver data in max6902_probe() 2011-01-13 08:03:12 -08:00
rtc-max8925.c
rtc-max8998.c mfd: Support LP3974 RTC 2011-01-14 12:38:16 +01:00
rtc-mc13xxx.c rtc: Add support for the rtc found in the MC13892 PMIC 2010-10-29 00:30:01 +02:00
rtc-mpc5121.c
rtc-mrst.c x86, mrst: Add explanation for using 1960 as the year offset for vrtc 2010-11-17 13:53:46 +01:00
rtc-msm6242.c
rtc-mv.c
rtc-mxc.c
rtc-nuc900.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
rtc-omap.c drivers/rtc/rtc-omap.c: fix a memory leak 2011-01-13 08:03:12 -08:00
rtc-pcap.c
rtc-pcf2123.c
rtc-pcf8563.c
rtc-pcf8583.c
rtc-pcf50633.c
rtc-pl030.c
rtc-pl031.c
rtc-proc.c
rtc-ps3.c
rtc-pxa.c
rtc-r9701.c
rtc-rp5c01.c
rtc-rs5c313.c rtc: rtc-rs5c313: ctrl_in/outX to __raw_read/writeX conversion. 2010-10-27 15:30:32 +09:00
rtc-rs5c348.c
rtc-rs5c372.c rtc: rs5c372: fix buffer size 2010-12-22 19:43:34 -08:00
rtc-rx8025.c rtc: don't use flush_scheduled_work() 2010-12-24 16:00:17 +01:00
rtc-rx8581.c
rtc-s3c.c rtc: rtc-s3c: add rtc_valid_tm in s3c_rtc_gettime() 2010-10-27 18:03:06 -07:00
rtc-s35390a.c
rtc-sa1100.c ARM: 6455/2: Better use of the RTC framework for sa11xx. 2010-12-21 14:53:43 +00:00
rtc-sh.c rtc: rtc-sh - fix a memory leak 2010-11-08 15:08:42 +09:00
rtc-starfire.c
rtc-stk17ta8.c
rtc-stmp3xxx.c
rtc-sun4v.c
rtc-sysfs.c
rtc-test.c
rtc-twl.c
rtc-tx4939.c
rtc-v3020.c
rtc-vr41xx.c
rtc-wm831x.c
rtc-wm8350.c
rtc-x1205.c