]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: dt: Add support for turbo/boost mode
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 29 Jul 2015 10:53:11 +0000 (16:23 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 7 Aug 2015 01:25:24 +0000 (03:25 +0200)
commit796352574d3659a876b4c4ccc66b985bcd45db48
tree6a22348534638429e1d5545efe1e2d03f435cb17
parentb8e0f19d2ec7498c65308e9de2f1e32f06b0b420
cpufreq: dt: Add support for turbo/boost mode

With opp-v2 DT bindings, few OPPs can be used only for the boost mode.
But using such OPPs require the boost mode to be supported by cpufreq
driver.

We will parse DT bindings only during ->init() and so can enable boost
support only after registering cpufreq driver.

This enables boost support as soon as any policy has boost/turbo OPPs
for its CPUs.

We don't need to disable boost support as that is done by the core, when
the driver is unregistered.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq-dt.c