]> git.baikalelectronics.ru Git - kernel.git/commit
PM / OPP: Add "opp-supported-hw" binding
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 11 Nov 2015 02:40:54 +0000 (08:10 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 23 Nov 2015 22:38:36 +0000 (23:38 +0100)
commit630c14b58ab716d91071ae5767f0d45d358cb986
tree5195187d412bef34d70516a9832f56e6957168d3
parentad1f489cb3f7b04418bc402122fe671aede54969
PM / OPP: Add "opp-supported-hw" binding

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>
Documentation/devicetree/bindings/opp/opp.txt