OPP: Extend dev_pm_opp_data with a level
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Sep 2023 13:17:10 +0000 (15:17 +0200)
committerViresh Kumar <viresh.kumar@linaro.org>
Fri, 6 Oct 2023 07:07:34 +0000 (12:37 +0530)
commit3166383da081461244918aeed7ad028ef11b17cc
tree5707714a946a7414e92e5de6ce32a518def682b7
parent248a38d5cc3f3505e6cfbbc0514435c9f1ba00af
OPP: Extend dev_pm_opp_data with a level

Let's extend the dev_pm_opp_data with a level variable, to allow users to
specify a corresponding level (performance state) for a dynamically added
OPP.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/opp/core.c
include/linux/pm_opp.h