[PATCH 0/8 v2]usb: musb: hwmod and runtime pm support for musb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Cc: Felipe Balbi <felipe.balbi@xxxxxxxxx>
Cc: Tony Lindgren <tony@xxxxxxxxxxx>
Cc: Kevin Hilman <khilman@xxxxxxxxxxxxxxxxxxx>
Cc: Cousson, Benoit <b-cousson@xxxxxx>
Cc: Paul Walmsley <paul@xxxxxxxxx>

This patch series makes OMAP2PLUS musb Module implemented
in HWMOD FW way. It also implements musb driver to
use the runtime pm apis.

PATCH[1/8 v2] and [PATCH 2/8 v2] are the pre-requisites for the hwmod
support for the usb module.

PATCH[6/8 v2] is core-offmode usb fix patch for the OMAP3
in idle path.

As per the OMAP usbotg specification[1] musb sysconfig register
has to be set to force idle and force standby when not used
and set smart idle/standby during operation.otherwise core-off
will be prevented by musb.

[1]: http://focus.ti.com/pdfs/wtbu/SWPU223D_Final_EPDF_06_07_2010.pdf

This patch series is created on "origin/pm-wip/hwmods-omap4".

This patch series is tested on OMAP3630 zoom3 and OMAP4430 SDP.
On OMAP3630 zoom3, off mode is tested on "origin/pm" branch using 
omap3_pm_defconfig.


Version History:
---------------
Vesrion v2:

Fixed review comments.
Removed the omap_hwmod.h inclusion from musb.h file which was 
breaking the non-omap platform build.
Using the runtime pm apis in the idle path(interrupts disabled).
Added the omap4 hwmod data base.

Version v1:
initial version of the patch series.

Some of the links for v1
------------------------

http://www.spinics.net/lists/linux-usb/msg34570.html
http://www.spinics.net/lists/linux-omap/msg34568.html
http://www.spinics.net/lists/linux-usb/msg34544.html
http://www.spinics.net/lists/linux-usb/msg34540.html
http://www.spinics.net/lists/linux-usb/msg34589.html
http://www.spinics.net/lists/linux-usb/msg34554.html
http://www.mail-archive.com/linux-omap@xxxxxxxxxxxxxxx/msg32973.html


Cousson, Benoit (1):
  usb: musb: HWMOD database structures addition for OMAP4

Hema HK (7):
  usb: musb: Adding names for IRQs in resource structure
  usb: musb: Remove board_data parameter from musb_platform_init()
  usb: musb: HWMOD database structures addition for OMAP3
  usb: musb: Using omap_device_build for musb device registration
  usb: musb: Offmode fix for idle path
  OMAP: Hwmod api changes
  usb : musb: Using runtime pm apis for musb.

 arch/arm/mach-davinci/usb.c                   |    2 +
 arch/arm/mach-omap2/omap_hwmod.c              |   18 ++-
 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c    |  100 +++++++++++++
 arch/arm/mach-omap2/omap_hwmod_44xx_data.c    |   92 ++++++++++++
 arch/arm/mach-omap2/pm34xx.c                  |    9 ++
 arch/arm/mach-omap2/usb-musb.c                |  188 ++++++++++++++++++++-----
 arch/arm/plat-omap/include/plat/omap_device.h |    2 +
 arch/arm/plat-omap/include/plat/usb.h         |    9 ++
 arch/arm/plat-omap/omap_device.c              |   43 ++++++
 arch/blackfin/mach-bf527/boards/cm_bf527.c    |    2 +
 arch/blackfin/mach-bf527/boards/ezbrd.c       |    2 +
 arch/blackfin/mach-bf527/boards/ezkit.c       |    2 +
 arch/blackfin/mach-bf548/boards/cm_bf548.c    |    2 +
 arch/blackfin/mach-bf548/boards/ezkit.c       |    2 +
 drivers/usb/musb/blackfin.c                   |    2 +-
 drivers/usb/musb/cppi_dma.c                   |    2 +-
 drivers/usb/musb/davinci.c                    |    2 +-
 drivers/usb/musb/musb_core.c                  |   26 +++-
 drivers/usb/musb/musb_core.h                  |    3 +-
 drivers/usb/musb/musbhsdma.c                  |    2 +-
 drivers/usb/musb/omap2430.c                   |   87 ++++++------
 drivers/usb/musb/tusb6010.c                   |    2 +-
 include/linux/usb/musb.h                      |   20 +++
 23 files changed, 522 insertions(+), 97 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux