From: Hoan Tran <hotran@apm.com>
Date: Thu, 15 Dec 2016 22:55:00 +0000 (-0800)
Subject: cpufreq: dt: Add support for APM X-Gene 2
X-Git-Tag: v4.10-rc3~16^2~1^2
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e11b6293a8fcd3f29376808910f49bd82f72b69a;p=users%2Fdwmw2%2Flinux.git

cpufreq: dt: Add support for APM X-Gene 2

Add the compatible string for supporting the generic device tree cpufreq-dt
driver on APM's X-Gene 2 SoC.

Signed-off-by: Hoan Tran <hotran@apm.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
---

diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
index bc97b6a4b1cf6..7fcaf26e8f819 100644
--- a/drivers/cpufreq/cpufreq-dt-platdev.c
+++ b/drivers/cpufreq/cpufreq-dt-platdev.c
@@ -26,6 +26,8 @@ static const struct of_device_id machines[] __initconst = {
 	{ .compatible = "allwinner,sun8i-a83t", },
 	{ .compatible = "allwinner,sun8i-h3", },
 
+	{ .compatible = "apm,xgene-shadowcat", },
+
 	{ .compatible = "arm,integrator-ap", },
 	{ .compatible = "arm,integrator-cp", },