OMAP2+: hwmod: allow board files to prevent devices from being reset upon init
authorPaul Walmsley <paul@pwsan.com>
Thu, 10 Mar 2011 10:50:07 +0000 (03:50 -0700)
committerPaul Walmsley <paul@pwsan.com>
Thu, 10 Mar 2011 10:50:07 +0000 (03:50 -0700)
commit43b01643355672a266b95c4719f47cd1abac4680
treebaf1a94d96b47e21a12e7309c9110c8656631f06
parentdd9c1549edef02290edced639f67b54a25abbe0e
OMAP2+: hwmod: allow board files to prevent devices from being reset upon init

Some boards can't tolerate IP blocks being reset when they are initialized.
Michael Büsch cites a case with the Nokia N810:

    http://www.spinics.net/lists/linux-omap/msg47277.html

To allow such boards to continue working normally, allow board file
maintainers to mark IP blocks to prevent them from being reset upon
init.  This is done via a hwmod function, omap_hwmod_no_setup_reset().

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Michael Buesch <mb@bu3sch.de>
arch/arm/mach-omap2/omap_hwmod.c
arch/arm/plat-omap/include/plat/omap_hwmod.h