diff options
author | Joseph Lo <josephl@nvidia.com> | 2019-01-04 11:06:54 +0800 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2019-02-06 14:31:05 +0100 |
commit | c06697d850fb9013fec9035a43442a7ead5c2236 (patch) | |
tree | c214009b9aa7f9d4dc22b1672e8193100c29a0f4 /drivers/cpufreq | |
parent | 9f5ed5fe60605cadbfeb929565c02fa55e4016ba (diff) | |
download | linux-c06697d850fb9013fec9035a43442a7ead5c2236.tar.bz2 |
cpufreq: tegra124: extend to support Tegra210
Tegra210 uses the same methodology as Tegra124 for CPUFreq controlling
that based on DFLL clock. So extending this driver to support Tegra210.
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: linux-pm@vger.kernel.org
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r-- | drivers/cpufreq/tegra124-cpufreq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/cpufreq/tegra124-cpufreq.c b/drivers/cpufreq/tegra124-cpufreq.c index a1bfde0a7950..ba3795e13ac6 100644 --- a/drivers/cpufreq/tegra124-cpufreq.c +++ b/drivers/cpufreq/tegra124-cpufreq.c @@ -144,7 +144,8 @@ static int __init tegra_cpufreq_init(void) int ret; struct platform_device *pdev; - if (!of_machine_is_compatible("nvidia,tegra124")) + if (!(of_machine_is_compatible("nvidia,tegra124") || + of_machine_is_compatible("nvidia,tegra210"))) return -ENODEV; /* |