[PATCH 0/5] usb: omap: prepare for OMAP4 EHCI and OHCI support

2010-08-18 Thread Keshava Munegowda
This series does minor code cleanup in preparation of an upcoming series to add support for EHCI and OHCI on the OMAP4 SoC. The changes are: - Rename clock names to be consistent across OMAP3 and OMAP4 - Remove hardcoding of the number of TLL channels - Move PHY reset earlier in the init sequence

[PATCH 1/5] usb: ehci: omap: Update clock names to be same across OMAP3 and OMAP4

2010-08-18 Thread Keshava Munegowda
Rename usbhost2_120m_fck to usbhost_hs_fck and usbhost1_48m_fck to usbhost_fs_fck, so that we can reuse the names across OMAP3 and OMAP4. OMAP3 and OMAP4 have similar clocks, with different frequencies. The driver should not need to care about these. Signed-off-by: Keshava Munegowda keshava_mgo

[PATCH 2/5] usb: ehci: don't hard-code TLL channel count.

2010-08-18 Thread Keshava Munegowda
Make TLL channel count a parameter instead of a hardcoded value. This allows us to be flexible with future OMAP revisions which could have a different number of channels. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Signed-off-by: Anand Gadiyar gadi...@ti.com --- drivers/usb/host/ehci

[PATCH 3/5] usb: ehci: relocate PHY reset code

2010-08-18 Thread Keshava Munegowda
The PHY reset code is moved at the begining and end of the function omap_start_ehc. This simplfies the writing clocks enabling code for OMAP4 later. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Signed-off-by: Anand Gadiyar gadi...@ti.com --- drivers/usb/host/ehci-omap.c | 52

[PATCH 4/5] usb: ohci: omap: Update clock names to be same across OMAP3 and OMAP4

2010-08-18 Thread Keshava Munegowda
Rename usbhost2_120m_fck to usbhost_hs_fck and usbhost1_48m_fck to usbhost_fs_fck, so that we can reuse the names across OMAP3 and OMAP4. OMAP3 and OMAP4 have similar clocks, with different frequencies. The driver should not need to care about these. Signed-off-by: Keshava Munegowda keshava_mgo

[PATCH 5/6] usb: ohci: don't hard-code TLL channel count

2010-08-18 Thread Keshava Munegowda
Make TLL channel count a parameter instead of a hardcoded value. This allows us to be flexible with future OMAP revisions which could have a different number of channels. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Signed-off-by: Anand Gadiyar gadi...@ti.com --- drivers/usb/host/ohci

[PATCH 5/5] usb: ohci: don't hard-code TLL channel count

2010-08-18 Thread Keshava Munegowda
Make TLL channel count a parameter instead of a hardcoded value. This allows us to be flexible with future OMAP revisions which could have a different number of channels. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Signed-off-by: Anand Gadiyar gadi...@ti.com --- drivers/usb/host/ohci

[PATCH 0/7] usb: ehci: omap: Adding OMAP4 support

2010-08-19 Thread Keshava Munegowda
The OMAP4 EHCI supports only two ports and hence two TLL channels. Each port is driven by seperate clocks. Following interface mode exists in EHCI controller of OMAP4. - External PHY mode , with 12 pin ULPI - USBTLL mode - HSIC mode The External PHY mode is validated with these patches and other

[RFC] [PATCH 1/7] usb: ehci-omap: Add the HSUSB base address

2010-08-19 Thread Keshava Munegowda
Update omap44xx.h with base addresses for USBHOST and USBTLL. This patch will be replaced with the HWMOD(hardware mode) implementation later. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Signed-off-by: Anand Gadiyar gadi...@ti.com --- arch/arm/plat-omap/include/plat/omap44xx.h |5

[RFC] [PATCH 2/7] usb: ehci-omap: don't execute OMAP3-specific code on non-OMAP3

2010-08-19 Thread Keshava Munegowda
Formats the code so that omap4 ehci host driver can be inserted in TODO location later. The function cpu_is_omap44xx is used to determine the OMAP3 or OAMP4 processor. This function will be later replaced by hwmode changes. There are No functional changes in this patch. Signed-off-by: Keshava

[RFC] [PATCH 3/7] usb: ehci-omap: omap: Add OMAP4 support

2010-08-19 Thread Keshava Munegowda
). Register bit positions for mode selections (TLL, HSIC or ULPI PHY) have changed. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Signed-off-by: Anand Gadiyar gadi...@ti.com --- drivers/usb/host/ehci-omap.c | 208 ++- 1 file changed, 205 insertions(+), 3

[RFC] [PATCH 4/7] omap: usb: ehci: IO mux mode settings for omap4

2010-08-19 Thread Keshava Munegowda
This patch adds mux-mode settings for EHCI pads on OMAP4. This is a hack for now, This code be replaced when the mux framework is introduced for OMAP4. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Signed-off-by: Anand Gadiyar gadi...@ti.com --- arch/arm/mach-omap2/usb-ehci.c | 109

[RFC] [PATCH 5/7] omap: usb: ehci: Initialize resources for omap4

2010-08-19 Thread Keshava Munegowda
Update resources (IRQ number, base addresses) for EHCI on OMAP4. This patch will be replaced when the driver is converted to take advantage of hwmod (hardware mode). Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Signed-off-by: Anand Gadiyar gadi...@ti.com --- arch/arm/mach-omap2/usb

[RFC] [PATCH 7/7] omap: ehci: enable the ehci port on OMAP4SDP

2010-08-19 Thread Keshava Munegowda
The OMAP4 SDP has EHCI port1 hooked up to an external SMSC3320 transciever. GPIO 157 is used to power on the transceiver. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Signed-off-by: Anand Gadiyar gadi...@ti.com --- arch/arm/mach-omap2/board-4430sdp.c | 20 1 file

[RFC] [PATCH 0/5] usb: ohci: omap: Add OMAP4 Support

2010-08-20 Thread Keshava Munegowda
The OMAP4 OHCI supports only two ports and hence two TLL channels. Each port is driven by seperate clocks. The OHCI controller is operated with the following two serial interface modes. - External PHY mode - USBTLL mode The PHY mode with Unidirectional 6-pin encoding (TX: DAT/SE0 mode) is

[RFC] [PATCH 1/5] usb: ohci-omap3: seperate the OMAP3-specific code

2010-08-20 Thread Keshava Munegowda
Formats the code so that omap4 ohci host specific code changes can be inserted in TODO location later.The function cpu_is_omap44xx is used to determine the OMAP3 or OMAP4 processor. This function will be later replaced by HWMOD changes. No functional changes. Signed-off-by: Keshava Munegowda

[RFC] [PATCH 4/5] usb: ohci: omap: Initialize resources for OMAP4

2010-08-20 Thread Keshava Munegowda
Update resources (IRQ number, base addresses) for OHCI on OMAP4. This patch should be replaced when the driver is converted to take advantage of hwmod (hardware mode). Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Signed-off-by: Anand Gadiyar gadi...@ti.com --- arch/arm/mach-omap2/usb

[RFC] [PATCH 5/5] usb: ohci: omap: enable the ohci port on OMAP4SDP

2010-08-20 Thread Keshava Munegowda
The port 2 of OHCI controller is connected to external PHY. The Unidirection 6 pin serial mode is configured. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Signed-off-by: Anand Gadiyar gadi...@ti.com --- arch/arm/mach-omap2/board-4430sdp.c |6 ++ 1 file changed, 6 insertions

[PATCH] usb: omap: ohci: Missing driver unregister in module exit

2010-09-14 Thread Keshava Munegowda
The un-registration of OHCI driver was not done in the ohci_hcd_mod_exit function. This was affecting rmmod command not to work for OMAP3 platforms. The platform driver un-registration for OMAP3 platforms is perfomed while removing the OHCI module from kernel. Signed-off-by: Keshava Munegowda

[PATCH] usb: omap: fix the warning return type defaults to 'int'

2010-10-05 Thread Keshava Munegowda
This patch fix the follwing warning when compiling usb code for OMAP defconfigs. arch/arm/plat-omap/include/plat/usb.h:109: warning: return type defaults to 'int' Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com --- arch/arm/plat-omap/include/plat/usb.h |2 +- 1 file changed, 1

[PATCH] usb: omap: fix the warning unused variable 'status'

2010-10-05 Thread Keshava Munegowda
This patch fix the follwing warning when compiling usb code for OMAP defconfigs. arch/arm/mach-omap2/board-omap4panda.c:277: warning: unused variable 'status' Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com --- arch/arm/mach-omap2/board-omap4panda.c |2 -- 1 file changed, 2 deletions

[PATCH 1/2] arm: omap: usb: enable I/O wakeups of ehci and ohci hwmods of omap4

2011-09-09 Thread Keshava Munegowda
*_mm_rxrcv is set as I/O wakeup for 4 pin serial mode - usbb*_mm_txen is set as I/O wakeup for 3 pin serial mode - usbb*_mm_txdat is set as I/O wakeup for 2 pin serial mode Signed-off-by: Kishon Vijay Abraham kis...@ti.com Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com

[PATCH 2/2] arm: omap: usb: enable I/O wakeups of ehci and ohci hwmods of omap3

2011-09-09 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com For ehci and ohci hwmods, the omap3 I/O wakeup capablity is enabled. for ehci in phy mode, - the DAT0 and DIR I/O pad is set as wakeup capable for ohci in serial mode - usbb*_mm_rxdp is set as I/O wakeup for 6 pin serial mode

[PATCH 0/2] arm: omap: usb: enable I/O wakeups of ehci and ohci hwmods

2011-09-09 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com For ehci and ohci hwmods, the omap3 and omap4 I/O wakeup capablity is enabled. In case of system global suspend, The ehci/ohci device connection/disconnection and remote wakeup wakesup the system. This patch series is based on 1. I/O pads

[PATCH 4/5 v9] arm: omap: usb: device name change for the clk names of usbhs

2011-09-15 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com device name usbhs clocks are changed from usbhs-omap.0 to usbhs_omap; this is because in the hwmod registration the device name is set as usbhs_omap; The redudant clock nodes are removed. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com

[PATCH 2/5 v9] arm: omap: usb: ehci and ohci hwmod structures for omap3

2011-09-15 Thread Keshava Munegowda
Following 4 hwmod structure are added: UHH hwmod of usbhs with uhh base address and functional clock, EHCI hwmod with irq and base address, OHCI hwmod with irq and base address, TLL hwmod of usbhs with the TLL base address and irq. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com --- arch

[PATCH 0/5 v9] mfd: omap: usb: Runtime PM support for EHCI and OHCI drivers

2011-09-15 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com The Hwmod structures and Runtime PM features are implemented For EHCI and OHCI drivers of OMAP3 and OMAP4. The global suspend/resume of EHCI and OHCI is validated on OMAP3430 sdp board with these patches. these patches are rebased to kevin's pm

[PATCH 5/5 v9] mfd: omap: usb: Runtime PM support

2011-09-15 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com The usbhs core driver does not enable/disable the interface and functional clocks; These clocks are handled by hwmod and runtime pm, hence instead of the clock enable/disable, the runtime pm APIS are used. however,the port clocks are handled

[PATCH 3/5 v9] arm: omap: usb: register hwmods of usbhs

2011-09-15 Thread Keshava Munegowda
The hwmod structure of uhh, ohci, ehci and tll are retrieved and registered with omap device Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com --- arch/arm/mach-omap2/usb-host.c | 114 +-- 1 files changed, 50 insertions(+), 64 deletions(-) diff --git

[PATCH 1/5 v9] arm: omap: usb: ehci and ohci hwmod structures for omap4

2011-09-15 Thread Keshava Munegowda
Cousson b-cous...@ti.com Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 249 +++- 1 files changed, 248 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2

[PATCH 4/5 v10] arm: omap: usb: device name change for the clk names of usbhs

2011-09-20 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com device name usbhs clocks are changed from usbhs-omap.0 to usbhs_omap; this is because in the hwmod registration the device name is set as usbhs_omap; The redudant clock nodes are removed. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com

[PATCH 2/5 v10] arm: omap: usb: ehci and ohci hwmod structures for omap3

2011-09-20 Thread Keshava Munegowda
Following 4 hwmod structure are added: UHH hwmod of usbhs with uhh base address and functional clock, EHCI hwmod with irq and base address, OHCI hwmod with irq and base address, TLL hwmod of usbhs with the TLL base address and irq. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com --- arch

[PATCH 1/5 v10] arm: omap: usb: ehci and ohci hwmod structures for omap4

2011-09-20 Thread Keshava Munegowda
Cousson b-cous...@ti.com Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 265 +++- 1 files changed, 264 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2

[PATCH 0/5 v10] mfd: omap: usb: Runtime PM support for EHCI and OHCI drivers

2011-09-20 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com The Hwmod structures and Runtime PM features are implemented For EHCI and OHCI drivers of OMAP3 and OMAP4. The global suspend/resume of EHCI and OHCI is validated on OMAP3430 sdp board with these patches. these patches are rebased to kevin's pm

[PATCH 3/5 v10] arm: omap: usb: register hwmods of usbhs

2011-09-20 Thread Keshava Munegowda
The hwmod structure of uhh, ohci, ehci and tll are retrieved and registered with omap device Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com --- arch/arm/mach-omap2/usb-host.c | 114 +-- 1 files changed, 50 insertions(+), 64 deletions(-) diff --git

[PATCH 5/5 v10] mfd: omap: usb: Runtime PM support

2011-09-20 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com The usbhs core driver does not enable/disable the interface and functional clocks; These clocks are handled by hwmod and runtime pm, hence instead of the clock enable/disable, the runtime pm APIS are used. however,the port clocks are handled

[PATCH 3/5 v11] arm: omap: usb: register hwmods of usbhs

2011-09-22 Thread Keshava Munegowda
The hwmod structure of uhh, ohci, ehci and tll are retrieved and registered with omap device Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Reviewed-by: Partha Basak part...@india.ti.com --- arch/arm/mach-omap2/usb-host.c | 116 +--- 1 files changed

[PATCH 0/5 v11] mfd: omap: usb: Runtime PM support for EHCI and OHCI drivers

2011-09-22 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com The Hwmod structures and Runtime PM features are implemented For EHCI and OHCI drivers of OMAP3 and OMAP4. The global suspend/resume of EHCI and OHCI is validated on OMAP3430 sdp board with these patches. These patches are re-based to Kevin's pm

[PATCH 1/5 v11] arm: omap: usb: ehci and ohci hwmod structures for omap4

2011-09-22 Thread Keshava Munegowda
; and each port will have I/O mux, which will be initialized per hwmod in future. - migrated these hwmod structures to Kevin's pm branch: git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git . Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Reviewed-by: Partha Basak part

[PATCH 4/5 v11] arm: omap: usb: device name change for the clk names of usbhs

2011-09-22 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com device name usbhs clocks are changed from usbhs-omap.0 to usbhs_omap; this is because in the hwmod registration the device name is set as usbhs_omap; The redudant clock nodes are removed. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com

[PATCH 2/5 v11] arm: omap: usb: ehci and ohci hwmod structures for omap3

2011-09-22 Thread Keshava Munegowda
usb_host_hs has functional clock which is sufficient to access ehci and ohci address space. 4. usb_tll_hs hwmod of usbhs with the TLL base address and irq. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Reviewed-by: Partha Basak part...@india.ti.com --- arch/arm/mach-omap2

[PATCH 5/5 v11] mfd: omap: usb: Runtime PM support

2011-09-22 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com The usbhs core driver does not enable/disable the interface and functional clocks; These clocks are handled by hwmod and runtime pm, hence instead of the clock enable/disable, the runtime pm APIS are used. however,the port clocks are handled

[PATCH 1/5 v11] arm: omap: usb: ehci and ohci hwmod structures for omap4

2011-09-22 Thread Keshava Munegowda
; and each port will have I/O mux, which will be initialized per hwmod in future. - migrated these hwmod structures to Kevin's pm branch: git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git . Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Reviewed-by: Partha Basak part

[PATCH 3/5] arm: omap: usb: register hwmods of usbhs

2011-09-29 Thread Keshava Munegowda
The hwmod structure of usb_host_hs and usb_tll are retrieved and registered with omap device Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Reviewed-by: Partha Basak part...@india.ti.com --- arch/arm/mach-omap2/usb-host.c | 100 ++-- 1 files changed

[PATCH 2/5] arm: omap: usb: ehci and ohci hwmod structures for omap3

2011-09-29 Thread Keshava Munegowda
Following 2 hwmod structures are added 1. usb_host_hs The hwmod of usbhs with uhh, ehci and ohci base addresses functional clock and ehci, ohci irqs 2. usb_tll_hs hwmod of usbhs with the TLL base address and irq. Signed-off-by: Keshava Munegowda keshava_mgo

[PATCH 1/5] arm: omap: usb: ehci and ohci hwmod structures for omap4

2011-09-29 Thread Keshava Munegowda
Cousson b-cous...@ti.com - rebased to kernel version 3.0 Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Reviewed-by: Partha Basak part...@india.ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 171 +++- 1 files changed, 170 insertions(+), 1 deletions(-) diff

[PATCH 4/5] arm: omap: usb: device name change for the clk names of usbhs

2011-09-29 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com device name usbhs clocks are changed from usbhs-omap.0 to usbhs_omap; this is because in the hwmod registration the device name is set as usbhs_omap; The redudant clock nodes are removed. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com

[PATCH 0/5 v12] mfd: omap: usb: Runtime PM support for EHCI and OHCI drivers

2011-09-29 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com The Hwmod structures and Runtime PM features are implemented For EHCI and OHCI drivers of OMAP3 and OMAP4. The global suspend/resume of EHCI and OHCI is validated on OMAP3430 sdp board with these patches. TODO: - Adding mux-information to Hwmods

[PATCH 5/5] mfd: omap: usb: Runtime PM support

2011-09-29 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com The usbhs core driver does not enable/disable the interface and functional clocks directly, These clocks are handled by runtime pm, hence instead of the clock enable/disable, the runtime pm APIS are used. however,the optional clocks and port clocks

[PATCH 4/5 v12] arm: omap: usb: device name change for the clk names of usbhs

2011-09-29 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com device name usbhs clocks are changed from usbhs-omap.0 to usbhs_omap; this is because in the hwmod registration the device name is set as usbhs_omap; The redudant clock nodes are removed. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com

[PATCH 3/5 v12] arm: omap: usb: register hwmods of usbhs

2011-09-29 Thread Keshava Munegowda
The hwmod structure of usb_host_hs and usb_tll are retrieved and registered with omap device Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Reviewed-by: Partha Basak part...@india.ti.com --- arch/arm/mach-omap2/usb-host.c | 100 ++-- 1 files changed

[PATCH 1/5 v12] arm: omap: usb: ehci and ohci hwmod structures for omap4

2011-09-29 Thread Keshava Munegowda
Cousson b-cous...@ti.com - rebased to kernel version 3.0 Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Reviewed-by: Partha Basak part...@india.ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 171 +++- 1 files changed, 170 insertions(+), 1 deletions(-) diff

[PATCH 0/5 v12] mfd: omap: usb: Runtime PM support for EHCI and OHCI drivers

2011-09-29 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com The Hwmod structures and Runtime PM features are implemented For EHCI and OHCI drivers of OMAP3 and OMAP4. The global suspend/resume of EHCI and OHCI is validated on OMAP3430 sdp board with these patches. TODO: - Adding mux-information to Hwmods

[PATCH 2/5 v12] arm: omap: usb: ehci and ohci hwmod structures for omap3

2011-09-29 Thread Keshava Munegowda
Following 2 hwmod structures are added 1. usb_host_hs The hwmod of usbhs with uhh, ehci and ohci base addresses functional clock and ehci, ohci irqs 2. usb_tll_hs hwmod of usbhs with the TLL base address and irq. Signed-off-by: Keshava Munegowda keshava_mgo

[PATCH 5/5 v12] mfd: omap: usb: Runtime PM support

2011-09-29 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com The usbhs core driver does not enable/disable the interface and functional clocks directly, These clocks are handled by runtime pm, hence instead of the clock enable/disable, the runtime pm APIS are used. however,the optional clocks and port clocks

[PATCH 1/5 v12] arm: omap: usb: ehci and ohci hwmod structures for omap4

2011-09-29 Thread Keshava Munegowda
Cousson b-cous...@ti.com - rebased to kernel version 3.0 Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Reviewed-by: Partha Basak part...@india.ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 171 +++- 1 files changed, 170 insertions(+), 1 deletions(-) diff

[PATCH 2/5 v12] arm: omap: usb: ehci and ohci hwmod structures for omap3

2011-09-29 Thread Keshava Munegowda
Following 2 hwmod structures are added 1. usb_host_hs The hwmod of usbhs with uhh, ehci and ohci base addresses functional clock and ehci, ohci irqs 2. usb_tll_hs hwmod of usbhs with the TLL base address and irq. Signed-off-by: Keshava Munegowda keshava_mgo

[PATCH 1/5 v12] arm: omap: usb: ehci and ohci hwmod structures for omap4

2011-09-29 Thread Keshava Munegowda
Cousson b-cous...@ti.com - rebased to kernel version 3.0 Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Reviewed-by: Partha Basak part...@india.ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 171 +++- 1 files changed, 170 insertions(+), 1 deletions(-) diff

[PATCH 3/5 v12] arm: omap: usb: register hwmods of usbhs

2011-09-29 Thread Keshava Munegowda
The hwmod structure of usb_host_hs and usb_tll are retrieved and registered with omap device Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Reviewed-by: Partha Basak part...@india.ti.com --- arch/arm/mach-omap2/usb-host.c | 100 ++-- 1 files changed

[PATCH 4/5 v12] arm: omap: usb: device name change for the clk names of usbhs

2011-09-29 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com device name usbhs clocks are changed from usbhs-omap.0 to usbhs_omap; this is because in the hwmod registration the device name is set as usbhs_omap; The redudant clock nodes are removed. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com

[PATCH 5/5 v12] mfd: omap: usb: Runtime PM support

2011-09-29 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com The usbhs core driver does not enable/disable the interface and functional clocks directly, These clocks are handled by runtime pm, hence instead of the clock enable/disable, the runtime pm APIS are used. however,the optional clocks and port clocks

[PATCH 0/5 v13] omap: usb: host: Runtime PM preparation for EHCI and OHCI drivers

2011-10-06 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@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

[PATCH 1/5 v13] arm: omap: usb: ehci and ohci hwmod structures for omap4

2011-10-06 Thread Keshava Munegowda
Cousson b-cous...@ti.com - rebased to kernel version 3.0 - Workarounds for hardware issues Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Reviewed-by: Partha Basak part...@india.ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 206 +++- 1 files changed, 205

[PATCH 2/5 v13] arm: omap: usb: ehci and ohci hwmod structures for omap3

2011-10-06 Thread Keshava Munegowda
Following 2 hwmod structures are added 1. usb_host_hs The hwmod of usbhs with uhh, ehci and ohci base addresses functional clock and ehci, ohci irqs 2. usb_tll_hs hwmod of usbhs with the TLL base address and irq. Signed-off-by: Keshava Munegowda keshava_mgo

[PATCH 3/5 v13] arm: omap: usb: register hwmods of usbhs

2011-10-06 Thread Keshava Munegowda
The hwmod structure of usb_host_hs and usb_tll are retrieved and registered with omap device Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Reviewed-by: Partha Basak part...@india.ti.com --- arch/arm/mach-omap2/usb-host.c | 100 ++-- 1 files changed

[PATCH 4/5 v13] arm: omap: usb: device name change for the clk names of usbhs

2011-10-06 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com device name usbhs clocks are changed from usbhs-omap.0 to usbhs_omap; this is because in the hwmod registration the device name is set as usbhs_omap; The redudant clock nodes are removed. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com

[PATCH 5/5 v13] omap: usb: host: Replace usbhs core driver APIs by Runtime pm APIs

2011-10-06 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com 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. Since usbhs is parent platform device of the ehci and ohci devices, the runtime apis indirectly uses the usb hs core

[PATCH v13] mfd: omap: usb: Runtime PM support

2011-10-06 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com The usbhs core driver does not enable/disable the interface and functional clocks directly, These clocks are handled by runtime pm, hence instead of the clock enable/disable, the runtime pm APIS are used. however,the optional clocks and port clocks

[PATCH 0/5 v14] omap: usb: host: Runtime PM preparation for EHCI and OHCI drivers

2011-10-11 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@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

[PATCH 1/5 v14] arm: omap: usb: ehci and ohci hwmod structures for omap4

2011-10-11 Thread Keshava Munegowda
Cousson b-cous...@ti.com - rebased to kernel version 3.0 - Workarounds for hardware issues Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Reviewed-by: Partha Basak part...@india.ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 221 +++- 1 files changed, 220

[PATCH 2/5 v14] arm: omap: usb: ehci and ohci hwmod structures for omap3

2011-10-11 Thread Keshava Munegowda
Following 2 hwmod structures are added 1. usb_host_hs The hwmod of usbhs with uhh, ehci and ohci base addresses functional clock and ehci, ohci irqs 2. usb_tll_hs hwmod of usbhs with the TLL base address and irq. Signed-off-by: Keshava Munegowda keshava_mgo

[PATCH 2/5 v14] arm: omap: usb: ehci and ohci hwmod structures for omap3

2011-10-11 Thread Keshava Munegowda
Following 2 hwmod structures are added 1. usb_host_hs The hwmod of usbhs with uhh, ehci and ohci base addresses functional clock and ehci, ohci irqs 2. usb_tll_hs hwmod of usbhs with the TLL base address and irq. Signed-off-by: Keshava Munegowda keshava_mgo

[PATCH 3/5 v14] arm: omap: usb: register hwmods of usbhs

2011-10-11 Thread Keshava Munegowda
The hwmod structure of usb_host_hs and usb_tll are retrieved and registered with omap device Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Reviewed-by: Partha Basak part...@india.ti.com --- arch/arm/mach-omap2/usb-host.c | 100 ++-- 1 files changed

[PATCH 4/5 v14] arm: omap: usb: device name change for the clk names of usbhs

2011-10-11 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com device name usbhs clocks are changed from usbhs-omap.0 to usbhs_omap; this is because in the hwmod registration the device name is set as usbhs_omap; The redudant clock nodes are removed. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com

[PATCH 5/5 v14] omap: usb: host: Replace usbhs core driver APIs by Runtime pm APIs

2011-10-11 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com 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. Since usbhs is parent platform device of the ehci and ohci devices, the runtime apis indirectly uses the usb hs core

[PATCH v13 v14] mfd: omap: usb: Runtime PM support

2011-10-11 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com The usbhs core driver does not enable/disable the interface and functional clocks directly, These clocks are handled by runtime pm, hence instead of the clock enable/disable, the runtime pm APIS are used. however,the optional clocks and port clocks

[PATCH v14] mfd: omap: usb: Runtime PM support

2011-10-11 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com The usbhs core driver does not enable/disable the interface and functional clocks directly, These clocks are handled by runtime pm, hence instead of the clock enable/disable, the runtime pm APIS are used. however,the optional clocks and port clocks

[PATCH] OMAP: config : disable the usb host configuration in omap2plus_defconfig

2012-07-06 Thread Keshava Munegowda
The usb host is disabled in the omap2 build; This is because usb host is causing the retention to break in cpu idle. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com --- arch/arm/configs/omap2plus_defconfig | 11 --- 1 file changed, 11 deletions(-) diff --git a/arch/arm/configs

[PATCH V4 1/5] ARM: OMAP: Add the USB TLL clocks device name

2012-07-16 Thread Keshava Munegowda
The platform device name usbhs_tll is added for the functional, interface and channel clocks of the TLL module. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Reviewed-by: Partha Basak part...@india.ti.com --- arch/arm/mach-omap2/clock3xxx_data.c |4 arch/arm/mach-omap2

[PATCH V4 5/5] ARM: OMAP: Remove older device name of the USB TLL clocks

2012-07-16 Thread Keshava Munegowda
The usbhs device name of the functional, interface and channel clocks of the TLL module is removed. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Reviewed-by: Partha Basak part...@india.ti.com --- arch/arm/mach-omap2/clock3xxx_data.c |4 arch/arm/mach-omap2/clock44xx_data.c

[PATCH V4 4/5] ARM: OMAP: USB: Remove TLL specific code from USB HS core driver

2012-07-16 Thread Keshava Munegowda
The TLL specific code such as channels clocks enable/disable, initialization functions are removed from the USBHS core driver. The hwmod of the usb tll is retrieved and omap device build is performed to created the platform device for the usb tll component. Signed-off-by: Keshava Munegowda

[PATCH V4 3/5] ARM: OMAP: USB: Invoke the TLL driver from USB HS core driver

2012-07-16 Thread Keshava Munegowda
The usbhs driver invokes the enable/disable APIs of the usb tll driver in the runtime resume/suspend callbacks of the runtime get sync and put sync of the usbhs driver. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Reviewed-by: Partha Basak part...@india.ti.com --- arch/arm/plat-omap

[PATCH V4 0/5] ARM: OMAP: HOST: TLL driver implementation

2012-07-16 Thread Keshava Munegowda
configuration is removed from the UHH driver and implemented as a seperate platform driver. Now, the UHH driver configures the TLL through API's exported by the TLL platform driver. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com In v4: - rebased on top of linux kernel version 3.5.rc7

[PATCH V4 2/5] ARM: OMAP: USB: HOST TLL platform driver

2012-07-16 Thread Keshava Munegowda
are the exported APIs of the USB TLL platform driver. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Reviewed-by: Partha Basak part...@india.ti.com --- arch/arm/plat-omap/include/plat/usb.h |6 + drivers/mfd/Kconfig |2 +- drivers/mfd/Makefile |2

[PATCH RESEND] OMAP: USB : Fix the EHCI enumeration and core retention issue

2012-07-20 Thread Keshava Munegowda
and device tree framework. for now, this commit id 354ab8567ae3107a8cbe7228c3181990ba598aac titled Fix OMAP EHCI suspend/resume failure (i693) reverted. This patch is validated on BeagleXM with NFS support over usb ethernet and USB mass storage and other device detection. Signed-off-by: Keshava

[PATCH 0/6 V2] arm: omap: usb: Runtime PM support for EHCI and OHCI drivers

2011-07-01 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com The Hwmod structures and Runtime PM features are implemented For EHCI and OHCI drivers of OMAP3 and OMAP4. The global suspend/resume of EHCI and OHCI is validated on OMAP3430 sdp board with these patches. Benoit Cousson (1): arm: omap: usb: ehci

[PATCH 2/6 v2] arm: omap: usb: ehci and ohci hwmod structures for omap3

2011-07-01 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com Following 4 hwmod strcuture are added: UHH hwmod of usbhs with uhh base address and functional clock, EHCI hwmod with irq and base address, OHCI hwmod with irq and base address, TLL hwmod of usbhs with the TLL base address and irq. Signed-off

[PATCH 3/6 v2] arm: omap: usb: register hwmods of usbhs

2011-07-01 Thread Keshava Munegowda
The hwmod structure of uhh, ohci, ehci and tll are retrived and registered with omap device Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com --- arch/arm/mach-omap2/usb-host.c | 113 +-- 1 files changed, 49 insertions(+), 64 deletions(-) diff --git

[PATCH 4/6 v2] arm: omap: usb: device name change for the clk names of usbhs

2011-07-01 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com device name usbhs clocks are changed from usbhs-omap.0 to usbhs_omap; this is because in the hwmod registration the device name is set as usbhs_omap Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com --- arch/arm/mach-omap2/clock3xxx_data.c

[PATCH 6/6 v2] arm: omap: usb: global Suspend and resume support of ehci and ohci

2011-07-01 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com The global suspend and resume functions for ehci and ohci drivers are implemented; these functions does the pm_runtime_get_sync and pm_runtime_put_sync of the parent device usbhs core driver respectively. Signed-off-by: Keshava Munegowda keshava_mgo

[PATCH 5/6 v2] arm: omap: usb: Runtime PM support

2011-07-01 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com The usbhs core driver does not enable/disable the intefrace and fucntional clocks; These clocks are handled by hwmod and runtime pm, hence insted of the clock enable/disable, the runtime pm APIS are used. however,the port clocks and tll clocks

[PATCH 1/6 v2] arm: omap: usb: ehci and ohci hwmod structures for omap4

2011-07-01 Thread Keshava Munegowda
Cousson b-cous...@ti.com Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 235 1 files changed, 235 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2

[PATCH 0/6 v3] arm: omap: usb: Runtime PM support for EHCI and OHCI drivers

2011-07-08 Thread Keshava Munegowda
: Paul Walmsley p...@pwsan.com Benoit Cousson (1): arm: omap: usb: ehci and ohci hwmod structures for omap4 Keshava Munegowda (5): 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 arm

[PATCH 2/6 v3] arm: omap: usb: ehci and ohci hwmod structures for omap3

2011-07-08 Thread Keshava Munegowda
Following 4 hwmod strcuture are added: UHH hwmod of usbhs with uhh base address and functional clock, EHCI hwmod with irq and base address, OHCI hwmod with irq and base address, TLL hwmod of usbhs with the TLL base address and irq. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com --- arch

[PATCH 1/6 v3] arm: omap: usb: ehci and ohci hwmod structures for omap4

2011-07-08 Thread Keshava Munegowda
Cousson b-cous...@ti.com Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 236 1 files changed, 236 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2

[PATCH 4/6 v3] arm: omap: usb: device name change for the clk names of usbhs

2011-07-08 Thread Keshava Munegowda
device name usbhs clocks are changed from usbhs-omap.0 to usbhs_omap; this is because in the hwmod registration the device name is set as usbhs_omap Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com --- arch/arm/mach-omap2/clock3xxx_data.c | 28 ++-- arch/arm/mach

[PATCH 5/6 v3] arm: omap: usb: Runtime PM support

2011-07-08 Thread Keshava Munegowda
and ohci runtim pm is not required, these drivers will pass the parent usbhs dev pointer in runtime pm APIs. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com --- arch/arm/plat-omap/include/plat/usb.h |3 - drivers/mfd/omap-usb-host.c | 618 +++-- drivers

[PATCH 6/6 v3] arm: omap: usb: global Suspend and resume support of ehci and ohci

2011-07-08 Thread Keshava Munegowda
The global suspend and resume functions for ehci and ohci drivers are implemented; these functions does the pm_runtime_get_sync and pm_runtime_put_sync of the parent device usbhs core driver respectively. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com --- drivers/usb/host/ehci-omap.c

[PATCH 3/6 v3] arm: omap: usb: register hwmods of usbhs

2011-07-08 Thread Keshava Munegowda
The hwmod structure of uhh, ohci, ehci and tll are retrived and registered with omap device Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com --- arch/arm/mach-omap2/usb-host.c | 113 +-- 1 files changed, 49 insertions(+), 64 deletions(-) diff --git

[PATCH] arm: omap: usb: clock enable typo fix in usbhs driver

2011-07-19 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com The usbhs_disable function was invoking clk_enable api instead of clk_disable; The clk_disable is called to disble the port clocks of usbhs Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com --- drivers/mfd/omap-usb-host.c |4 ++-- 1 files

  1   2   3   >