lkml.org 
[lkml]   [2011]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5 v14] omap: usb: host: Runtime PM preparation for EHCI and OHCI drivers
Date
From: Keshava Munegowda <Keshava_mgowda@ti.com>

The Hwmod structures for ehci and ohci drivers are implemented for
EHCI and OHCI drivers of OMAP3 and OMAP4.
The ehci and ohci drivers does not use the APIs of the usbhs
core driver; the runtime pm APIs are used for clock
enable/disable.

TODO:
- Adding mux-information to Hwmods.
- Aggressive Clock Management around USB bus suspend/resume.
- Remote Wakeup support implementation using IO-ring Wakeup
on EHCI/OHCI pads via PRCM IRQ chain handler.

In Version 14:
- for omap3 and omap4,
Masters are added for the TLL hwmod
- for omap3,
OCPIF_SWSUP_IDLE option is removed for interface clocks

In version 13:
- for omap3, the ehci 120mhz clock is conditional enabled
if ehci is selected for atleast one port in the omap platform.
- the hardware erratas information is added.
- the patches are split in to two series
i) The hwmod and preparation for run time pm of ehci and
ohci drivers ( this series)
ii) The Runtime pm support for ehci and ohci drivers.
Since the patches are split , both the series are SHOULD be
applied to make the ehci and ohci drivers are functional with
runtime pm support.

In version 12:
- The ehci, ohci and usb_host_hs hwmods combined as a single hwmod
usb_host_hs.
- for omap3
the usbhost_ick and and usbtll_ick clocks are changed as interface
clocks. The usbtll_fck, usbhost_48m_fck clocks are changed as main
clocks and the 120mhz functional clock is changed to optional clock
- the usbhs mfd driver enable/disable this optional clock in
runtime_resume and runtime_suspend callbacks of pm_runtime_get_sync
and pm_runtime_put_sync APIs.


Benoit Cousson (1):
arm: omap: usb: ehci and ohci hwmod structures for omap4

Keshava Munegowda (4):
arm: omap: usb: ehci and ohci hwmod structures for omap3
arm: omap: usb: register hwmods of usbhs
arm: omap: usb: device name change for the clk names of usbhs
omap: usb: host: Replace usbhs core driver APIs by Runtime pm APIs

arch/arm/mach-omap2/clock3xxx_data.c | 26 ++--
arch/arm/mach-omap2/clock44xx_data.c | 10 +-
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 230 ++++++++++++++++++++++++++++
arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 220 ++++++++++++++++++++++++++-
arch/arm/mach-omap2/usb-host.c | 100 ++++--------
arch/arm/plat-omap/include/plat/usb.h | 3 -
drivers/mfd/omap-usb-host.c | 2 +-
drivers/usb/host/ehci-omap.c | 17 +--
drivers/usb/host/ohci-omap3.c | 18 +--
9 files changed, 515 insertions(+), 111 deletions(-)



\
 
 \ /
  Last update: 2011-10-11 09:51    [W:0.037 / U:1.788 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site