Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH] regulator: qcom-rpmh: Add support for regulator-off-on-delay-us
@ 2026-01-27 17:25 Saikiran
  0 siblings, 0 replies; 7+ messages in thread
From: Saikiran @ 2026-01-27 17:25 UTC (permalink / raw)
  To: broonie
  Cc: andersson, konrad.dybcio, lgirdwood, linux-regulator,
	linux-arm-msm, linux-kernel

This patch adds support for the generic `regulator-off-on-delay-us` property
to the Qualcomm RPMh regulator driver.

The core regulator framework supports enforcing a physical off-time via
standard properties, but the `qcom-rpmh-regulator` driver currently ignores
them. This prevents boards with slow-discharging rails from enforcing safe
power-cycling constraints.

Motivation / Test Result:
On the Lenovo Yoga Slim 7x (Snapdragon X Elite), the camera regulators
rely on passive discharge and require a significant off-time to drop below
brownout thresholds.

I have tested this patch on the Yoga Slim 7x. When the delay property is
present in the device tree, the regulator core correctly blocks re-enable
calls until the delay passes. This successfully fixes the camera brownout
issues and allows reliable sensor initialization during rapid power cycling.

I am submitting this driver support first to ensure the mechanism is available.
Once the consumer nodes (camera) for this board are upstream, we will apply
the specific delay values in the DTS.

Saikiran (1):
  regulator: qcom-rpmh: Add support for regulator-off-on-delay-us

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH] regulator: qcom-rpmh: Add support for regulator-off-on-delay-us
@ 2026-01-27 17:27 Saikiran
  2026-01-27 17:27 ` Saikiran
  2026-01-27 17:28 ` Mark Brown
  0 siblings, 2 replies; 7+ messages in thread
From: Saikiran @ 2026-01-27 17:27 UTC (permalink / raw)
  To: broonie, lgirdwood; +Cc: andersson, konrad.dybcio, linux-arm-msm, linux-kernel

This patch adds support for the generic `regulator-off-on-delay-us` property
to the Qualcomm RPMh regulator driver.

The core regulator framework supports enforcing a physical off-time via
standard properties, but the `qcom-rpmh-regulator` driver currently ignores
them. This prevents boards with slow-discharging rails from enforcing safe
power-cycling constraints.

Motivation / Test Result:
On the Lenovo Yoga Slim 7x (Snapdragon X Elite), the camera regulators
rely on passive discharge and require a significant off-time to drop below
brownout thresholds.

I have tested this patch on the Yoga Slim 7x. When the delay property is
present in the device tree, the regulator core correctly blocks re-enable
calls until the delay passes. This successfully fixes the camera brownout
issues and allows reliable sensor initialization during rapid power cycling.

I am submitting this driver support first to ensure the mechanism is available.
Once the consumer nodes (camera) for this board are upstream, we will apply
the specific delay values in the DTS.

Saikiran (1):
  regulator: qcom-rpmh: Add support for regulator-off-on-delay-us

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-01-27 17:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-27 17:25 [PATCH] regulator: qcom-rpmh: Add support for regulator-off-on-delay-us Saikiran
  -- strict thread matches above, loose matches on Subject: below --
2026-01-27 17:27 Saikiran
2026-01-27 17:27 ` Saikiran
2026-01-27 17:35   ` Mark Brown
2026-01-27 17:43     ` Saikiran B
2026-01-27 17:50       ` Mark Brown
2026-01-27 17:28 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox