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)
commit2a1cc1445a51e3a81c10d294586756cdb9174469
treebdabb52ae6c7bebce982a2c8a09f57b7cc3a84e2
parentdd775ae2549217d3ae09363e3edb305d0fa19928
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