|
@@ -860,25 +860,41 @@ static struct davinci_pll_platform_data *davinci_pll_get_pdata(struct device *de
|
|
|
}
|
|
|
|
|
|
/* needed in early boot for clocksource/clockevent */
|
|
|
+#ifdef CONFIG_ARCH_DAVINCI_DA850
|
|
|
CLK_OF_DECLARE(da850_pll0, "ti,da850-pll0", of_da850_pll0_init);
|
|
|
+#endif
|
|
|
|
|
|
static const struct of_device_id davinci_pll_of_match[] = {
|
|
|
+#ifdef CONFIG_ARCH_DAVINCI_DA850
|
|
|
{ .compatible = "ti,da850-pll1", .data = of_da850_pll1_init },
|
|
|
+#endif
|
|
|
{ }
|
|
|
};
|
|
|
|
|
|
static const struct platform_device_id davinci_pll_id_table[] = {
|
|
|
+#ifdef CONFIG_ARCH_DAVINCI_DA830
|
|
|
{ .name = "da830-pll", .driver_data = (kernel_ulong_t)da830_pll_init },
|
|
|
+#endif
|
|
|
+#ifdef CONFIG_ARCH_DAVINCI_DA850
|
|
|
{ .name = "da850-pll0", .driver_data = (kernel_ulong_t)da850_pll0_init },
|
|
|
{ .name = "da850-pll1", .driver_data = (kernel_ulong_t)da850_pll1_init },
|
|
|
+#endif
|
|
|
+#ifdef CONFIG_ARCH_DAVINCI_DM355
|
|
|
{ .name = "dm355-pll1", .driver_data = (kernel_ulong_t)dm355_pll1_init },
|
|
|
{ .name = "dm355-pll2", .driver_data = (kernel_ulong_t)dm355_pll2_init },
|
|
|
+#endif
|
|
|
+#ifdef CONFIG_ARCH_DAVINCI_DM365
|
|
|
{ .name = "dm365-pll1", .driver_data = (kernel_ulong_t)dm365_pll1_init },
|
|
|
{ .name = "dm365-pll2", .driver_data = (kernel_ulong_t)dm365_pll2_init },
|
|
|
+#endif
|
|
|
+#ifdef CONFIG_ARCH_DAVINCI_DM644x
|
|
|
{ .name = "dm644x-pll1", .driver_data = (kernel_ulong_t)dm644x_pll1_init },
|
|
|
{ .name = "dm644x-pll2", .driver_data = (kernel_ulong_t)dm644x_pll2_init },
|
|
|
+#endif
|
|
|
+#ifdef CONFIG_ARCH_DAVINCI_DM646x
|
|
|
{ .name = "dm646x-pll1", .driver_data = (kernel_ulong_t)dm646x_pll1_init },
|
|
|
{ .name = "dm646x-pll2", .driver_data = (kernel_ulong_t)dm646x_pll2_init },
|
|
|
+#endif
|
|
|
{ }
|
|
|
};
|
|
|
|