bf609: adv7343: add S-Video and Component output support
authorScott Jiang <scott.jiang.linux@gmail.com>
Thu, 8 Aug 2013 22:48:22 +0000 (18:48 -0400)
committerSteven Miao <realmz6@gmail.com>
Fri, 13 Sep 2013 02:42:36 +0000 (10:42 +0800)
Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>
arch/blackfin/mach-bf609/boards/ezkit.c

index 663ad5df96a3c7a5d2febc1454d32692f95cd77f..d4dcbab70bb729822887dde285b44867e93e452a 100644 (file)
@@ -1118,11 +1118,32 @@ static struct v4l2_output adv7343_outputs[] = {
                .std = V4L2_STD_ALL,
                .capabilities = V4L2_OUT_CAP_STD,
        },
+       {
+               .index = 1,
+               .name = "S-Video",
+               .type = V4L2_OUTPUT_TYPE_ANALOG,
+               .std = V4L2_STD_ALL,
+               .capabilities = V4L2_OUT_CAP_STD,
+       },
+       {
+               .index = 2,
+               .name = "Component",
+               .type = V4L2_OUTPUT_TYPE_ANALOG,
+               .std = V4L2_STD_ALL,
+               .capabilities = V4L2_OUT_CAP_STD,
+       },
+
 };
 
 static struct disp_route adv7343_routes[] = {
        {
-               .output = 0,
+               .output = ADV7343_COMPOSITE_ID,
+       },
+       {
+               .output = ADV7343_SVIDEO_ID,
+       },
+       {
+               .output = ADV7343_COMPONENT_ID,
        },
 };