usb: musb: hwmod and runtime pm support for musb
v2 cover usb: musb: hwmod and runtime pm support for musb
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/[email protected]/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(-)
Quoted 21 lines · Hema HK
Cc Felipe Balbi <[email protected]>Cc Tony Lindgren <[email protected]>Cc Kevin Hilman <[email protected]>Cc Cousson, Benoit <[email protected]>Cc Paul Walmsley <[email protected]>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.
Quoted 7 lines
[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
Quoted 62 lines
Version History:
---------------
Vesrion v2:Fixed review comments.
Removed theomap_hwmod.hinclusion frommusb.hfile 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/[email protected]/msg32973.htmlCousson, Benoit (1):
usb: musb: HWMOD database structures addition for OMAP4Hema HK (7):
usb: musb: Adding names for IRQs in resource structure
usb: musb: Removeboard_dataparameter frommusb_platform_init()
usb: musb: HWMOD database structures addition for OMAP3
usb: musb: Usingomap_device_buildfor 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(-)
Quoted 38 lines
-----Original Message-----
From: Kevin Hilman [mailto:[email protected]]
Sent: Thursday, August 26, 2010 5:29 AM
To: Kalliguddi, Hema
Cc: [email protected]; [email protected]; Felipe Balbi; Tony Lindgren; Cousson, Benoit; Paul Walmsley
Subject: Re: [PATCH 0/8 v2]usb: musb: hwmod and runtime pm support for musbQuoted 25 lines · Hema HK
Cc Felipe Balbi <[email protected]>Cc Tony Lindgren <[email protected]>Cc Kevin Hilman <[email protected]>Cc Cousson, Benoit <[email protected]>Cc Paul Walmsley <[email protected]>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".
Quoted 8 lines
Quoted 3 lines
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.
Quoted 69 lines
Thanks,
Kevin
Quoted 38 lines
Version History:
---------------
Vesrion v2:Fixed review comments.
Removed theomap_hwmod.hinclusion frommusb.hfile 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/[email protected]/msg32973.htmlCousson, Benoit (1):
usb: musb: HWMOD database structures addition for OMAP4Hema HK (7):
usb: musb: Adding names for IRQs in resource structure
usb: musb: Removeboard_dataparameter frommusb_platform_init()
usb: musb: HWMOD database structures addition for OMAP3
usb: musb: Usingomap_device_buildfor musb device registration
usb: musb: Offmode fix for idle path
OMAP: Hwmod api changes
usb : musb: Using runtime pm apis for musb.Quoted 6 lines
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++++++++++++++++++++-----
Quoted 18 lines
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(-)
Quoted 38 lines
-----Original Message-----
From: Kevin Hilman [mailto:[email protected]]
Sent: Thursday, August 26, 2010 5:29 AM
To: Kalliguddi, Hema
Cc: [email protected]; [email protected]; Felipe Balbi; Tony Lindgren; Cousson, Benoit; Paul Walmsley
Subject: Re: [PATCH 0/8 v2]usb: musb: hwmod and runtime pm support for musbQuoted 25 lines · Hema HK
Cc Felipe Balbi <[email protected]>Cc Tony Lindgren <[email protected]>Cc Kevin Hilman <[email protected]>Cc Cousson, Benoit <[email protected]>Cc Paul Walmsley <[email protected]>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".
Quoted 8 lines
Quoted 3 lines
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.
Quoted 69 lines
Thanks,
Kevin
Quoted 38 lines
Version History:
---------------
Vesrion v2:Fixed review comments.
Removed theomap_hwmod.hinclusion frommusb.hfile 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/[email protected]/msg32973.htmlCousson, Benoit (1):
usb: musb: HWMOD database structures addition for OMAP4Hema HK (7):
usb: musb: Adding names for IRQs in resource structure
usb: musb: Removeboard_dataparameter frommusb_platform_init()
usb: musb: HWMOD database structures addition for OMAP3
usb: musb: Usingomap_device_buildfor musb device registration
usb: musb: Offmode fix for idle path
OMAP: Hwmod api changes
usb : musb: Using runtime pm apis for musb.Quoted 6 lines
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++++++++++++++++++++-----
Quoted 18 lines
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(-)