]> 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)
commita6f608521b99526fb8266fda0597d58e760ce8a6
tree2b7d0b80662ca6be8f8557ced444974aec0e3a53
parentbd05824191ae6923635957da36b96e876533001c
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