regulator: fixed: add off-on-delay
authorPeng Fan <peng.fan@nxp.com>
Tue, 29 Oct 2019 01:21:31 +0000 (01:21 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 29 Oct 2019 12:32:12 +0000 (12:32 +0000)
commitf7907e57aea2adcd0b57ebcca410e125412ab680
tree333fb9e7cddca1d0d2631d7330c47e1324473132
parent96da2d9c905b36a30052a5e38ae5d47c3dc988e6
regulator: fixed: add off-on-delay

Depends on board design, the gpio controlling regulator may
connects with a big capacitance. When need off, it takes some time
to let the regulator to be truly off. If not add enough delay, the
regulator might have always been on, so introduce off-on-delay to
handle such case.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/1572311875-22880-3-git-send-email-peng.fan@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/fixed.c
include/linux/regulator/fixed.h