Skip to content
Commit 31a69086 authored by Ulf Hansson's avatar Ulf Hansson Committed by Davidson Kumaresan
Browse files

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: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent f5ed311f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment