]> git.baikalelectronics.ru Git - kernel.git/commit
PM / OPP: Allow multiple OPP tables to be passed via DT
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 22 Jun 2015 12:21:38 +0000 (14:21 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 22 Jun 2015 12:21:38 +0000 (14:21 +0200)
commit5cd6980b27206978de3ae863342af8c8aee701b0
tree2b7d0b80662ca6be8f8557ced444974aec0e3a53
parentabe8823321d5695093902c2d038f0269282857aa
PM / OPP: Allow multiple OPP tables to be passed via DT

On some platforms (Like Qualcomm's SoCs), it is not decided until
runtime on what OPPs to use. The OPP tables can be fixed at compile
time, but which table to use is found out only after reading some efuses
(sort of an prom) and knowing characteristics of the SoC.

To support such platform we need to pass multiple OPP tables per device
and hardware should be able to choose one and only one table out of
those.

Update operating-points-v2 bindings to support that.

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/power/opp.txt