]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00141152-2 imx5X MSL: make default display option
authorJason Chen <b02280@freescale.com>
Tue, 19 Apr 2011 08:34:02 +0000 (16:34 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:32:49 +0000 (08:32 +0200)
Change MSL files.

Signed-off-by: Jason Chen <b02280@freescale.com>
arch/arm/mach-mx5/board-mx51_babbage.c
arch/arm/mach-mx5/board-mx53_evk.c
arch/arm/mach-mx5/board-mx53_loco.c
arch/arm/mach-mx5/board-mx53_smd.c
arch/arm/plat-mxc/include/mach/ipu-v3.h

index 2961fbc01f1dacb5ed4c5c05cd8282f0c084723f..f9ea66d858c50bdd08c4ca8a992b5f0da58fae53 100755 (executable)
@@ -446,6 +446,7 @@ static struct imx_ipuv3_platform_data ipu_data = {
        .rev = 2,
        .fb_head0_platform_data = &bbg_fb_di0_data,
        .fb_head1_platform_data = &bbg_fb_di1_data,
+       .primary_di = MXC_PRI_DI0,
 };
 
 static struct platform_pwm_backlight_data bbg_pwm_backlight_data = {
@@ -496,6 +497,7 @@ static struct fsl_mxc_ddc_platform_data bbg_ddc_dvi_data = {
        .di = 0,
        .init = ddc_dvi_init,
        .update = ddc_dvi_update,
+       .boot_enable = 1,
 };
 
 static struct i2c_board_info mxc_i2c1_board_info[] __initdata = {
index 20a5c910e5455f150f1433b1d186f43676f42878..300d56e75c2ccffd05cf34adb276dbcc2f84d3a8 100755 (executable)
@@ -387,24 +387,25 @@ static struct fb_videomode video_modes[] = {
        0,},
 };
 
-static struct ipuv3_fb_platform_data loco_fb_di0_data = {
+static struct ipuv3_fb_platform_data evk_fb_di0_data = {
        .interface_pix_fmt = IPU_PIX_FMT_RGB565,
        .mode_str = "CLAA-WVGA",
        .modes = video_modes,
        .num_modes = ARRAY_SIZE(video_modes),
 };
 
-static struct ipuv3_fb_platform_data loco_fb_di1_data = {
+static struct ipuv3_fb_platform_data evk_fb_di1_data = {
        .interface_pix_fmt = IPU_PIX_FMT_GBR24,
-       .mode_str = "1024x768M-16@60",
+       .mode_str = "VGA-XGA",
        .modes = video_modes,
        .num_modes = ARRAY_SIZE(video_modes),
 };
 
 static struct imx_ipuv3_platform_data ipu_data = {
        .rev = 3,
-       .fb_head0_platform_data = &loco_fb_di0_data,
-       .fb_head1_platform_data = &loco_fb_di1_data,
+       .fb_head0_platform_data = &evk_fb_di0_data,
+       .fb_head1_platform_data = &evk_fb_di1_data,
+       .primary_di = MXC_PRI_DI0,
 };
 
 static struct platform_pwm_backlight_data evk_pwm_backlight_data = {
index a08ab7496fa7f53c4e785a1d8033cdba2e3dc21b..356349fd6d4b92005fbb61dfcf371925ae99d504 100755 (executable)
@@ -337,7 +337,7 @@ static struct ipuv3_fb_platform_data loco_fb_di0_data = {
 
 static struct ipuv3_fb_platform_data loco_fb_di1_data = {
        .interface_pix_fmt = IPU_PIX_FMT_GBR24,
-       .mode_str = "1024x768M-16@60",
+       .mode_str = "VGA-XGA",
        .modes = video_modes,
        .num_modes = ARRAY_SIZE(video_modes),
 };
@@ -346,6 +346,7 @@ static struct imx_ipuv3_platform_data ipu_data = {
        .rev = 3,
        .fb_head0_platform_data = &loco_fb_di0_data,
        .fb_head1_platform_data = &loco_fb_di1_data,
+       .primary_di = MXC_PRI_DI1,
 };
 
 static struct platform_pwm_backlight_data loco_pwm_backlight_data = {
@@ -357,6 +358,7 @@ static struct platform_pwm_backlight_data loco_pwm_backlight_data = {
 
 static struct fsl_mxc_tve_platform_data tve_data = {
        .dac_reg = "DA9052_LDO7",
+       .boot_enable = MXC_TVE_VGA,
 };
 
 static struct mxc_dvfs_platform_data loco_dvfs_core_data = {
index a77f919958053cdd6cdb13745cfc4fdc6f3894f0..18bca4f1073c2738da75da975c40a748afee31d9 100755 (executable)
@@ -368,6 +368,7 @@ static void sii9022_hdmi_reset(void)
 static struct fsl_mxc_lcd_platform_data sii902x_hdmi_data = {
        .reset = sii9022_hdmi_reset,
        .analog_reg = "DA9052_LDO2",
+       .boot_enable = 1,
 };
 
 static struct i2c_board_info mxc_i2c2_board_info[] __initdata = {
@@ -658,6 +659,7 @@ static struct imx_ipuv3_platform_data ipu_data = {
        .rev = 3,
        .fb_head0_platform_data = &smd_fb_di0_data,
        .fb_head1_platform_data = &smd_fb_di1_data,
+       .primary_di = MXC_PRI_DI1,
 };
 
 static struct platform_pwm_backlight_data mxc_pwm_backlight_data = {
@@ -669,6 +671,7 @@ static struct platform_pwm_backlight_data mxc_pwm_backlight_data = {
 
 static struct fsl_mxc_ldb_platform_data ldb_data = {
        .ext_ref = 1,
+       .boot_enable = MXC_LDBDI1,
 };
 
 static void __init mx53_smd_board_init(void)
index 431befdb9ec52efade737b73a1b99854acd2b999..7d3cebe2b3b2150446a0a6d52a10a102d33608a3 100755 (executable)
@@ -33,6 +33,9 @@ struct imx_ipuv3_platform_data {
        void (*pg) (int);
        struct ipuv3_fb_platform_data   *fb_head0_platform_data;
        struct ipuv3_fb_platform_data   *fb_head1_platform_data;
+#define MXC_PRI_DI0    1
+#define MXC_PRI_DI1    2
+       int primary_di;
 };
 
 #endif /* __MACH_IPU_V3_H_ */