]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commita9a80e7e3177000344c3993411aada4d1e019f7c
tree2b7d0b80662ca6be8f8557ced444974aec0e3a53
parentb901b518077ba87bc84c84de02fce186cf9e5856
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