[PATCH 0/2] regulator: fixed: add off-on-delay-us

From: Peng Fan
Date: Mon Oct 28 2019 - 21:22:47 EST


From: Peng Fan <peng.fan@xxxxxxx>

Depends on board design, the gpio controlled fixed regulator might
connect with a large capacitance. It needs time to be truly off when
disabling the regulator. If the delay is not enought, the voltage might
not drop to the expected value, such as 0, then the regulator might
have been always enabled. So introduce off-on-delay-us property and
add the support in fixed regualtor driver.

Peng Fan (2):
dt-bindings: regulator: fixed: add off-on-delay-us property
regulator: fixed: add off-on-delay

Documentation/devicetree/bindings/regulator/fixed-regulator.yaml | 4 ++++
drivers/regulator/fixed.c | 2 ++
include/linux/regulator/fixed.h | 1 +
3 files changed, 7 insertions(+)

--
2.16.4