From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Nelson Date: Sun, 23 Sep 2012 16:02:39 -0700 Subject: [U-Boot] [PATCH 3/3] i.MX6: mx6qsabrelite: Include hdmidet command. In-Reply-To: <1348441359-25169-1-git-send-email-eric.nelson@boundarydevices.com> References: <505F5164.4020202@boundarydevices.com> <1348441359-25169-1-git-send-email-eric.nelson@boundarydevices.com> Message-ID: <1348441359-25169-4-git-send-email-eric.nelson@boundarydevices.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Signed-off-by: Eric Nelson --- board/freescale/mx6qsabrelite/mx6qsabrelite.c | 6 ++++++ include/configs/mx6qsabrelite.h | 1 + 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/board/freescale/mx6qsabrelite/mx6qsabrelite.c b/board/freescale/mx6qsabrelite/mx6qsabrelite.c index d274d8c..ed60c6d 100644 --- a/board/freescale/mx6qsabrelite/mx6qsabrelite.c +++ b/board/freescale/mx6qsabrelite/mx6qsabrelite.c @@ -551,6 +551,12 @@ void lcd_iomux(void) |MXC_CCM_CCGR3_LDB_DI0_MASK; writel(reg, &mxc_ccm->CCGR3); + /* Turn on HDMI PHY clock */ + reg = __raw_readl(&mxc_ccm->CCGR2); + reg |= MXC_CCM_CCGR2_HDMI_TX_IAHBCLK_MASK + |MXC_CCM_CCGR2_HDMI_TX_ISFRCLK_MASK; + writel(reg, &mxc_ccm->CCGR2); + /* set PFD1_FRAC to 0x13 == 455 MHz (480*18)/0x13 */ writel(ANATOP_PFD_480_PFD1_FRAC_MASK, &anatop->pfd_480_clr); writel(0x13<pfd_480_set); diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h index 8601685..80707d0 100644 --- a/include/configs/mx6qsabrelite.h +++ b/include/configs/mx6qsabrelite.h @@ -144,6 +144,7 @@ #define CONFIG_BMP_16BPP #define CONFIG_VIDEO_LOGO #define CONFIG_IPUV3_CLK 260000000 +#define CONFIG_CMD_HDMIDETECT /* allow to overwrite serial and ethaddr */ #define CONFIG_ENV_OVERWRITE -- 1.7.9