Commit 05db3596 authored by Krishna Chaitanya Chundru's avatar Krishna Chaitanya Chundru Committed by Viresh Kumar
Browse files

OPP: Add support to find OPP for a set of keys



Some clients, such as PCIe, may operate at the same clock frequency
across different data rates by varying link width. In such cases,
frequency alone is not sufficient to uniquely identify an OPP.

To support these scenarios, introduce a new API
dev_pm_opp_find_key_exact() that allows OPP lookup with different
set of keys like freq, level & bandwidth.

Signed-off-by: default avatarKrishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
[ Viresh: Minor cleanups ]
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 22763c35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment