All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] regulator: qcom-rpmh: Add off-on-delay support
@ 2026-01-27 19:02 Saikiran
  2026-01-27 19:02 ` [PATCH v3 1/2] dt-bindings: regulator: qcom,rpmh: Allow regulator-off-on-delay-us Saikiran
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Saikiran @ 2026-01-27 19:02 UTC (permalink / raw)
  To: broonie, lgirdwood
  Cc: andersson, konrad.dybcio, linux-arm-msm, linux-kernel, robh,
	krzk+dt, devicetree

This series adds support for the standard `regulator-off-on-delay-us`
property to the Qualcomm RPMh regulator driver and updates the
corresponding Device Tree bindings.

Motivation:
On the Lenovo Yoga Slim 7x (Snapdragon X Elite), the camera regulators
(LDO1, LDO3, LDO7) have large bulk capacitors and rely on passive discharge.
When these regulators are disabled, the voltage decays very slowly. If
re-enabled too quickly, the sensor experiences a brownout and fails to
initialize.

Verification:
I verified that the core `drivers/regulator/of_regulator.c` does not
currently parse `regulator-off-on-delay-us` in `of_get_regulation_constraints()`.
Therefore, the driver must parse this property explicitly and populate
`rdesc->off_on_delay` so the regulator core can enforce the constraint.

Changes in v3:
- Added Patch 1/2: Update DT bindings to allow `regulator-off-on-delay-us`
  for `qcom,rpmh-regulator` (Requested by Mark Brown).
- Updated Patch 2/2: Refined commit message to explicitly mention the
  passive discharge and bulk capacitor mechanism on the Yoga Slim 7x
  (Requested by Mark Brown).

Changes in v2:
- Moved the motivation/context from the cover letter into the commit
  message of the driver patch.

Saikiran (2):
  dt-bindings: regulator: qcom,rpmh: Allow regulator-off-on-delay-us
  regulator: qcom-rpmh: Add support for regulator-off-on-delay-us

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

end of thread, other threads:[~2026-05-15 11:16 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-27 19:02 [PATCH v3 0/2] regulator: qcom-rpmh: Add off-on-delay support Saikiran
2026-01-27 19:02 ` [PATCH v3 1/2] dt-bindings: regulator: qcom,rpmh: Allow regulator-off-on-delay-us Saikiran
2026-01-29 17:49   ` Rob Herring
2026-01-29 18:15     ` Mark Brown
2026-01-30 11:05       ` Konrad Dybcio
2026-02-03 16:20         ` Kamal Wadhwa
2026-02-03 16:30           ` Mark Brown
2026-02-06 16:19             ` Kamal Wadhwa
2026-02-08 13:07               ` Saikiran B
2026-02-12  8:51                 ` Kamal Wadhwa
2026-01-27 19:02 ` [PATCH v3 2/2] regulator: qcom-rpmh: Add support for regulator-off-on-delay-us Saikiran
2026-05-15 11:16 ` [PATCH v3 0/2] regulator: qcom-rpmh: Add off-on-delay support Kamal Wadhwa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.