]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/cpufreq/cpufreq-dt-platdev.c
Merge tag 'samsung-dt64-4.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / drivers / cpufreq / cpufreq-dt-platdev.c
index 2ee40fd360caaa1ffd3a60700b1bc31a3a533322..7fcaf26e8f819b7665f6e9bf83c07a1b705b1d65 100644 (file)
@@ -11,6 +11,8 @@
 #include <linux/of.h>
 #include <linux/platform_device.h>
 
+#include "cpufreq-dt.h"
+
 static const struct of_device_id machines[] __initconst = {
        { .compatible = "allwinner,sun4i-a10", },
        { .compatible = "allwinner,sun5i-a10s", },
@@ -24,6 +26,11 @@ 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", },
+
        { .compatible = "hisilicon,hi6220", },
 
        { .compatible = "fsl,imx27", },
@@ -32,6 +39,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", },
@@ -40,6 +49,7 @@ static const struct of_device_id machines[] __initconst = {
        { .compatible = "samsung,exynos5250", },
 #ifndef CONFIG_BL_SWITCHER
        { .compatible = "samsung,exynos5420", },
+       { .compatible = "samsung,exynos5433", },
        { .compatible = "samsung,exynos5800", },
 #endif
 
@@ -47,10 +57,13 @@ static const struct of_device_id machines[] __initconst = {
        { .compatible = "renesas,r7s72100", },
        { .compatible = "renesas,r8a73a4", },
        { .compatible = "renesas,r8a7740", },
+       { .compatible = "renesas,r8a7743", },
+       { .compatible = "renesas,r8a7745", },
        { .compatible = "renesas,r8a7778", },
        { .compatible = "renesas,r8a7779", },
        { .compatible = "renesas,r8a7790", },
        { .compatible = "renesas,r8a7791", },
+       { .compatible = "renesas,r8a7792", },
        { .compatible = "renesas,r8a7793", },
        { .compatible = "renesas,r8a7794", },
        { .compatible = "renesas,sh73a0", },
@@ -68,6 +81,14 @@ static const struct of_device_id machines[] __initconst = {
 
        { .compatible = "sigma,tango4" },
 
+       { .compatible = "socionext,uniphier-pro5", },
+       { .compatible = "socionext,uniphier-pxs2", },
+       { .compatible = "socionext,uniphier-ld6b", },
+       { .compatible = "socionext,uniphier-ld11", },
+       { .compatible = "socionext,uniphier-ld20", },
+
+       { .compatible = "ti,am33xx", },
+       { .compatible = "ti,dra7", },
        { .compatible = "ti,omap2", },
        { .compatible = "ti,omap3", },
        { .compatible = "ti,omap4", },
@@ -75,6 +96,8 @@ static const struct of_device_id machines[] __initconst = {
 
        { .compatible = "xlnx,zynq-7000", },
 
+       { .compatible = "zte,zx296718", },
+
        { }
 };
 
@@ -91,7 +114,8 @@ static int __init cpufreq_dt_platdev_init(void)
        if (!match)
                return -ENODEV;
 
-       return PTR_ERR_OR_ZERO(platform_device_register_simple("cpufreq-dt", -1,
-                                                              NULL, 0));
+       return PTR_ERR_OR_ZERO(platform_device_register_data(NULL, "cpufreq-dt",
+                              -1, match->data,
+                              sizeof(struct cpufreq_dt_platform_data)));
 }
 device_initcall(cpufreq_dt_platdev_init);