linux/drivers/mfd
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
..
88pm860x-core.c mfd: Convert 88PM860x driver to new irq_ APIs 2011-01-14 12:37:51 +01:00
88pm860x-i2c.c
ab3100-core.c mfd: Switch AB3100 to use MFD cells 2010-10-29 00:28:42 +02:00
ab3100-otp.c
ab3550-core.c mfd: Convert AB3500 to new irq_ APIs 2011-01-14 12:37:52 +01:00
ab8500-core.c mfd: Convert AB8500 to new irq_ methods 2011-01-14 12:37:53 +01:00
ab8500-debugfs.c mfd: Use NULL to initialise NULL pointers in ab8500-debugfs 2011-01-14 12:37:50 +01:00
ab8500-i2c.c mfd: AB8500 register access via PRCMU I2C 2010-10-29 00:29:26 +02:00
abx500-core.c
adp5520.c
asic3.c mfd: Convert ASIC3 to new irq_ APIs 2011-01-14 12:37:52 +01:00
cs5535-mfd.c mfd: Fix cs5535 warning on x86-64 2011-01-14 12:37:43 +01:00
da903x.c mfd: Fix da903x_add_subdevs error path 2010-10-29 00:28:56 +02:00
davinci_voicecodec.c
dm355evm_msp.c
ezx-pcap.c mfd: Convert ezx-pcap to new irq_ methods 2011-01-14 12:37:53 +01:00
htc-egpio.c mfd: Convert HTC EGPIO driver to irq_ API 2011-01-14 12:37:54 +01:00
htc-i2cpld.c mfd: Convert HTC I2C CPLD driver to irq_ API 2011-01-14 12:37:55 +01:00
htc-pasic3.c mfd: Remove redundant code to get htc_pasic3 irq 2010-10-29 00:29:01 +02:00
janz-cmodio.c
jz4740-adc.c mfd: Convert jz4740-adc to new irq_ methods 2011-01-14 12:38:00 +01:00
Kconfig mfd/ab8500: remove spi support 2011-01-14 12:38:14 +01:00
lpc_sch.c
Makefile mfd/ab8500: remove spi support 2011-01-14 12:38:14 +01:00
max8925-core.c mfd: Convert max8925 to new irq_ API 2011-01-14 12:38:01 +01:00
max8925-i2c.c
max8998-irq.c mfd: MAX8998/LP3974 hibernation support 2011-01-14 12:38:14 +01:00
max8998.c mfd: Support LP3974 RTC 2011-01-14 12:38:16 +01:00
mc13xxx-core.c mfd: Don't open-code mc13xxx_unlock 2011-01-14 12:37:37 +01:00
mcp-core.c
mcp-sa11x0.c
menelaus.c mfd: update workqueue usages 2010-12-24 16:00:17 +01:00
mfd-core.c mfd: Provide pm_runtime_no_callbacks flag in cell data 2011-01-14 12:37:42 +01:00
pcf50633-adc.c
pcf50633-core.c mfd: Fix resource reclaim in pcf50633_remove() 2010-10-29 00:30:34 +02:00
pcf50633-gpio.c
pcf50633-irq.c
rdc321x-southbridge.c
sh_mobile_sdhi.c mfd: sh_mobile_sdhi: activate SDIO IRQ for tmio_mmc 2011-01-08 23:52:31 -05:00
sm501.c mfd: Use printf extension %pR for struct resource 2011-01-14 12:37:38 +01:00
stmpe.c mfd: Convert SMTPE driver to new irq_ APIs 2011-01-14 12:38:02 +01:00
stmpe.h
t7l66xb.c mfd: Convert t7166xb driver to new irq_ API 2011-01-14 12:38:02 +01:00
tc3589x.c input/tc3589x: add tc3589x keypad support 2010-12-29 22:02:24 +01:00
tc6387xb.c
tc6393xb.c mfd: Convert tc6393xb driver to new irq_ APIs 2011-01-14 12:38:03 +01:00
timberdale.c [media] mfd: Add timberdale video-in driver to timberdale 2010-12-29 08:16:46 -02:00
timberdale.h [media] mfd: Add timberdale video-in driver to timberdale 2010-12-29 08:16:46 -02:00
tmio_core.c
tps6507x.c mfd: Fix off-by-one value range checking for tps6507x 2010-10-29 00:30:29 +02:00
tps6586x.c mfd: Convert tps6586x driver to new irq_ API 2011-01-14 12:38:08 +01:00
tps65010.c mfd: Include <linux/gpio.h> instead of <asm/gpio.h> 2011-01-14 12:37:36 +01:00
twl4030-codec.c
twl4030-irq.c mfd: Convert TWL4030 to new irq_ APIs 2011-01-14 12:38:09 +01:00
twl4030-power.c mfd: Switch twl4030-power over to defines in twl.h 2010-10-29 00:28:49 +02:00
twl6030-irq.c mfd: twl6030 irq_data conversion. 2011-01-14 12:38:11 +01:00
twl6030-pwm.c
twl-core.c mfd: Fix twl_probe section mismatch warning in mfd/twl-core.c 2011-01-14 12:37:48 +01:00
twl-core.h mfd: Fix twl-irq function declaration warnings 2010-10-29 00:30:16 +02:00
ucb1x00-assabet.c
ucb1x00-core.c
ucb1x00-ts.c
ucb1400_core.c
vx855.c mfd: Add __devexit annotation for vx855_remove 2011-01-14 12:38:12 +01:00
wl1273-core.c [media] MFD: WL1273 FM Radio: MFD driver for the FM radio 2010-12-29 08:17:02 -02:00
wm831x-core.c mfd: Add WM8326 support 2011-01-14 12:37:39 +01:00
wm831x-i2c.c mfd: Add WM8326 support 2011-01-14 12:37:39 +01:00
wm831x-irq.c mfd: Convert Wolfson MFD drivers to use irq_data accessor function 2011-01-14 12:38:10 +01:00
wm831x-otp.c
wm831x-spi.c mfd: Add WM8326 support 2011-01-14 12:37:39 +01:00
wm8350-core.c
wm8350-gpio.c
wm8350-i2c.c
wm8350-irq.c mfd: Convert Wolfson MFD drivers to use irq_data accessor function 2011-01-14 12:38:10 +01:00
wm8350-regmap.c
wm8400-core.c
wm8994-core.c mfd: Implement runtime PM for WM8994 core driver 2011-01-14 12:37:43 +01:00
wm8994-irq.c mfd: Convert Wolfson MFD drivers to use irq_data accessor function 2011-01-14 12:38:10 +01:00