Re: [PATCH] regulator: qcom-rpmh: Add support for regulator-off-on-delay-us

From: Mark Brown

Date: Tue Jan 27 2026 - 12:37:42 EST


On Tue, Jan 27, 2026 at 10:57:57PM +0530, Saikiran wrote:

> Some Qualcomm platforms require a significant delay after powering off a
> rail before it can be powered on again, especially for regulators that
> depend on passive discharge.

> The core regulator framework supports this via the 'regulator-off-on-delay-us'
> property, but the RPMh regulator driver currently ignores it.

The core regulator framework does not support this, this is specifically
a property supported by the fixed voltage regulator.

> Add support for parsing this generic property from device tree and
> populating the regulator descriptor. This allows board-specific DTS files
> to specify required discharge delays for RPMh-controlled regulators.

This would at a minimum need the bindings for the regulators on the
affected platforms to be updated. What exactly are we talking about in
terms of the actual configuration here, what goes wrong if we don't
leave the regulator powered off and how sure are we that this is
platform specific rather than regulator specific? I'm guessing these
are LDOs?

Attachment: signature.asc
Description: PGP signature