From: Chen Liangjun Date: Wed, 1 Aug 2012 05:59:18 +0000 (+0800) Subject: ENGR00219016-3 MX6Q SMD: Set HDMI event as event 2 of SDMA event X-Git-Tag: v3.0.35-fsl~660 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b9df43a2e4f7e8da7f92ae70dfdb940640720647;p=karo-tx-linux.git ENGR00219016-3 MX6Q SMD: Set HDMI event as event 2 of SDMA event If MX6q chip version is bigger than TO1.2, Select HDMI SDMA request as SDMA event 2 for MX6Q ARM2 board. SDMA event 2 can be configured HDMI or IPU. Signed-off-by: Chen Liangjun --- diff --git a/arch/arm/mach-mx6/board-mx6q_sabresd.c b/arch/arm/mach-mx6/board-mx6q_sabresd.c index 99ce63717d6b..ae8a6137273b 100644 --- a/arch/arm/mach-mx6/board-mx6q_sabresd.c +++ b/arch/arm/mach-mx6/board-mx6q_sabresd.c @@ -1277,6 +1277,10 @@ static void hdmi_init(int ipu_id, int disp_id) /* GPR3, bits 2-3 = HDMI_MUX_CTL */ mxc_iomux_set_gpr_register(3, 2, 2, hdmi_mux_setting); + + /* Set HDMI event as SDMA event2 while Chip version later than TO1.2 */ + if ((mx6q_revision() > IMX_CHIP_REVISION_1_1)) + mxc_iomux_set_gpr_register(0, 0, 1, 1); } /* On mx6x sabresd board i2c2 iomux with hdmi ddc,