]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: omap_hwmod: Allow io_ring wakeup configuration for all modules
authorGovindraj.R <govindraj.raja@ti.com>
Thu, 5 Apr 2012 08:59:32 +0000 (02:59 -0600)
committerPaul Walmsley <paul@pwsan.com>
Thu, 5 Apr 2012 08:59:32 +0000 (02:59 -0600)
commit13c476bec5a369dff90f7e156080ce1c619a3ea9
treebdabb52ae6c7bebce982a2c8a09f57b7cc3a84e2
parent23483fa309e02a0d8c26b9756cf0d50b8a9df655
ARM: OMAP2+: omap_hwmod: Allow io_ring wakeup configuration for all modules

Some modules doesn't have SYSC_HAS_ENAWAKEUP bit available (ex: usb
host uhh module) in absence of this flag
omap_hwmod_enable/disable_wakeup avoids configuring pad mux wakeup
capability.

Configure sysc if SYSC_HAS_ENAWAKEUP is available and for other cases
try enabling/disabling wakeup from mux_pad pins.

Cc: Paul Walmsley <paul@pwsan.com>
Cc: Kevin Hilman <khilman@ti.com>
Cc: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Govindraj.R <govindraj.raja@ti.com>
[paul@pwsan.com: updated function kerneldoc documentation]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod.c