diff options
author | Praveen Talari <quic_ptalari@quicinc.com> | 2025-05-02 10:58:22 +0530 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2025-05-02 11:03:18 +0530 |
commit | ee3de3cf7035aaf289085111fd0cfaddc93f0409 (patch) | |
tree | 285ad5cb75946b36d94d68d16abf239f84a7331a /scripts/lib/kdoc/kdoc_output.py | |
parent | ff9c512041f2b405536640374ae3a3fe10efaf8b (diff) |
OPP: Add dev_pm_opp_set_level()
To configure a device to a specific performance level, consumer drivers
currently need to determine the OPP based on the exact level and then
set it, resulting in code duplication across drivers.
The new helper API, dev_pm_opp_set_level(), addresses this issue by
providing a streamlined method for consumer drivers to find and set the
OPP based on the desired performance level, thereby eliminating
redundancy.
Signed-off-by: Praveen Talari <quic_ptalari@quicinc.com>
[ Viresh: Lot of fixes in the code, and rebased over latest changes.
Fixed commit log too. ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions