Browse Source

bf609: adv7343: add S-Video and Component output support

Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>
Scott Jiang 12 years ago
parent
commit
e57860929c
1 changed files with 22 additions and 1 deletions
  1. 22 1
      arch/blackfin/mach-bf609/boards/ezkit.c

+ 22 - 1
arch/blackfin/mach-bf609/boards/ezkit.c

@@ -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,
 	},
 };