linux/drivers/regulator
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
..
88pm8607.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
ab3100.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
ab8500.c regulators: Removed macros for initialization of ab8500 regulators 2011-01-12 14:33:03 +00:00
ad5398.c i2c: Remove obsolete cleanup for clientdata 2010-09-30 14:14:22 +02:00
bq24022.c Regulators: ab3100/bq24022: add a missing .owner field in regulator_desc 2010-05-25 10:16:02 +01:00
core.c regulator: Add initial per-regulator debugfs support 2011-01-12 14:33:05 +00:00
da903x.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
dummy.c regulator: Provide optional dummy regulator for consumers 2010-03-03 14:49:26 +00:00
dummy.h regulator: fix build when CONFIG_REGULATOR_DUMMY=n 2010-10-28 22:40:32 +01:00
fixed.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
isl6271a-regulator.c regulator: missing index in PTR_ERR() in isl6271a_probe() 2011-01-12 14:33:06 +00:00
Kconfig regulator: Allow modular build of mc13xxx-core 2011-01-12 14:33:03 +00:00
lp3971.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
lp3972.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
Makefile regulator: support PMIC mc13892 2011-01-12 14:33:03 +00:00
max1586.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
max8649.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
max8660.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
max8925-regulator.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
max8952.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
max8998.c mfd: Support LP3974 RTC 2011-01-14 12:38:16 +01:00
mc13xxx-regulator-core.c regulator: Allow modular build of mc13xxx-core 2011-01-12 14:33:03 +00:00
mc13xxx.h make mc13783 regulator code generic 2011-01-12 14:33:03 +00:00
mc13783-regulator.c make mc13783 regulator code generic 2011-01-12 14:33:03 +00:00
mc13892-regulator.c regulator: Assign return value of mc13xxx_reg_rmw to ret 2011-01-12 14:33:05 +00:00
pcap-regulator.c regulator: Fix typo in PCAP regulator_set_voltage() 2011-01-12 14:33:00 +00:00
pcf50633-regulator.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
tps6507x-regulator.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
tps6524x-regulator.c regulator: add driver for tps6524x regulator 2011-01-12 14:33:02 +00:00
tps6586x-regulator.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
tps65023-regulator.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
twl-regulator.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
userspace-consumer.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
virtual.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
wm831x-dcdc.c regulator: Convert WM831x drivers to use get_voltage_sel() 2011-01-12 14:33:02 +00:00
wm831x-isink.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
wm831x-ldo.c regulator: Convert WM831x drivers to use get_voltage_sel() 2011-01-12 14:33:02 +00:00
wm8350-regulator.c regulator: Convert WM835x to use get_voltage_sel() 2011-01-12 14:33:04 +00:00
wm8400-regulator.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
wm8994-regulator.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2011-01-13 10:32:54 -08:00