ARM: OMAP44xx: clockdomain data: correct the emu_sys_clkdm CLKTRCTRL data
authorPaul Walmsley <paul@pwsan.com>
Wed, 4 Apr 2012 14:25:25 +0000 (08:25 -0600)
committerPaul Walmsley <paul@pwsan.com>
Wed, 4 Apr 2012 14:25:25 +0000 (08:25 -0600)
According to the 4430 ES2.0 TRM vX Table 3-744 "CM_EMU_CLKSTCTRL",
the emu_sys clockdomain data in mainline is incorrect.

The emu_sys clockdomain does not support the DISABLE_AUTO state, and
instead it supports the FORCE_WAKEUP state.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: BenoƮt Cousson <b-cousson@ti.com>
Cc: Kevin Hilman <khilman@ti.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Ming Lei <ming.lei@canonical.com>
Cc: Will Deacon <will.deacon@arm.com>
arch/arm/mach-omap2/clockdomains44xx_data.c

index 9299ac291d28165b74f23bcb5e7ed73741c6a31b..bd7ed13515cc75c78662ef8adb323b693407247f 100644 (file)
@@ -390,7 +390,7 @@ static struct clockdomain emu_sys_44xx_clkdm = {
        .prcm_partition   = OMAP4430_PRM_PARTITION,
        .cm_inst          = OMAP4430_PRM_EMU_CM_INST,
        .clkdm_offs       = OMAP4430_PRM_EMU_CM_EMU_CDOFFS,
-       .flags            = CLKDM_CAN_HWSUP,
+       .flags            = CLKDM_CAN_ENABLE_AUTO | CLKDM_CAN_FORCE_WAKEUP,
 };
 
 static struct clockdomain l3_dma_44xx_clkdm = {