]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
cpufreq: dt: Don't use generic platdev driver for ti-cpufreq platforms
authorDave Gerlach <d-gerlach@ti.com>
Fri, 3 Feb 2017 17:29:29 +0000 (11:29 -0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 9 Feb 2017 21:59:00 +0000 (22:59 +0100)
Some TI platforms, specifically those in the am33xx, am43xx, dra7xx, and
am57xx families of SoCs can make use of the ti-cpufreq driver to
selectively enable OPPs based on the exact configuration in use. The
ti-cpufreq is given the responsibility of creating the cpufreq-dt
platform device when the driver is in use so drop am33xx and dra7xx
from the cpufreq-dt-platdev driver so it is not created twice.

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq-dt-platdev.c

index 7fcaf26e8f819b7665f6e9bf83c07a1b705b1d65..921b4a6c3d16bece3177b1e407883c8df9bcfa4a 100644 (file)
@@ -87,8 +87,6 @@ static const struct of_device_id machines[] __initconst = {
        { .compatible = "socionext,uniphier-ld11", },
        { .compatible = "socionext,uniphier-ld20", },
 
-       { .compatible = "ti,am33xx", },
-       { .compatible = "ti,dra7", },
        { .compatible = "ti,omap2", },
        { .compatible = "ti,omap3", },
        { .compatible = "ti,omap4", },