]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
regulator: rk808: Set the enable time for LDOs
authorDoug Anderson <dianders@chromium.org>
Sat, 21 Feb 2015 00:53:38 +0000 (16:53 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 12:59:44 +0000 (13:59 +0100)
commitc683a4101fcdb247d9280b4568a38c2bacfcd03f
tree7dd509ca4ab51561ec2e8db666bf86a592e64aae
parent8b86cf382cada10567345a558e38911f179f3c1a
regulator: rk808: Set the enable time for LDOs

commit 28249b0c2fa361cdac450a6f40242ed45408a24f upstream.

The LDOs are documented in the rk808 datasheet to have a soft start
time of 400us.  Add that to the driver.  If this time takes longer on
a certain board the device tree should be able to override with
"regulator-enable-ramp-delay".

This fixes some dw_mmc probing problems (together with other patches
posted to the mmc maiing lists) on rk3288.

Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/regulator/rk808-regulator.c