cpufreq: dt: Support governor tunables per policy
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 9 Sep 2016 11:18:08 +0000 (16:48 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 13 Sep 2016 00:39:12 +0000 (02:39 +0200)
commit297a66221d2bed61e7d74d11bf071c7b489fc33d
treee5547e9a3c08c930f1919f33e1ca32e03373db0e
parent33cc4fc1b2147ee3cf36d02c1106456cb276c043
cpufreq: dt: Support governor tunables per policy

The cpufreq-dt driver is also used for systems with multiple
clock/voltage domains for CPUs, i.e. multiple cpufreq policies in a
system.

And in such cases the platform users may want to enable "governor
tunables per policy". Support that via platform data, as not all users
of the driver would want that behavior.

Reported-by: Juri Lelli <Juri.Lelli@arm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq-dt-platdev.c
drivers/cpufreq/cpufreq-dt.c
drivers/cpufreq/cpufreq-dt.h [new file with mode: 0644]