]> 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)
commitbf01d621cf31e7e4ec466d1d2380028d6b62b83d
treebdabb52ae6c7bebce982a2c8a09f57b7cc3a84e2
parentf6668f74d5b8d670730db2b990d7858425f3b63c
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