Manjunath Hadli wrote:

This patch implements the overall device creation for the Video
display driver, initializes the platform variables and implements
platform functions including setting video clocks.

Signed-off-by: Manjunath Hadli <[email protected]>
Acked-by: Muralidharan Karicheri <[email protected]>
Acked-by: Hans Verkuil <[email protected]>
[...]

diff --git a/arch/arm/mach-davinci/dm644x.c b/arch/arm/mach-davinci/dm644x.c
index 9a2376b..45a89a8 100644
--- a/arch/arm/mach-davinci/dm644x.c
+++ b/arch/arm/mach-davinci/dm644x.c
[...]
@@ -781,25 +915,38 @@ void __init dm644x_init(void)
        davinci_common_init(&davinci_soc_info_dm644x);
 }
+static struct platform_device *dm644x_video_devices[] __initdata = {
+       &dm644x_vpss_device,
+       &dm644x_ccdc_dev,
+       &vpfe_capture_dev,
+       &dm644x_osd_dev,
+       &dm644x_venc_dev,
+       &dm644x_vpbe_dev,
+       &vpbe_v4l2_display,
+};
+
+static int __init dm644x_init_video(void)
+{
+       /* Add ccdc clock aliases */
+       clk_add_alias("master", dm644x_ccdc_dev.name, "vpss_master", NULL);
+       clk_add_alias("slave", dm644x_ccdc_dev.name, "vpss_slave", NULL);
+       vpss_clkctl_reg = DAVINCI_SYSMODULE_VIRT(0x44);

Patch 3 should clearly precede this one, as it defines DAVINCI_SYSMODULE_VIRT()...

WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to