commit | 2f36bde0fc8f1ab79d54bd2caa7c1cf874fd2206 | [log] [tgz] |
---|---|---|
author | Andrew-sh.Cheng <andrew-sh.cheng@mediatek.com> | Fri Mar 29 14:46:10 2019 +0800 |
committer | Viresh Kumar <viresh.kumar@linaro.org> | Wed Apr 10 12:13:31 2019 +0530 |
tree | a48df1456492be0d18de709395bfca06fdc9d261 | |
parent | 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b [diff] |
OPP: Introduce dev_pm_opp_find_freq_ceil_by_volt() This patch introduces a new helper routine in the OPP core, which returns the OPP with the highest frequency which has voltage less than or equal to the target voltage passed to the helper. Signed-off-by: Andrew-sh.Cheng <andrew-sh.cheng@mediatek.com> [ Viresh: Massaged the commit log and renamed the helper with some cleanups. ] Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>