]> 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)
commit467349cea34f7ad1c88373dda0675095239526da
tree5195187d412bef34d70516a9832f56e6957168d3
parentaad264d58f3277de0cca71f43a733767a18dc7f6
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