|
@@ -1217,3 +1217,84 @@ static struct vpif_subdev_info da850_vpif_capture_sdev_info[] = {
|
|
|
.name = TVP5147_CH0,
|
|
|
.board_info = {
|
|
|
I2C_BOARD_INFO("tvp5146", 0x5d),
|
|
|
+ .platform_data = &tvp5146_pdata,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ .name = TVP5147_CH1,
|
|
|
+ .board_info = {
|
|
|
+ I2C_BOARD_INFO("tvp5146", 0x5c),
|
|
|
+ .platform_data = &tvp5146_pdata,
|
|
|
+ },
|
|
|
+ },
|
|
|
+};
|
|
|
+
|
|
|
+static struct vpif_capture_config da850_vpif_capture_config = {
|
|
|
+ .subdev_info = da850_vpif_capture_sdev_info,
|
|
|
+ .subdev_count = ARRAY_SIZE(da850_vpif_capture_sdev_info),
|
|
|
+ .chan_config[0] = {
|
|
|
+ .inputs = da850_ch0_inputs,
|
|
|
+ .input_count = ARRAY_SIZE(da850_ch0_inputs),
|
|
|
+ .vpif_if = {
|
|
|
+ .if_type = VPIF_IF_BT656,
|
|
|
+ .hd_pol = 1,
|
|
|
+ .vd_pol = 1,
|
|
|
+ .fid_pol = 0,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ .chan_config[1] = {
|
|
|
+ .inputs = da850_ch1_inputs,
|
|
|
+ .input_count = ARRAY_SIZE(da850_ch1_inputs),
|
|
|
+ .vpif_if = {
|
|
|
+ .if_type = VPIF_IF_BT656,
|
|
|
+ .hd_pol = 1,
|
|
|
+ .vd_pol = 1,
|
|
|
+ .fid_pol = 0,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ .card_name = "DA850/OMAP-L138 Video Capture",
|
|
|
+};
|
|
|
+
|
|
|
+/* VPIF display configuration */
|
|
|
+static struct vpif_subdev_info da850_vpif_subdev[] = {
|
|
|
+ {
|
|
|
+ .name = "adv7343",
|
|
|
+ .board_info = {
|
|
|
+ I2C_BOARD_INFO("adv7343", 0x2a),
|
|
|
+ },
|
|
|
+ },
|
|
|
+};
|
|
|
+
|
|
|
+static const struct vpif_output da850_ch0_outputs[] = {
|
|
|
+ {
|
|
|
+ .output = {
|
|
|
+ .index = 0,
|
|
|
+ .name = "Composite",
|
|
|
+ .type = V4L2_OUTPUT_TYPE_ANALOG,
|
|
|
+ .capabilities = V4L2_OUT_CAP_STD,
|
|
|
+ .std = V4L2_STD_ALL,
|
|
|
+ },
|
|
|
+ .subdev_name = "adv7343",
|
|
|
+ .output_route = ADV7343_COMPOSITE_ID,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ .output = {
|
|
|
+ .index = 1,
|
|
|
+ .name = "S-Video",
|
|
|
+ .type = V4L2_OUTPUT_TYPE_ANALOG,
|
|
|
+ .capabilities = V4L2_OUT_CAP_STD,
|
|
|
+ .std = V4L2_STD_ALL,
|
|
|
+ },
|
|
|
+ .subdev_name = "adv7343",
|
|
|
+ .output_route = ADV7343_SVIDEO_ID,
|
|
|
+ },
|
|
|
+};
|
|
|
+
|
|
|
+static struct vpif_display_config da850_vpif_display_config = {
|
|
|
+ .subdevinfo = da850_vpif_subdev,
|
|
|
+ .subdev_count = ARRAY_SIZE(da850_vpif_subdev),
|
|
|
+ .chan_config[0] = {
|
|
|
+ .outputs = da850_ch0_outputs,
|
|
|
+ .output_count = ARRAY_SIZE(da850_ch0_outputs),
|
|
|
+ },
|
|
|
+ .card_name = "DA850/OMAP-L138 Video Display",
|