* [PATCH 0/8 v2]usb: musb: hwmod and runtime pm support for musb
@ 2010-08-18 14:02 Hema HK
2010-08-25 23:59 ` Kevin Hilman
0 siblings, 1 reply; 4+ messages in thread
From: Hema HK @ 2010-08-18 14:02 UTC (permalink / raw)
To: linux-omap, linux-usb
Cc: Hema HK, Felipe Balbi, Tony Lindgren, Kevin Hilman,
Cousson, Benoit, Paul Walmsley
Cc: Felipe Balbi <felipe.balbi@nokia.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>
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@vger.kernel.org/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(-)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/8 v2]usb: musb: hwmod and runtime pm support for musb
2010-08-18 14:02 [PATCH 0/8 v2]usb: musb: hwmod and runtime pm support for musb Hema HK
@ 2010-08-25 23:59 ` Kevin Hilman
2010-08-31 5:27 ` Kalliguddi, Hema
2010-08-31 5:40 ` Kalliguddi, Hema
0 siblings, 2 replies; 4+ messages in thread
From: Kevin Hilman @ 2010-08-25 23:59 UTC (permalink / raw)
To: Hema HK
Cc: linux-omap, linux-usb, Felipe Balbi, Tony Lindgren,
Cousson, Benoit, Paul Walmsley
Hema HK <hemahk@ti.com> writes:
> Cc: Felipe Balbi <felipe.balbi@nokia.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>
>
> 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.
This IP is on OMAP2 as well, but I don't see any hwmods for OMAP2.
Please also add hwmods for OMAP2 and test as well.
Thanks,
Kevin
>
> 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@vger.kernel.org/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(-)
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH 0/8 v2]usb: musb: hwmod and runtime pm support for musb
2010-08-25 23:59 ` Kevin Hilman
@ 2010-08-31 5:27 ` Kalliguddi, Hema
2010-08-31 5:40 ` Kalliguddi, Hema
1 sibling, 0 replies; 4+ messages in thread
From: Kalliguddi, Hema @ 2010-08-31 5:27 UTC (permalink / raw)
To: Kevin Hilman
Cc: linux-omap@vger.kernel.org, linux-usb@vger.kernel.org,
Felipe Balbi, Tony Lindgren, Cousson, Benoit, Paul Walmsley
>-----Original Message-----
>From: Kevin Hilman [mailto:khilman@deeprootsystems.com]
>Sent: Thursday, August 26, 2010 5:29 AM
>To: Kalliguddi, Hema
>Cc: linux-omap@vger.kernel.org; linux-usb@vger.kernel.org;
>Felipe Balbi; Tony Lindgren; Cousson, Benoit; Paul Walmsley
>Subject: Re: [PATCH 0/8 v2]usb: musb: hwmod and runtime pm
>support for musb
>
>Hema HK <hemahk@ti.com> writes:
>
>> Cc: Felipe Balbi <felipe.balbi@nokia.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>
>>
>> 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.
>
>This IP is on OMAP2 as well, but I don't see any hwmods for OMAP2.
>
>Please also add hwmods for OMAP2 and test as well.
>
OK. I will do that and post a patch.
>Thanks,
>
>Kevin
>
>
>>
>> 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@vger.kernel.org/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(-)
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH 0/8 v2]usb: musb: hwmod and runtime pm support for musb
2010-08-25 23:59 ` Kevin Hilman
2010-08-31 5:27 ` Kalliguddi, Hema
@ 2010-08-31 5:40 ` Kalliguddi, Hema
1 sibling, 0 replies; 4+ messages in thread
From: Kalliguddi, Hema @ 2010-08-31 5:40 UTC (permalink / raw)
To: Kevin Hilman
Cc: linux-omap@vger.kernel.org, linux-usb@vger.kernel.org,
Felipe Balbi, Tony Lindgren, Cousson, Benoit, Paul Walmsley
>-----Original Message-----
>From: Kevin Hilman [mailto:khilman@deeprootsystems.com]
>Sent: Thursday, August 26, 2010 5:29 AM
>To: Kalliguddi, Hema
>Cc: linux-omap@vger.kernel.org; linux-usb@vger.kernel.org;
>Felipe Balbi; Tony Lindgren; Cousson, Benoit; Paul Walmsley
>Subject: Re: [PATCH 0/8 v2]usb: musb: hwmod and runtime pm
>support for musb
>
>Hema HK <hemahk@ti.com> writes:
>
>> Cc: Felipe Balbi <felipe.balbi@nokia.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>
>>
>> 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.
>
>This IP is on OMAP2 as well, but I don't see any hwmods for OMAP2.
>
>Please also add hwmods for OMAP2 and test as well.
>
OK. I will do that and post a patch.
>Thanks,
>
>Kevin
>
>
>>
>> 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@vger.kernel.org/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(-)
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-08-31 5:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-18 14:02 [PATCH 0/8 v2]usb: musb: hwmod and runtime pm support for musb Hema HK
2010-08-25 23:59 ` Kevin Hilman
2010-08-31 5:27 ` Kalliguddi, Hema
2010-08-31 5:40 ` Kalliguddi, Hema
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.