drivers: regulator: fixed: add u-boot, off-on-delay-us
authorPeng Fan <peng.fan@nxp.com>
Thu, 26 Jul 2018 11:47:24 +0000 (19:47 +0800)
committerTom Rini <trini@konsulko.com>
Mon, 20 Aug 2018 00:38:39 +0000 (20:38 -0400)
commit39dd00fc5dbae60c4165a06b50420a36270c68ab
tree34d0f2993b9960d8120ea43f8464613494c90492
parent4aee624c927519fc9edc79ccc247486ac3f68392
drivers: regulator: fixed: add u-boot, off-on-delay-us

Add u-boot,off-on-delay-us for fixed regulator.

Depends on board design, the gpio regulator sometimes
connects with a big capacitance. When need to off, then
on the regulator, if there is no enough delay,
the voltage does not drop to 0, so introduce this
property to handle such case.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
doc/device-tree-bindings/regulator/fixed.txt
drivers/power/regulator/fixed.c