Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8fc10a6 authored by Osvaldo Banuelos's avatar Osvaldo Banuelos
Browse files

regulator: cpr3-regulator: cap max_uV in LDO regulator set_voltage() calls



Currently, the maximum voltage specified in regulator_set_voltage() calls
for CPUSS regulators correspond to the last known aggregated ceiling
voltage. However, this voltage may be higher than what the LDO can actually
supply. In those cases, cap the voltage to the maximum physically supported
LDO voltage. This effectively prevents the regulator framework from
performing unnecessary set_voltage() calls for LDO regulators whose max_uV
voltages are limited by machine-specific constraints.

Change-Id: Iacc9abf22234b9fda8ec8e2f10fa270cab165e6a
Signed-off-by: default avatarOsvaldo Banuelos <osvaldob@codeaurora.org>
parent 4c47f344
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment