cpufreq: pxa: use generic platdev driver for device-tree
authorRobert Jarzmik <robert.jarzmik@free.fr>
Mon, 31 Oct 2016 19:54:53 +0000 (20:54 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 11 Nov 2016 01:08:42 +0000 (02:08 +0100)
For device-tree based pxa25x and pxa27x platforms, cpufreq-dt driver is
doing the job as well as pxa2xx-cpufreq, so add these platforms to the
compatibility list.

This won't work for legacy non device-tree platforms where
pxa2xx-cpufreq is still required.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq-dt-platdev.c

index fba3f61..fcc5bcf 100644 (file)
@@ -37,6 +37,8 @@ static const struct of_device_id machines[] __initconst = {
        { .compatible = "fsl,imx7d", },
 
        { .compatible = "marvell,berlin", },
+       { .compatible = "marvell,pxa250", },
+       { .compatible = "marvell,pxa270", },
 
        { .compatible = "samsung,exynos3250", },
        { .compatible = "samsung,exynos4210", },