diff options
| author | Peng Fan <[email protected]> | 2026-04-18 20:37:33 +0800 |
|---|---|---|
| committer | Peng Fan <[email protected]> | 2026-05-06 10:20:30 +0800 |
| commit | b7b7aa741f9dd37a25cf44f3a2771ec9bfd497dc (patch) | |
| tree | f47522ba24f7c26b49c9edf9a131626e0f5cfff5 /src | |
| parent | 356b7598cd35833fdf5890b4fbabc76e4af17f95 (diff) | |
power: regulator: pfuze100: support high output voltage mode
Some PFUZE regulators can operate in either low or high output voltage mode,
with different minimum voltages and voltage step sizes selected by a hardware
control bit. However, the current PFUZE100 regulator driver assumes low output
voltage mode only, resulting in incorrect voltage calculation and programming
when high voltage mode is enabled.
Extend the regulator descriptor to describe high output voltage mode by adding
a mask to detect the mode and a dedicated voltage description (min_uV and
step size). Update voltage get/set handling to dynamically select the correct
voltage parameters based on the high voltage mode bit.
Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions
