android_kernel_motorola_sm6225/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 i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
ab3100-core.c mfd: Switch AB3100 to use MFD cells 2010-10-29 00:28:42 +02:00
ab3100-otp.c mfd: Fix memory leak in ab3100_otp_probe 2010-08-12 11:27:17 +02:00
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 mfd: kzalloc doesn't return ERR_PTR 2010-08-12 11:27:19 +02:00
adp5520.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
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 mfd: Fix davinci memory leak 2010-08-12 11:27:20 +02:00
dm355evm_msp.c mfd: Correct ro and cd implemantion on DM355 2009-09-17 09:46:54 +02:00
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 mfd: Missing slab.h includes 2010-08-12 11:28:10 +02:00
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 mfd: Introduce lpc_sch for Intel SCH LPC bridge 2010-03-07 22:17:22 +01:00
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 i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
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 move drivers/mfd/*.h to include/linux/mfd 2009-11-27 21:07:18 +01:00
mcp-sa11x0.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
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 mfd: pcf50633-adc: Fix potential race in pcf50633_adc_sync_read 2010-05-28 01:37:49 +02:00
pcf50633-core.c mfd: Fix resource reclaim in pcf50633_remove() 2010-10-29 00:30:34 +02:00
pcf50633-gpio.c
pcf50633-irq.c mfd: Move pcf50633 irq related functions to its own file. 2010-05-28 01:37:50 +02:00
rdc321x-southbridge.c mfd: Change rdc321x resources flags to IORESOURCE_IO 2010-05-28 01:37:52 +02:00
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 mfd: Add stmpe auto sleep feature 2010-08-12 11:28:00 +02:00
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 mfd: Annotate tc6387xb probe/remove routines with __devinit/__devexit 2010-08-12 11:28:06 +02:00
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 mfd: tmio_mmc hardware abstraction for CNF area 2010-01-18 12:30:27 +01:00
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
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
twl4030-codec.c ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
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 mfd: Add support for TWL6030 PWM 2010-08-12 11:27:59 +02:00
ucb1x00-assabet.c move drivers/mfd/*.h to include/linux/mfd 2009-11-27 21:07:18 +01:00
ucb1x00-core.c mfd: Fix ucb1x00 build failure for collie_defconfig 2010-03-07 22:17:39 +01:00
ucb1x00-ts.c move drivers/mfd/*.h to include/linux/mfd 2009-11-27 21:07:18 +01:00
ucb1400_core.c mfd: Avoid calling platform_device_put() twice in ucb1400 probe error path 2010-08-12 11:28:06 +02:00
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 mfd: Add basic WM831x OTP support 2009-09-17 09:46:59 +02:00
wm831x-spi.c mfd: Add WM8326 support 2011-01-14 12:37:39 +01:00
wm8350-core.c mfd: Fix wrong wm8350-core kfree in error path 2010-08-12 11:28:08 +02:00
wm8350-gpio.c
wm8350-i2c.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
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 mfd: Remove build time warning for WM835x register default tables 2009-12-13 19:21:53 +01:00
wm8400-core.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
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