[PATCH v2 0/4] Fix rtq2208 BUCK ramp_delay and LDO dvs setting

From: Alina Yu
Date: Tue Apr 30 2024 - 05:58:57 EST


Hi,

This series patches is for hardware modification of RTQ2208.
ramp_delay range of BUCK is changed.
The maximum ramp up and down range of BUCK are shorten
from 64mVstep/us to 16mVstep/us.
The LDO's Vout is adjustable if the hardware setting allow it,
and it can be set either 1800mv or 3300mv.
Additionally, the discharge register has been moved to another position.
In this version, a software bug has been fixed.
rtq2208_ldo_match is no longer a local variable.
It prevents invalid memory access when devm_of_regulator_put_matches is called.

Alina Yu (4):
regulator: rtq2208: Fix LDO discharge register and add vsel setting
regulator: rtq2208: Fix LDO to be compatible with both fixed and
adjustable vout
regulator: rtq2208: Fix invalid memory access when
devm_of_regulator_put_matches is called
regulator: rtq2208: Fix the BUCK ramp_delay range to maximum of
16mVstep/us

drivers/regulator/rtq2208-regulator.c | 166 ++++++++++++++++++++++------------
1 file changed, 106 insertions(+), 60 deletions(-)

--
2.7.4