diff mbox

[07/11] cpufreq: tegra124: Add Tegra210 support

Message ID 1461321071-6431-8-git-send-email-pchiu@nvidia.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Penny Chiu April 22, 2016, 10:31 a.m. UTC
Add tegra210 support in tegra124 cpufreq driver.

Signed-off-by: Penny Chiu <pchiu@nvidia.com>
---
 drivers/cpufreq/tegra124-cpufreq.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Viresh Kumar April 22, 2016, 11 a.m. UTC | #1
On 22-04-16, 18:31, Penny Chiu wrote:
> Add tegra210 support in tegra124 cpufreq driver.
> 
> Signed-off-by: Penny Chiu <pchiu@nvidia.com>
> ---
>  drivers/cpufreq/tegra124-cpufreq.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
diff mbox

Patch

diff --git a/drivers/cpufreq/tegra124-cpufreq.c b/drivers/cpufreq/tegra124-cpufreq.c
index 20bcceb..c891e6e 100644
--- a/drivers/cpufreq/tegra124-cpufreq.c
+++ b/drivers/cpufreq/tegra124-cpufreq.c
@@ -188,7 +188,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;
 
 	/*