firmware: arm_scmi: Extend perf support with OPP from genpd providers
To enable a genpd provider to add OPPs for its attached devices, let's
convert into using the dev_pm_opp_add_dynamic() API, in favor of the
current dev_pm_opp_add() API. This allows us to specify the frequency, the
performance level and the OPP provider type for each OPP that it may be
adding.
Moreover, to let callers of the ->device_opps_add() ops, to specify the OPP
provider let's add a new in-parameter to it.
Signed-off-by:
Ulf Hansson <ulf.hansson@linaro.org>
Loading
Please register or sign in to comment