Re: [PATCH v7 1/8] regulator: core: Add "enable and wait" functions
From: Mark Brown
Date: Thu Nov 19 2026 - 18:03:20 EST
On Tue, Nov 03, 2026 at 12:37:25PM +0800, Chen-Yu Tsai wrote:
> In device power sequencing and initialization use cases, it is common
> for the driver to enable the regulator and then wait for a certain
> period of time to pass before continuing.
The following changes since commit 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4:
Linux 7.4-rc1 (2026-11-01 13:26:31 -0800)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/regulator-enable-wait
for you to fetch changes up to 9f9bcca6adc314d35818fc903a2d73898c169062:
regulator: core: Add "enable and wait" functions (2026-11-07 16:42:09 +0000)
----------------------------------------------------------------
regulator: Add enable and wait functions
Add helpers which smooth and optimise the process of powering on a
regulator then giving the device time to stabalize after it has come up,
taking into account if it was already powered.
----------------------------------------------------------------
Chen-Yu Tsai (1):
regulator: core: Add "enable and wait" functions
drivers/regulator/core.c | 129 ++++++++++++++++++++++++++++++++-----
include/linux/regulator/consumer.h | 21 ++++--
include/linux/regulator/driver.h | 2 +
rust/helpers/regulator.c | 5 +-
rust/kernel/regulator.rs | 2 +-
5 files changed, 135 insertions(+), 24 deletions(-)
Attachment:
signature.asc
Description: PGP signature