Re: [PATCH v4 3/4] regulator: qcom-rpmh: readback voltage/bypass/mode/status set during bootup

From: Mark Brown

Date: Tue Apr 28 2026 - 19:15:34 EST


On Wed, Apr 29, 2026 at 03:03:31AM +0530, Kamal Wadhwa wrote:

> To elaborate, till now for all chipsets using RPMH regulator driver, the boot
> time voltage setting would always be overwritten by `min-microvolts` by the
> framework. However, i found during the development of this patch that on some
> chipsets like SM8550, SM8660 etc for one or two rails there exists some
> misalignments between the bootloader voltage setting and the APPS side min/max
> voltage limits(subset of RPMH firmware min/max) where the voltage value is
> set lower or higher from the bootloader side compared to the DT min/max, which
> caused the regulator registeration failure and all the sibling regulators under
> the same pmic will also fail to register, even though issue was with only one
> regulator.

Why would this cause registration failures? Bringing the voltage in
line with the constraints is a perfectly normal and fairly widely used
operation.

Attachment: signature.asc
Description: PGP signature