diff options
| author | Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com> | 2026-08-01 13:30:29 +0530 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-08-07 15:19:41 +0100 |
| commit | 09d99ff7fc3c802c9b31ded9ffdf992d966a0835 (patch) | |
| tree | 6db222ae37ac1f50cbbb895d123f19479ae3eb99 /tools/perf/scripts/python | |
| parent | abd14bebb87e0fa2749371272c8b31d6ee5f0a36 (diff) | |
regulator: qcom-rpmh: readback voltage/bypass/mode set during bootup
Currently, during regulator registration, regulator framework sends an
unnecessary `min-microvolts` request for the rpmh-regulator device. This
happens because in current design, we do not have a way to readback the
voltage settings that was set during the bootloader stage.
Fix this by using the rpmh_read() API to read the regulator voltage
settings done during boot and make it available to regulator framework
from the very first read after the bootup.
Also use this API to read the mode/bypass settings as well. This will
provide the regulator framework a sense of the initial settings done by
bootloader and thus preventing any redundant writes for any setting post
bootup incase the same setting was already applied during bootup.
Signed-off-by: Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com>
Link: https://patch.msgid.link/20260801-b4-read-rpmh-v5-v6-3-9fcb54928523@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
