]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
cpufreq: Add Tegra186 cpufreq driver
authorMikko Perttunen <mperttunen@nvidia.com>
Tue, 11 Apr 2017 08:09:15 +0000 (11:09 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 19 Apr 2017 21:23:08 +0000 (23:23 +0200)
commit939dc6f51e90c95a7d88034da48b747f01873bce
tree1af2dd00ee28636ee28f99583980a3a8b8b4178c
parenteafca851639038a7863910e7fac869f5c8bdfb9d
cpufreq: Add Tegra186 cpufreq driver

Add a new cpufreq driver for Tegra186 (and likely later).
The CPUs are organized into two clusters, Denver and A57,
with two and four cores respectively. CPU frequency can be
adjusted by writing the desired rate divisor and a voltage
hint to a special per-core register.

The frequency of each core can be set individually; however,
this is just a hint as all CPUs in a cluster will run at
the maximum rate of non-idle CPUs in the cluster.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/Kconfig.arm
drivers/cpufreq/Makefile
drivers/cpufreq/tegra186-cpufreq.c [new file with mode: 0644]