Skip to content

Commit

Permalink
PM / OPP: Add "opp-supported-hw" binding
Browse files Browse the repository at this point in the history
We may want to enable only a subset of OPPs, from the bigger list of
OPPs, based on what version of the hardware we are running on. This
would enable us to not duplicate OPP tables for every version of the
hardware we support.

To enable that, this patch defines a new property 'opp-supported-hw'. It
can support any number of hierarchy levels of the versions the hardware
follows. And based on the selected hardware versions, we can pick only
the relevant OPPs at runtime.

Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit 1c4d12d)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
  • Loading branch information
vireshk authored and Alex Shi committed Apr 1, 2016
1 parent 9fbce7b commit 4a0b368
Showing 1 changed file with 493 additions and 0 deletions.
Loading

0 comments on commit 4a0b368

Please sign in to comment.