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>
This commit is contained in:
Peng Fan
2018-07-26 19:47:24 +08:00
committed by Tom Rini
parent 4aee624c92
commit 39dd00fc5d
2 changed files with 7 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ Required properties:
Optional properties:
- gpio: GPIO to use for enable control
- startup-delay-us: startup time in microseconds
- u-boot,off-on-delay-us: off delay time in microseconds
- regulator constraints (binding info: regulator.txt)
- enable-active-high: Polarity of GPIO is Active high. If this property
is missing, the default assumed is Active low.