]> git.karo-electronics.de Git - karo-tx-linux.git/commit
regulator: max8973: set startup time for rail based on BIAS control
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 23 Apr 2015 10:40:22 +0000 (16:10 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 27 Apr 2015 17:59:48 +0000 (18:59 +0100)
commitdcd9ec6ae3667d3bb92cbb9b59c7f4864316448d
tree7d193b04fc4cf186390880bcd12a50e660575b34
parentb787f68c36d49bb1d9236f403813641efa74a031
regulator: max8973: set startup time for rail based on BIAS control

In MAX8973, BIAS enable control bit is used for changing the startup time
for voltage output. The startup delay is 240us (typ) when the BIASEN
bit is set to 0. The startup delay is reduced to 20us (typ) when the
BIASEN bit is set to 1.

Pass the enable_time through regulator descriptor based on this flag.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max8973-regulator.c