aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-davinci/board-da850-evm.c13
-rw-r--r--arch/arm/mach-davinci/board-dm644x-evm.c8
-rw-r--r--arch/arm/mach-davinci/dm644x.c10
-rw-r--r--arch/arm/mach-exynos/mach-nuri.c8
-rw-r--r--arch/arm/mach-exynos/mach-universal_c210.c8
-rw-r--r--arch/arm/mach-s5pv210/mach-goni.c6
6 files changed, 30 insertions, 23 deletions
diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c
index 1f50a653eb8c..c2dfe06563df 100644
--- a/arch/arm/mach-davinci/board-da850-evm.c
+++ b/arch/arm/mach-davinci/board-da850-evm.c
@@ -1253,11 +1253,24 @@ static struct vpif_capture_config da850_vpif_capture_config = {
1253}; 1253};
1254 1254
1255/* VPIF display configuration */ 1255/* VPIF display configuration */
1256
1257static struct adv7343_platform_data adv7343_pdata = {
1258 .mode_config = {
1259 .dac_3 = 1,
1260 .dac_2 = 1,
1261 .dac_1 = 1,
1262 },
1263 .sd_config = {
1264 .sd_dac_out1 = 1,
1265 },
1266};
1267
1256static struct vpif_subdev_info da850_vpif_subdev[] = { 1268static struct vpif_subdev_info da850_vpif_subdev[] = {
1257 { 1269 {
1258 .name = "adv7343", 1270 .name = "adv7343",
1259 .board_info = { 1271 .board_info = {
1260 I2C_BOARD_INFO("adv7343", 0x2a), 1272 I2C_BOARD_INFO("adv7343", 0x2a),
1273 .platform_data = &adv7343_pdata,
1261 }, 1274 },
1262 }, 1275 },
1263}; 1276};
diff --git a/arch/arm/mach-davinci/board-dm644x-evm.c b/arch/arm/mach-davinci/board-dm644x-evm.c
index e4a16f98e6a2..71735e7797cc 100644
--- a/arch/arm/mach-davinci/board-dm644x-evm.c
+++ b/arch/arm/mach-davinci/board-dm644x-evm.c
@@ -690,7 +690,7 @@ static struct vpbe_output dm644xevm_vpbe_outputs[] = {
690 .std = VENC_STD_ALL, 690 .std = VENC_STD_ALL,
691 .capabilities = V4L2_OUT_CAP_STD, 691 .capabilities = V4L2_OUT_CAP_STD,
692 }, 692 },
693 .subdev_name = VPBE_VENC_SUBDEV_NAME, 693 .subdev_name = DM644X_VPBE_VENC_SUBDEV_NAME,
694 .default_mode = "ntsc", 694 .default_mode = "ntsc",
695 .num_modes = ARRAY_SIZE(dm644xevm_enc_std_timing), 695 .num_modes = ARRAY_SIZE(dm644xevm_enc_std_timing),
696 .modes = dm644xevm_enc_std_timing, 696 .modes = dm644xevm_enc_std_timing,
@@ -702,7 +702,7 @@ static struct vpbe_output dm644xevm_vpbe_outputs[] = {
702 .type = V4L2_OUTPUT_TYPE_ANALOG, 702 .type = V4L2_OUTPUT_TYPE_ANALOG,
703 .capabilities = V4L2_OUT_CAP_DV_TIMINGS, 703 .capabilities = V4L2_OUT_CAP_DV_TIMINGS,
704 }, 704 },
705 .subdev_name = VPBE_VENC_SUBDEV_NAME, 705 .subdev_name = DM644X_VPBE_VENC_SUBDEV_NAME,
706 .default_mode = "480p59_94", 706 .default_mode = "480p59_94",
707 .num_modes = ARRAY_SIZE(dm644xevm_enc_preset_timing), 707 .num_modes = ARRAY_SIZE(dm644xevm_enc_preset_timing),
708 .modes = dm644xevm_enc_preset_timing, 708 .modes = dm644xevm_enc_preset_timing,
@@ -713,10 +713,10 @@ static struct vpbe_config dm644xevm_display_cfg = {
713 .module_name = "dm644x-vpbe-display", 713 .module_name = "dm644x-vpbe-display",
714 .i2c_adapter_id = 1, 714 .i2c_adapter_id = 1,
715 .osd = { 715 .osd = {
716 .module_name = VPBE_OSD_SUBDEV_NAME, 716 .module_name = DM644X_VPBE_OSD_SUBDEV_NAME,
717 }, 717 },
718 .venc = { 718 .venc = {
719 .module_name = VPBE_VENC_SUBDEV_NAME, 719 .module_name = DM644X_VPBE_VENC_SUBDEV_NAME,
720 }, 720 },
721 .num_outputs = ARRAY_SIZE(dm644xevm_vpbe_outputs), 721 .num_outputs = ARRAY_SIZE(dm644xevm_vpbe_outputs),
722 .outputs = dm644xevm_vpbe_outputs, 722 .outputs = dm644xevm_vpbe_outputs,
diff --git a/arch/arm/mach-davinci/dm644x.c b/arch/arm/mach-davinci/dm644x.c
index 11c79a3362ef..db1dd92e00af 100644
--- a/arch/arm/mach-davinci/dm644x.c
+++ b/arch/arm/mach-davinci/dm644x.c
@@ -669,19 +669,14 @@ static struct resource dm644x_osd_resources[] = {
669 }, 669 },
670}; 670};
671 671
672static struct osd_platform_data dm644x_osd_data = {
673 .vpbe_type = VPBE_VERSION_1,
674};
675
676static struct platform_device dm644x_osd_dev = { 672static struct platform_device dm644x_osd_dev = {
677 .name = VPBE_OSD_SUBDEV_NAME, 673 .name = DM644X_VPBE_OSD_SUBDEV_NAME,
678 .id = -1, 674 .id = -1,
679 .num_resources = ARRAY_SIZE(dm644x_osd_resources), 675 .num_resources = ARRAY_SIZE(dm644x_osd_resources),
680 .resource = dm644x_osd_resources, 676 .resource = dm644x_osd_resources,
681 .dev = { 677 .dev = {
682 .dma_mask = &dm644x_video_dma_mask, 678 .dma_mask = &dm644x_video_dma_mask,
683 .coherent_dma_mask = DMA_BIT_MASK(32), 679 .coherent_dma_mask = DMA_BIT_MASK(32),
684 .platform_data = &dm644x_osd_data,
685 }, 680 },
686}; 681};
687 682
@@ -751,12 +746,11 @@ static struct platform_device dm644x_vpbe_display = {
751}; 746};
752 747
753static struct venc_platform_data dm644x_venc_pdata = { 748static struct venc_platform_data dm644x_venc_pdata = {
754 .venc_type = VPBE_VERSION_1,
755 .setup_clock = dm644x_venc_setup_clock, 749 .setup_clock = dm644x_venc_setup_clock,
756}; 750};
757 751
758static struct platform_device dm644x_venc_dev = { 752static struct platform_device dm644x_venc_dev = {
759 .name = VPBE_VENC_SUBDEV_NAME, 753 .name = DM644X_VPBE_VENC_SUBDEV_NAME,
760 .id = -1, 754 .id = -1,
761 .num_resources = ARRAY_SIZE(dm644x_venc_resources), 755 .num_resources = ARRAY_SIZE(dm644x_venc_resources),
762 .resource = dm644x_venc_resources, 756 .resource = dm644x_venc_resources,
diff --git a/arch/arm/mach-exynos/mach-nuri.c b/arch/arm/mach-exynos/mach-nuri.c
index b8b3fbf0bae7..1ea79730187f 100644
--- a/arch/arm/mach-exynos/mach-nuri.c
+++ b/arch/arm/mach-exynos/mach-nuri.c
@@ -1208,25 +1208,25 @@ static struct i2c_board_info m5mols_board_info = {
1208 .platform_data = &m5mols_platdata, 1208 .platform_data = &m5mols_platdata,
1209}; 1209};
1210 1210
1211static struct s5p_fimc_isp_info nuri_camera_sensors[] = { 1211static struct fimc_source_info nuri_camera_sensors[] = {
1212 { 1212 {
1213 .flags = V4L2_MBUS_PCLK_SAMPLE_RISING | 1213 .flags = V4L2_MBUS_PCLK_SAMPLE_RISING |
1214 V4L2_MBUS_VSYNC_ACTIVE_LOW, 1214 V4L2_MBUS_VSYNC_ACTIVE_LOW,
1215 .bus_type = FIMC_ITU_601, 1215 .fimc_bus_type = FIMC_BUS_TYPE_ITU_601,
1216 .board_info = &s5k6aa_board_info, 1216 .board_info = &s5k6aa_board_info,
1217 .clk_frequency = 24000000UL, 1217 .clk_frequency = 24000000UL,
1218 .i2c_bus_num = 6, 1218 .i2c_bus_num = 6,
1219 }, { 1219 }, {
1220 .flags = V4L2_MBUS_PCLK_SAMPLE_FALLING | 1220 .flags = V4L2_MBUS_PCLK_SAMPLE_FALLING |
1221 V4L2_MBUS_VSYNC_ACTIVE_LOW, 1221 V4L2_MBUS_VSYNC_ACTIVE_LOW,
1222 .bus_type = FIMC_MIPI_CSI2, 1222 .fimc_bus_type = FIMC_BUS_TYPE_MIPI_CSI2,
1223 .board_info = &m5mols_board_info, 1223 .board_info = &m5mols_board_info,
1224 .clk_frequency = 24000000UL, 1224 .clk_frequency = 24000000UL,
1225 }, 1225 },
1226}; 1226};
1227 1227
1228static struct s5p_platform_fimc fimc_md_platdata = { 1228static struct s5p_platform_fimc fimc_md_platdata = {
1229 .isp_info = nuri_camera_sensors, 1229 .source_info = nuri_camera_sensors,
1230 .num_clients = ARRAY_SIZE(nuri_camera_sensors), 1230 .num_clients = ARRAY_SIZE(nuri_camera_sensors),
1231}; 1231};
1232 1232
diff --git a/arch/arm/mach-exynos/mach-universal_c210.c b/arch/arm/mach-exynos/mach-universal_c210.c
index c9d33a43103e..497fcb793dc1 100644
--- a/arch/arm/mach-exynos/mach-universal_c210.c
+++ b/arch/arm/mach-exynos/mach-universal_c210.c
@@ -987,12 +987,12 @@ static struct i2c_board_info m5mols_board_info = {
987 .platform_data = &m5mols_platdata, 987 .platform_data = &m5mols_platdata,
988}; 988};
989 989
990static struct s5p_fimc_isp_info universal_camera_sensors[] = { 990static struct fimc_source_info universal_camera_sensors[] = {
991 { 991 {
992 .mux_id = 0, 992 .mux_id = 0,
993 .flags = V4L2_MBUS_PCLK_SAMPLE_FALLING | 993 .flags = V4L2_MBUS_PCLK_SAMPLE_FALLING |
994 V4L2_MBUS_VSYNC_ACTIVE_LOW, 994 V4L2_MBUS_VSYNC_ACTIVE_LOW,
995 .bus_type = FIMC_ITU_601, 995 .fimc_bus_type = FIMC_BUS_TYPE_ITU_601,
996 .board_info = &s5k6aa_board_info, 996 .board_info = &s5k6aa_board_info,
997 .i2c_bus_num = 0, 997 .i2c_bus_num = 0,
998 .clk_frequency = 24000000UL, 998 .clk_frequency = 24000000UL,
@@ -1000,7 +1000,7 @@ static struct s5p_fimc_isp_info universal_camera_sensors[] = {
1000 .mux_id = 0, 1000 .mux_id = 0,
1001 .flags = V4L2_MBUS_PCLK_SAMPLE_FALLING | 1001 .flags = V4L2_MBUS_PCLK_SAMPLE_FALLING |
1002 V4L2_MBUS_VSYNC_ACTIVE_LOW, 1002 V4L2_MBUS_VSYNC_ACTIVE_LOW,
1003 .bus_type = FIMC_MIPI_CSI2, 1003 .fimc_bus_type = FIMC_BUS_TYPE_MIPI_CSI2,
1004 .board_info = &m5mols_board_info, 1004 .board_info = &m5mols_board_info,
1005 .i2c_bus_num = 0, 1005 .i2c_bus_num = 0,
1006 .clk_frequency = 24000000UL, 1006 .clk_frequency = 24000000UL,
@@ -1008,7 +1008,7 @@ static struct s5p_fimc_isp_info universal_camera_sensors[] = {
1008}; 1008};
1009 1009
1010static struct s5p_platform_fimc fimc_md_platdata = { 1010static struct s5p_platform_fimc fimc_md_platdata = {
1011 .isp_info = universal_camera_sensors, 1011 .source_info = universal_camera_sensors,
1012 .num_clients = ARRAY_SIZE(universal_camera_sensors), 1012 .num_clients = ARRAY_SIZE(universal_camera_sensors),
1013}; 1013};
1014 1014
diff --git a/arch/arm/mach-s5pv210/mach-goni.c b/arch/arm/mach-s5pv210/mach-goni.c
index 570481591746..3a38f7b34b94 100644
--- a/arch/arm/mach-s5pv210/mach-goni.c
+++ b/arch/arm/mach-s5pv210/mach-goni.c
@@ -840,12 +840,12 @@ static struct i2c_board_info noon010pc30_board_info = {
840 .platform_data = &noon010pc30_pldata, 840 .platform_data = &noon010pc30_pldata,
841}; 841};
842 842
843static struct s5p_fimc_isp_info goni_camera_sensors[] = { 843static struct fimc_source_info goni_camera_sensors[] = {
844 { 844 {
845 .mux_id = 0, 845 .mux_id = 0,
846 .flags = V4L2_MBUS_PCLK_SAMPLE_FALLING | 846 .flags = V4L2_MBUS_PCLK_SAMPLE_FALLING |
847 V4L2_MBUS_VSYNC_ACTIVE_LOW, 847 V4L2_MBUS_VSYNC_ACTIVE_LOW,
848 .bus_type = FIMC_ITU_601, 848 .bus_type = FIMC_BUS_TYPE_ITU_601,
849 .board_info = &noon010pc30_board_info, 849 .board_info = &noon010pc30_board_info,
850 .i2c_bus_num = 0, 850 .i2c_bus_num = 0,
851 .clk_frequency = 16000000UL, 851 .clk_frequency = 16000000UL,
@@ -853,7 +853,7 @@ static struct s5p_fimc_isp_info goni_camera_sensors[] = {
853}; 853};
854 854
855static struct s5p_platform_fimc goni_fimc_md_platdata __initdata = { 855static struct s5p_platform_fimc goni_fimc_md_platdata __initdata = {
856 .isp_info = goni_camera_sensors, 856 .source_info = goni_camera_sensors,
857 .num_clients = ARRAY_SIZE(goni_camera_sensors), 857 .num_clients = ARRAY_SIZE(goni_camera_sensors),
858}; 858};
859 859