OMAP: hwmod: add API for slave idlemode setting
authorKevin Hilman <khilman@deeprootsystems.com>
Wed, 27 Jan 2010 03:13:03 +0000 (20:13 -0700)
committerPaul Walmsley <paul@pwsan.com>
Wed, 27 Jan 2010 03:13:03 +0000 (20:13 -0700)
commit46273e6f37bdf3801363986e2228350ecad19059
treef115af81da2b8a8289a84b7a535d60c800784b44
parent9799aca2032ad53418ff4bc0d1a6f2cb4f79b6c0
OMAP: hwmod: add API for slave idlemode setting

Some HW blocks have errata which requires specific slave idle mode
under certain conditions.

This patch adds an hwmod API to allow setting slave idlemode
ensuring that any SYSCONFIG register updates go through hwmod.

Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod.c
arch/arm/plat-omap/include/plat/omap_hwmod.h