OMAP4: hwmod data: Add USBOTG
authorBenoit Cousson <b-cousson@ti.com>
Thu, 17 Feb 2011 12:41:05 +0000 (12:41 +0000)
committerBenoit Cousson <b-cousson@ti.com>
Thu, 17 Feb 2011 17:43:30 +0000 (18:43 +0100)
commit5844c4ead25f53a1fa92a4a8f0e363f9b6b87aea
tree8d5653844ce9b1ee2ab2447a84f659405e6a0191
parent407a6888f7362cb3dabe69ea6d9dcf3c750dc56a
OMAP4: hwmod data: Add USBOTG

OMAP4 hwmod data structures are populated with base address, L3 and L4
interface clocks, IRQs and sysconfig register details.

As per OMAP USBOTG specification, need to configure the USBOTG
to smart idle/standby or no idle/standby during data transfer and
force idle/standby when not in use to support retention and offmode.
By setting HWMOD_SWSUP_SIDLE and HWMOD_SWSUP_MSTANDBY flags,framework
will take care of configuring to no idle/standby when module is enabled
and force idle/standby when idled.

Signed-off-by: Cousson, Benoit <b-cousson@ti.com>
Signed-off-by: Hema HK <hemahk@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Cc: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
[b-cousson@ti.com: Fix position, opt_clk, and author]
arch/arm/mach-omap2/omap_hwmod_44xx_data.c