summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-mx5/crm_regs.h
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2010-10-13 12:16:35 +0200
committerAnatolij Gustschin <agust@denx.de>2010-10-22 00:05:05 +0200
commit575001e40c9d10e63f2924649098e7c07d3985c7 (patch)
tree148e1dca4c4e702ef694a1afe2cb4cc54a5bb42e /arch/arm/include/asm/arch-mx5/crm_regs.h
parentbf90ecd3c366177c55012e68d15b8aeb2c41e907 (diff)
MX51: Add IPU driver for video support
The patch is a porting of the IPU Linux driver developed by Freescale to have framebuffer functionalities in u-boot. The port is based on kernel 2.6.31 commit cc4fe714041805997b601fe8e5dd585d8a99297f, as delivered by Freescale [i.MX BSP]. Most features are dropped from the original driver and only LCD support is the goal of this porting. Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/include/asm/arch-mx5/crm_regs.h')
-rw-r--r--arch/arm/include/asm/arch-mx5/crm_regs.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx5/crm_regs.h b/arch/arm/include/asm/arch-mx5/crm_regs.h
index 14aa231a5b..4ed8eb31c8 100644
--- a/arch/arm/include/asm/arch-mx5/crm_regs.h
+++ b/arch/arm/include/asm/arch-mx5/crm_regs.h
@@ -189,4 +189,15 @@ struct mxc_ccm_reg {
#define MXC_CCM_CSCDR1_UART_CLK_PODF_OFFSET 0
#define MXC_CCM_CSCDR1_UART_CLK_PODF_MASK 0x7
+/* Define the bits in register CCDR */
+#define MXC_CCM_CCDR_IPU_HS_MASK (0x1 << 17)
+
+/* Define the bits in register CCGRx */
+#define MXC_CCM_CCGR_CG_MASK 0x3
+
+#define MXC_CCM_CCGR5_CG5_OFFSET 10
+
+/* Define the bits in register CLPCR */
+#define MXC_CCM_CLPCR_BYPASS_IPU_LPM_HS (0x1 << 18)
+
#endif /* __ARCH_ARM_MACH_MX51_CRM_REGS_H__ */