ARM: OMAP4+: AESS: enable internal auto-gating during initial setup
authorPaul Walmsley <paul@pwsan.com>
Sun, 10 Feb 2013 18:22:23 +0000 (11:22 -0700)
committerPaul Walmsley <paul@pwsan.com>
Sun, 10 Feb 2013 18:22:23 +0000 (11:22 -0700)
commitc02060d869247215c2ea15fd650c333d30f5b210
tree67fc0df4ec9b8b9b2e174a5e4212b83bd8e56868
parentcf8ba17154b0977e9195b160aef6c934270a08c1
ARM: OMAP4+: AESS: enable internal auto-gating during initial setup

Enable the AESS auto-gating control bit during AESS hwmod setup.  This
fixes the following boot warning on OMAP4:

omap_hwmod: aess: _wait_target_disable failed

Without this patch, the AESS IP block does not indicate to the PRCM
that it is idle after it is reset.  This prevents some types of SoC
power management until something sets the auto-gating control bit.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Sebastien Guiriec <s-guiriec@ti.com>
Cc: Benoît Cousson <b-cousson@ti.com>
Cc: Péter Ujfalusi <peter.ujfalusi@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/omap_hwmod.h
arch/arm/mach-omap2/omap_hwmod_44xx_data.c
arch/arm/mach-omap2/omap_hwmod_reset.c [new file with mode: 0644]