From: Paul Walmsley Date: Tue, 14 Dec 2010 19:42:35 +0000 (-0700) Subject: OMAP2+: hwmod: add postsetup state X-Git-Tag: v2.6.38-rc1~469^2~15^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2092e5ccf89db09ebde94e9aabd3c86d5fa05c6c;p=pandora-kernel.git OMAP2+: hwmod: add postsetup state Allow board files and OMAP core code to control the state that some or all of the hwmods end up in at the end of _setup() (called by omap_hwmod_late_init() ). Reimplement the old skip_setup_idle code in terms of this new postsetup state code. There are two use-cases for this patch: the !CONFIG_PM_RUNTIME case, in which all IP blocks should stay enabled after _setup() finishes; and the MPU watchdog case, in which the watchdog IP block should enter idle if watchdog coverage of kernel initialization is desired, and should be disabled otherwise. Signed-off-by: Paul Walmsley Cc: BenoƮt Cousson Cc: Kevin Hilman Cc: Charulatha Varadarajan --- Reading git-diff-tree failed