summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/tegra186-cpufreq.c
AgeCommit message (Collapse)AuthorFilesLines
2017-04-19cpufreq: Add Tegra186 cpufreq driverMikko Perttunen1-0/+275
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>