forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
9f5ed5fe60
commit
c06697d850
|
@ -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;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue
Block a user