Skip to content
Snippets Groups Projects
Commit c9d834b2 authored by Troy Kisky's avatar Troy Kisky
Browse files

ipu_common: align workaround with current ENGcm08316


06/2010 errata saw a "Added HSC bypass clarification ENGcm08316"

Signed-off-by: default avatarTroy Kisky <troy.kisky@boundarydevices.com>
parent 89f11fae
No related branches found
No related tags found
No related merge requests found
...@@ -461,19 +461,14 @@ int ipu_probe(void) ...@@ -461,19 +461,14 @@ int ipu_probe(void)
{ {
unsigned long ipu_base; unsigned long ipu_base;
#if defined CONFIG_MX51 #if defined CONFIG_MX51
u32 temp; /* Errata ENGcm08316 */
u32 *reg_hsc_mcd = (u32 *)MIPI_HSC_BASE_ADDR; u32 *reg_hsc_mcd = (u32 *)MIPI_HSC_BASE_ADDR;
u32 *reg_hsc_mccmc = (u32 *)(MIPI_HSC_BASE_ADDR + 0x0d8);
u32 *reg_hsc_mxt_conf = (u32 *)(MIPI_HSC_BASE_ADDR + 0x800); u32 *reg_hsc_mxt_conf = (u32 *)(MIPI_HSC_BASE_ADDR + 0x800);
__raw_writel(0xF00, reg_hsc_mcd); __raw_writel(0xF00, reg_hsc_mcd);
__raw_writel(0x00c, reg_hsc_mccmc);
/* CSI mode reserved*/ __raw_writel(0xf003008b, reg_hsc_mxt_conf);
temp = __raw_readl(reg_hsc_mxt_conf);
__raw_writel(temp | 0x0FF, reg_hsc_mxt_conf);
temp = __raw_readl(reg_hsc_mxt_conf);
__raw_writel(temp | 0x10000, reg_hsc_mxt_conf);
#endif #endif
ipu_base = IPU_CTRL_BASE_ADDR; ipu_base = IPU_CTRL_BASE_ADDR;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment