lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260127172757.75221-1-bjsaikiran@gmail.com>
Date: Tue, 27 Jan 2026 22:57:56 +0530
From: Saikiran <bjsaikiran@...il.com>
To: broonie@...nel.org,
	lgirdwood@...il.com
Cc: andersson@...nel.org,
	konrad.dybcio@...aro.org,
	linux-arm-msm@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: [PATCH] regulator: qcom-rpmh: Add support for regulator-off-on-delay-us

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ