]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2176accad9bcb5d4b483c93af8200ce71e170aea
tree333fb9e7cddca1d0d2631d7330c47e1324473132
parent75d9244ce498b70408603e1e771643b69d365257
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