]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - arch/arm/mach-omap2/omap_hwmod_2430_data.c
OMAP2430: hwmod data: Add USBOTG
authorHema HK <hemahk@ti.com>
Thu, 17 Feb 2011 06:37:17 +0000 (12:07 +0530)
committerFelipe Balbi <balbi@ti.com>
Thu, 17 Feb 2011 15:36:45 +0000 (17:36 +0200)
commit44d02acf54114e4d5c905b6b1a6473a7d302312d
tree44ca84b8271a11b3bd34c04bc2db3285746981fc
parent1dbea0f5e23b6c647db72fa4a048cb7140625e13
OMAP2430: hwmod data: Add USBOTG

OMAP2430 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 off-mode.
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 suspended.

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