diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2023-09-25 16:17:12 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2023-10-06 10:07:34 +0300 |
commit | 0025ff64ffcf6bd6ece5484e7818401f77bf115f (patch) | |
tree | 94e5223def630c676dd34c726d3c8b3a3bf5e85e /drivers/base | |
parent | 892c60c6b48dfada25b8cc7aad907b93c4dbff93 (diff) | |
download | linux-0025ff64ffcf6bd6ece5484e7818401f77bf115f.tar.xz |
OPP: Extend support for the opp-level beyond required-opps
At this point the level (performance state) for an OPP is currently limited
to be requested for a device that is attached to a PM domain. Moreover,
the device needs to have the so called required-opps assigned to it, which
are based upon OPP tables being described in DT.
To extend the support beyond required-opps and DT, let's enable the level
to be set for all OPPs. More precisely, if the requested OPP has a valid
level let's try to request it through the device's optional PM domain, via
calling dev_pm_domain_set_performance_state().
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
[ Viresh: Handle NULL opp in _set_opp_level() ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions