summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinyu Chen <b03824@freescale.com>2012-02-21 16:05:31 +0800
committerXinyu Chen <b03824@freescale.com>2012-02-21 16:07:56 +0800
commited96b85fe2e6a48951e241003dc9077e8405e115 (patch)
tree625978c93db706a773682db47b10673e378d6525
parent4c69e9caf33b5de37aa37b49e37ff3ba6937b71a (diff)
ENGR00174927-2 mx6q sabresd: add LVDS1 edid i2c device info
Only add for lvds1, and the edid i2c address is 0x50. lvds0 edid i2c is conflict with HDMI edid. Switch the ldb0/1 di interface to let fb0 initialized with LVDS1. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
-rw-r--r--arch/arm/mach-mx6/board-mx6q_sabresd.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_sabresd.c b/arch/arm/mach-mx6/board-mx6q_sabresd.c
index 5534176c6c6f..3998c82013b7 100644
--- a/arch/arm/mach-mx6/board-mx6q_sabresd.c
+++ b/arch/arm/mach-mx6/board-mx6q_sabresd.c
@@ -653,6 +653,10 @@ static struct i2c_board_info mxc_i2c2_board_info[] __initdata = {
.irq = gpio_to_irq(MX6Q_SABRESD_ALS_INT),
.platform_data = &ls_data,
},
+ {
+ I2C_BOARD_INFO("mxc_ldb_i2c", 0x50),
+ .platform_data = (void *)0,
+ },
};
static void imx6q_sabresd_usbotg_vbus(bool on)
@@ -853,11 +857,11 @@ static struct fsl_mxc_lcd_platform_data lcdif_data = {
static struct fsl_mxc_ldb_platform_data ldb_data = {
.ipu_id = 1,
- .disp_id = 0,
+ .disp_id = 1,
.ext_ref = 1,
- .mode = LDB_SEP0,
+ .mode = LDB_SEP1,
.sec_ipu_id = 1,
- .sec_disp_id = 1,
+ .sec_disp_id = 0,
};
static struct max8903_pdata charger1_data = {