BACKPORT: OPP: Add dev_pm_opp_add_dynamic() to allow more flexibility
The dev_pm_opp_add() API is limited to add dynamic OPPs with a frequency and a voltage level. To enable more flexibility, let's add a new API, dev_pm_opp_add_dynamic() that's takes a struct dev_pm_opp_data* instead of a list of in-parameters. Signed-off-by:Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by:
Viresh Kumar <viresh.kumar@linaro.org> Bug: 323966425 Change-Id: I37e08f4b4c9f42e1f8c42a876d46d89447fda7a1 (cherry picked from commit 248a38d5) [anantg: Kept dev_pm_opp_add() as an exported API to maintain the ABI] Signed-off-by:
Nikunj Kela <quic_nkela@quicinc.com> Signed-off-by:
Anant Goel <quic_anantg@quicinc.com>
Loading