From e57860929c7d9833275597e5f02810c262a8b6e0 Mon Sep 17 00:00:00 2001 From: Scott Jiang Date: Thu, 8 Aug 2013 18:48:22 -0400 Subject: [PATCH] bf609: adv7343: add S-Video and Component output support Signed-off-by: Scott Jiang --- arch/blackfin/mach-bf609/boards/ezkit.c | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/arch/blackfin/mach-bf609/boards/ezkit.c b/arch/blackfin/mach-bf609/boards/ezkit.c index 663ad5df96a3..d4dcbab70bb7 100644 --- a/arch/blackfin/mach-bf609/boards/ezkit.c +++ b/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, }, }; -- 2.30.2