aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/cpufreq/cpufreq-dt-platdev.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2016-04-22 16:58:47 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-04-25 16:18:24 +0200
commit3920be471ce7f66c05e6e0cd251a332b84520ef8 (patch)
treeb4a0753edb16ff12ebee3150b18747a5e28dc88a /drivers/cpufreq/cpufreq-dt-platdev.c
parentcpufreq: zynq: Use generic platdev driver (diff)
downloadwireguard-linux-3920be471ce7f66c05e6e0cd251a332b84520ef8.tar.xz
wireguard-linux-3920be471ce7f66c05e6e0cd251a332b84520ef8.zip
cpufreq: hisilicon: Use generic platdev driver
The cpufreq-dt-platdev driver supports creation of cpufreq-dt platform device now, reuse that and remove similar code from platform code. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq-dt-platdev.c')
-rw-r--r--drivers/cpufreq/cpufreq-dt-platdev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
index 5ad29383e862..ac4a0ba87c12 100644
--- a/drivers/cpufreq/cpufreq-dt-platdev.c
+++ b/drivers/cpufreq/cpufreq-dt-platdev.c
@@ -24,6 +24,8 @@ static const struct of_device_id machines[] __initconst = {
{ .compatible = "allwinner,sun8i-a83t", },
{ .compatible = "allwinner,sun8i-h3", },
+ { .compatible = "hisilicon,hi6220", },
+
{ .compatible = "fsl,imx27", },
{ .compatible = "fsl,imx51", },
{ .compatible = "fsl,imx53", },