diff options
author | Nikita Kiryanov <nikita@compulab.co.il> | 2015-07-23 17:19:28 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-08-02 10:51:37 +0200 |
commit | 75dbbbfdf36ac01d56418a1e47ed30deeb6f72ec (patch) | |
tree | 73b7c51825627334df538841adac20d0ea3841a8 /board/compulab | |
parent | 361b715bbfbebc96d31c0ee48c34c2e66f049684 (diff) | |
download | u-boot-75dbbbfdf36ac01d56418a1e47ed30deeb6f72ec.tar.gz u-boot-75dbbbfdf36ac01d56418a1e47ed30deeb6f72ec.tar.bz2 u-boot-75dbbbfdf36ac01d56418a1e47ed30deeb6f72ec.zip |
arm: mx6: cm-fx6: map HDMI to IPU1 DI0 explicitly
U-Boot does not explicitly assign the display to an IPU interface. Instead, it
relies on the power-on default of DI0.
Since the kernel reassigns HDMI display to DI1, after a warm reset the HDMI
display no longer works in U-Boot.
Fix this by explicitly assigning HDMI to IPU1 DI0 in U-Boot.
Cc: Stefano Babic <sbabic@denx.de>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'board/compulab')
-rw-r--r-- | board/compulab/cm_fx6/cm_fx6.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/compulab/cm_fx6/cm_fx6.c b/board/compulab/cm_fx6/cm_fx6.c index 7a1bbafaa5..b500f916a0 100644 --- a/board/compulab/cm_fx6/cm_fx6.c +++ b/board/compulab/cm_fx6/cm_fx6.c @@ -83,6 +83,7 @@ size_t display_count = ARRAY_SIZE(displays); static void cm_fx6_setup_display(void) { struct mxc_ccm_reg *mxc_ccm = (struct mxc_ccm_reg *)CCM_BASE_ADDR; + struct iomuxc *const iomuxc_regs = (struct iomuxc *)IOMUXC_BASE_ADDR; int reg; enable_ipu_clock(); @@ -90,6 +91,7 @@ static void cm_fx6_setup_display(void) reg = __raw_readl(&mxc_ccm->CCGR3); reg |= MXC_CCM_CCGR3_IPU1_IPU_DI0_MASK; writel(reg, &mxc_ccm->CCGR3); + clrbits_le32(&iomuxc_regs->gpr[3], MXC_CCM_CCGR3_IPU1_IPU_DI0_MASK); } #else static inline void cm_fx6_setup_display(void) {} |