[PATCH 1/2] usb: otg: OMAP4430: Fix omap4430_phy_init function

2011-03-24 Thread Hema HK
omap4430_phy_init() function can be called with no device pointer to powerdown the UTMI PHY during board init when USB is disabled. Fix the function accordingly. Signed-off-by: Hema HK hem...@ti.com --- arch/arm/mach-omap2/omap_phy_internal.c | 44 -- 1 files

[PATCH 2/2] usb: otg: OMAP4430: Powerdown the internal PHY when USB is disabled

2011-03-24 Thread Hema HK
Powerdown the internal UTMI PHY when USB is not enabled. This will allow the OMAP core domain to transition to retention and offmode. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com --- arch/arm/mach-omap2/usb-musb.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions

[PATCH 1/2 v2] usb: otg: OMAP4430: Fixing the omap4430_phy_init function

2011-03-24 Thread Hema HK
omap4430_phy_init() function can be called with no device pointer, to powerdown the PHY during board init when USB is disabled. Fix the function accordingly. Signed-off-by: Hema HK hem...@ti.com --- arch/arm/mach-omap2/omap_phy_internal.c |7 +-- 1 files changed, 5 insertions(+), 2

[PATCH 2/2 v2] usb: otg: OMAP4430: Powerdown the internal PHY when USB is disabled

2011-03-24 Thread Hema HK
Powerdown the internal UTMI PHY when USB is not enabled. This will allow the OMAP core domain to transition to retention and offmode. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com --- arch/arm/mach-omap2/usb-musb.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions

[PATCH 0/5 v3] usb: musb: Power management support

2011-02-28 Thread Hema HK
the controller in the idle path when wakeup from retention just to make sure that the context is lost, and restore path is working fine. V3 Vesion: Fixed some minor comments from Felipe. V2 version: -- Rebased patches on Felipe's musb-hwmod-pm-runtime branch. Fixed comments from Felipe. Hema HK

[PATCH] usb: musb: OMAP3xxx: Fix device detection in otg host mode

2011-02-28 Thread Hema HK
to get it configured as A device. This is a fix to set the session bit again in ID_GND notification handler. Tested with OMAP3630Zoom3 platform. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com --- drivers/usb/musb/omap2430.c | 10 ++ 1 files changed, 2 insertions

[PATCH 0/5] usb: musb: Power management support

2011-02-25 Thread Hema HK
the controller in the idle path when wakeup from retention just to make sure that the context is lost, and restore path is working fine. Hema HK (5): usb: otg: TWL4030: Update the last_event variable. usb: musb: Remove platform context save/restore APIs usb: musb: Idle path retention and offmode

[PATCH 2/5] usb: musb: Remove platform context save/restore APIs

2011-02-25 Thread Hema HK
so removed omap2430_save_context/omap2430_restore_context functions. and also removed otg_forcestandby member of musb_context_registers structure Signed-off-by: Hema HK hem...@ti.com --- drivers/usb/musb/musb_core.h |4 drivers/usb/musb/omap2430.c | 11 --- 2 files changed, 0

[PATCH 3/5] usb: musb: Idle path retention and offmode support for OMAP3

2011-02-25 Thread Hema HK
and ID-GND): pm_runtime_get_sync only if the gadget driver loaded. On disconnect of the cable/device - Disconnect Notification: pm_runtime_put if the gadget driver is loaded. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com --- drivers/usb/musb/musb_core.c | 40

[PATCH 4/5] usb: musb: OMAP4430: Power down the PHY during board init

2011-02-25 Thread Hema HK
Powerdown the internal PHY during board init for OMAP44xx. So that when musb is disabled core transition to retention/off is not blocked. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Paul Walmsley p...@pwsan.com --- arch/arm/mach-omap2

[PATCH 5/5] usb: musb: OMAP4430: Save/restore the context

2011-02-25 Thread Hema HK
Add the context save restore for the control module register used for OMAP4430 musb with UTMI embedded PHY interface. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Paul Walmsley p...@pwsan.com --- arch/arm/mach-omap2/omap_phy_internal.c

[PATCH 1/5] usb: otg: TWL4030: Update the last_event variable.

2011-02-25 Thread Hema HK
Update the last_event variable of otg_transceiver. This will be used in the musb platform glue driver for runtime idling the device. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com --- drivers/usb/otg/twl4030-usb.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions

[PATCH 0/5 v2] usb: musb: Power management support

2011-02-25 Thread Hema HK
the controller in the idle path when wakeup from retention just to make sure that the context is lost, and restore path is working fine. V2 version: -- Rebased patches on Felipe's musb-hwmod-pm-runtime branch. Fixed comments from Felipe. Hema HK (5): usb: otg: TWL4030: Update the last_event

[PATCH 1/5 v2] usb: otg: TWL4030: Update the last_event variable.

2011-02-25 Thread Hema HK
Update the last_event variable of otg_transceiver. This will be used in the musb driver and gadget driver for runtime idling the device. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com --- drivers/usb/otg/twl4030-usb.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions

[PATCH 2/5 v2] usb: musb: Remove platform context save/restore API

2011-02-25 Thread Hema HK
so removed omap2430_save_context/omap2430_restore_context functions. and also removed otg_forcestandby member of musb_context_registers structure Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com --- drivers/usb/musb/musb_core.h |4 drivers/usb/musb/omap2430.c | 11

[PATCH 3/5 v2] usb: musb: Idle path retention and offmode support for OMAP3

2011-02-25 Thread Hema HK
-GND): pm_runtime_get_sync only if the gadget driver loaded. On disconnect of the cable/device - Disconnect Notification: pm_runtime_put if the gadget driver is loaded. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com --- drivers/usb/musb/musb_core.c | 40

[PATCH 4/5 v2] usb: musb: OMAP4430: Power down the PHY during board init

2011-02-25 Thread Hema HK
Powerdown the internal PHY during board init for OMAP44xx. So that when musb is disabled core transition to retention/off is not blocked. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Paul Walmsley p...@pwsan.com --- arch/arm/mach-omap2

[PATCH 5/5 v2] usb: musb: OMAP4430: Save/restore the context

2011-02-25 Thread Hema HK
Add the context save restore for the control module register used for OMAP4430 musb with UTMI embedded PHY interface. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Paul Walmsley p...@pwsan.com --- arch/arm/mach-omap2/omap_phy_internal.c

[1/7 v3] usb: otg: enable regulator only on cable/device connect

2011-02-16 Thread Hema HK
regulator enable/disable is called. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com --- drivers/usb/otg/twl6030-usb.c | 27 --- 1 file changed, 12 insertions(+), 15 deletions(-) Index: linux-2.6/drivers/usb/otg/twl6030-usb.c

[2/7 v3] usb: otg: Remove one unnecessary I2C read request.

2011-02-16 Thread Hema HK
From: Kalliguddi, Hema hem...@ti.com To get the ID status there was an I2C read transfer. Removed this I2C read transfer as this info can be used from existing variable(linkstat). Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com --- drivers/usb/otg/twl6030-usb.c |7

[3/7 v3] usb: otg: OMAP4430: Introducing suspend function for power management

2011-02-16 Thread Hema HK
. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/omap_phy_internal.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) Index: linux-2.6/arch/arm/mach-omap2/omap_phy_internal.c

[5/7 v3] usb: otg: TWL6030: Introduce the twl6030_phy_suspend function.

2011-02-16 Thread Hema HK
From: Kalliguddi, Hema hem...@ti.com Introduce the twl6030_phy_suspend function and assign to otg.set_suspend function pointer. This function is used by the musb-omap2430 platform driver during suspend/resume. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com --- drivers/usb

[6/7 v3] usb: otg: TWL6030 Save the last event in otg_transceiver

2011-02-16 Thread Hema HK
From: Kalliguddi, Hema hem...@ti.com Save the last event in the otg_transceiver so that it can used in the musb driver and gadget driver to configure the musb and enable the vbus for host mode and OTG mode, if the device is connected during boot. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe

[7/7 v3] usb: musb: OMAP4430: Fix usb device detection if connected during boot

2011-02-16 Thread Hema HK
the vbus in the gadget driver based on the last_event of the otg_transceiver. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com --- drivers/usb/musb/musb_gadget.c |4 +++ drivers/usb/musb/omap2430.c| 49 - 2 files changed, 48

[4/7 v3] usb: otg: OMAP4430: Add phy_suspend function pointer to twl4030_usb_data

2011-02-16 Thread Hema HK
From: Kalliguddi, Hema hem...@ti.com Introduce the .phy_suspend function pointer to twl4030_usb_data structure. assign the function to it for both sdp board and panda boards. This will be used by the twl6030-usb transceiver driver. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba

[no subject]

2011-02-16 Thread Hema HK
From: Hema HK hem...@ti.com Moved all the board specific internal PHY functions out of usb_musb.c file as this file is shared between the OMAP2+ and AM35xx platforms. There exists a file which has the functions specific to internal PHY used for OMAP4 platform. Moved all phy specific functions

[PATCH]: usb: musb: AM35x: moving internal phy functions out of usb_musb.c file

2011-02-16 Thread Hema HK
these functions through board data in the board file. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Tony Lindgren t...@atomide.com Index: linux-2.6/arch/arm/mach-omap2/board-am3517evm.c

[no subject]

2011-02-16 Thread Hema HK
these functions through board data in the board file. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Index: linux-2.6/arch/arm/mach-omap2/board-am3517evm.c === --- linux-2.6.orig/arch/arm/mach-omap2/board-am3517evm.c

[PATCH 0/6 v7]usb: musb: hwmod and runtime pm support for musb

2011-02-16 Thread Hema HK
/msg34589.html http://www.spinics.net/lists/linux-usb/msg34554.html http://www.mail-archive.com/linux-omap@vger.kernel.org/msg32973.html Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Cousson, Benoit

[PATCH 1/6 v7] OMAP2430: hwmod data: Add USBOTG

2011-02-16 Thread Hema HK
to support retention and off-mode. By setting HWMOD_SWSUP_SIDLE and HWMOD_SWSUP_MSTANDBY flags, framework will take care of configuring to no idle/standby when module is enabled and force idle/standby when suspended. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t

[PATCH 2/6 v7] OMAP3xxx: hwmod data: Add USBOTG

2011-02-16 Thread Hema HK
data transfer and force idle/standby when not in use to support retention and offmode. By setting HWMOD_SWSUP_SIDLE and HWMOD_SWSUP_MSTANDBY flags, framework will take care of configuring to no idle/standby when module is enabled and force idle/standby when idled. Signed-off-by: Hema HK hem...@ti.com

[PATCH 3/6 v7] AM35xx: hwmod data: Add USBOTG

2011-02-16 Thread Hema HK
AM35xx hwmod data structures are populated for USBOTG with base address, L3 and L4 interface clocks and IRQ. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Cousson, Benoit b-cous...@ti.com Cc

[PATCH 4/6 v7] OMAP4430: hwmod data: Adding USBOTG

2011-02-16 Thread Hema HK
to support retention and offmode. By setting HWMOD_SWSUP_SIDLE and HWMOD_SWSUP_MSTANDBY flags,framework will take care of configuring to no idle/standby when module is enabled and force idle/standby when idled. Signed-off-by: Cousson, Benoit b-cous...@ti.com Signed-off-by: Hema HK hem...@ti.com Cc: Felipe

[PATCH 6/6 v7] usb: musb: Using runtime pm APIs for musb.

2011-02-16 Thread Hema HK
driver calls the pm_runtime_get_sync and pm_runtime_put_sync APIs. Need to configure MUSB into force standby and force idle mode when usb not used Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc

[PATCH 5/6] OMAP2+: musb: hwmod adaptation for musb registration

2011-02-16 Thread Hema HK
Using omap_device_build API instead of platform_device_register for OMAP2430,OMAP3xxx, OMAP4430 and AM35x musb device registration. The device specific resources defined in centralized database will be used. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t

[2/7 v4] usb: otg: Remove one unnecessary I2C read request.

2011-02-16 Thread Hema HK
From: Kalliguddi, Hema hem...@ti.com To get the ID status there was an I2C read transfer. Removed this I2C read transfer as this info can be used from existing variable(linkstat). Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Paul

[1/7 v4] usb: otg: enable regulator only on cable/device connect

2011-02-16 Thread Hema HK
regulator enable/disable is called. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Paul Walmsley p...@pwsan.com --- drivers/usb/otg/twl6030-usb.c | 27 --- drivers/usb/otg/twl6030-usb.c | 27

[5/7 v4] usb: otg: TWL6030: Introduce the twl6030_phy_suspend function.

2011-02-16 Thread Hema HK
From: Kalliguddi, Hema hem...@ti.com Introduce the twl6030_phy_suspend function and assign to otg.set_suspend function pointer. This function is used by the musb-omap2430 platform driver during suspend/resume. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t

[4/7 v4] usb: otg: OMAP4430: Introducing suspend function for power management

2011-02-16 Thread Hema HK
. Pass the suspend function through board data for OMAP4430sdp and OMAP4panda. This will be used by the twl6030-usb transceiver driver. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Paul Walmsley p...@pwsan.com --- arch/arm/mach-omap2

[3/7 v4] usb: otg: OMAP4430: Add phy_suspend function pointer to twl4030_usb_data

2011-02-16 Thread Hema HK
From: Kalliguddi, Hema hem...@ti.com Declare the .phy_suspend function pointer to twl4030_usb_data structure. OMAP internal phy suspend function will be hooked though this function pointer to use in the transceiver driver. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc

[7/7 v4] usb: musb: OMAP4430: Fix usb device detection if connected during boot

2011-02-16 Thread Hema HK
the vbus in the gadget driver based on the last_event of the otg_transceiver. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Paul Walmsley p...@pwsan.com --- drivers/usb/musb/musb_gadget.c |4 +++ drivers/usb/musb/musb_gadget.c |4

[6/7 v4] usb: otg: TWL6030 Save the last event in otg_transceiver

2011-02-16 Thread Hema HK
From: Kalliguddi, Hema hem...@ti.com Save the last event in the otg_transceiver so that it can used in the musb driver and gadget driver to configure the musb and enable the vbus for host mode and OTG mode, if the device is connected during boot. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe

[PATCH 0/6 v8]usb: musb: hwmod and runtime pm support for musb

2011-02-16 Thread Hema HK
/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 Signed-off-by: Hema HK hem...@ti.com Cc

[PATCH 1/6 v8] OMAP2430: hwmod data: Add USBOTG

2011-02-16 Thread Hema HK
to support retention and off-mode. By setting HWMOD_SWSUP_SIDLE and HWMOD_SWSUP_MSTANDBY flags, framework will take care of configuring to no idle/standby when module is enabled and force idle/standby when suspended. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t

[PATCH 3/6 v8] AM35xx: hwmod data: Add USBOTG

2011-02-16 Thread Hema HK
AM35xx hwmod data structures are populated for USBOTG with base address, L3 and L4 interface clocks and IRQ. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Cousson, Benoit b-cous...@ti.com Cc

[PATCH 2/6 v8] OMAP3xxx: hwmod data: Add USBOTG

2011-02-16 Thread Hema HK
data transfer and force idle/standby when not in use to support retention and offmode. By setting HWMOD_SWSUP_SIDLE and HWMOD_SWSUP_MSTANDBY flags, framework will take care of configuring to no idle/standby when module is enabled and force idle/standby when idled. Signed-off-by: Hema HK hem...@ti.com

[PATCH 5/6 v8] OMAP2+: musb: hwmod adaptation for musb registration

2011-02-16 Thread Hema HK
Using omap_device_build API instead of platform_device_register for OMAP2430,OMAP3xxx, OMAP4430 and AM35x musb device registration. The device specific resources defined in centralized database will be used. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t

[PATCH 6/6 v8] usb: musb: Using runtime pm APIs for musb.

2011-02-16 Thread Hema HK
driver calls the pm_runtime_get_sync and pm_runtime_put_sync APIs. Need to configure MUSB into force standby and force idle mode when usb not used Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc

[PATCH 4/6 v8] OMAP4430: hwmod data: Adding USBOTG

2011-02-16 Thread Hema HK
to support retention and offmode. By setting HWMOD_SWSUP_SIDLE and HWMOD_SWSUP_MSTANDBY flags,framework will take care of configuring to no idle/standby when module is enabled and force idle/standby when idled. Signed-off-by: Cousson, Benoit b-cous...@ti.com Signed-off-by: Hema HK hem...@ti.com Cc: Felipe

[1/7 v2] usb: otg: enable regulator only on cable/device connect

2011-02-15 Thread Hema HK
regulator enable/disable is called. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com --- drivers/usb/otg/twl6030-usb.c | 27 --- 1 file changed, 12 insertions(+), 15 deletions(-) -- To unsubscribe from this list: send the line unsubscribe linux-omap

[2/7 v2] usb: otg: Remove one unnecessary I2C read request.

2011-02-15 Thread Hema HK
From: Kalliguddi, Hema hem...@ti.com To get the ID status there was an I2C read transfer. Removed this I2C read transfer as this info can be used from existing variable(linkstat). Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com --- drivers/usb/otg/twl6030-usb.c |7

[3/7 v2] usb: otg: OMAP4430: Introducing suspend function for power management

2011-02-15 Thread Hema HK
. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/omap_phy_internal.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) -- To unsubscribe from this list: send the line unsubscribe linux

[4/7 v2] usb: otg: OMAP4430: Add phy_suspend function pointer to

2011-02-15 Thread Hema HK
From: Kalliguddi, Hema hem...@ti.com Introduce the .phy_suspend function pointer to twl4030_usb_data structure. assign the function to it for both sdp board and panda boards. This will be used by the twl6030-usb transceiver driver. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba

[5/7 v2] usb: otg: TWL6030: Introduce the twl6030_phy_suspend function.

2011-02-15 Thread Hema HK
From: Kalliguddi, Hema hem...@ti.com Introduce the twl6030_phy_suspend function and assign to otg.set_suspend function pointer. This function is used by the musb-omap2430 platform driver during suspend/resume. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com --- drivers/usb

[7/7 v2] usb: musb: OMAP4430: Fix usb device detection if connected during boot

2011-02-15 Thread Hema HK
the vbus in the gadget driver based on the last_event of the otg_transceiver. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com --- [Fixed the comments from Felipe] drivers/usb/musb/musb_gadget.c |4 +++ drivers/usb/musb/omap2430.c| 49

[6/7 v2] usb: otg: TWL6030 Save the last event in otg_transceiver

2011-02-15 Thread Hema HK
From: Kalliguddi, Hema hem...@ti.com Save the last event in the otg_transceiver so that it can used in the musb driver and gadget driver to configure the musb and enable the vbus for host mode and OTG mode, if the device is connected during boot. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe

Subject: [PATCH 0/5 v6]usb: musb: hwmod and runtime pm support for musb

2011-02-10 Thread Hema HK
.html Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Cousson, Benoit b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com --- Cousson, Benoit (1): OMAP4430: hwmod data: Adding USBOTG Hema HK (4

[PATCH 2/5 v6] OMAP3xxx: hwmod data: Add USBOTG

2011-02-10 Thread Hema HK
not in use to support retention and offmode. By setting HWMOD_SWSUP_SIDLE and HWMOD_SWSUP_MSTANDBY flags, framework will take care of configuring to no idle/standby when module is enabled and force idle/standby when idled. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony

[PATCH 3/5 v6] OMAP4430: hwmod data: Adding USBOTG

2011-02-10 Thread Hema HK
to support retention and offmode. By setting HWMOD_SWSUP_SIDLE and HWMOD_SWSUP_MSTANDBY flags,framework will take care of configuring to no idle/standby when module is enabled and force idle/standby when idled. Signed-off-by: Cousson, Benoit b-cous...@ti.com Signed-off-by: Hema HK hem...@ti.com Cc: Felipe

[PATCH 1/5 v6] OMAP2430: hwmod data: Add USBOTG

2011-02-10 Thread Hema HK
to support retention and off-mode. By setting HWMOD_SWSUP_SIDLE and HWMOD_SWSUP_MSTANDBY flags, framework will take care of configuring to no idle/standby when module is enabled and force idle/standby when suspended. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t

[PATCH 4/5 v6] OMAP2+: musb: HWMOD adaptation for musb. registration

2011-02-10 Thread Hema HK
Using omap_device_build API instead of platform_device_register for OMAP2430,OMAP34xx and OMAP4430 musb device registration. The device specific resources defined in centralized database will be used. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t

[PATCH 5/5 v6] usb: musb: Using runtime pm APIs for musb.

2011-02-10 Thread Hema HK
driver calls the pm_runtime_get_sync and pm_runtime_put_sync APIs. Need to configure MUSB into force standby and force idle mode when usb not used Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc

[PATCH 1/7] usb: otg: enable regulator only on cable/device connect

2011-02-03 Thread Hema HK
. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com --- drivers/usb/otg/twl6030-usb.c | 27 --- 1 file changed, 12 insertions(+), 15 deletions(-) Index: linux-2.6/drivers/usb/otg/twl6030-usb.c

[PATCH 2/7] usb: otg: Remove one unnecessary I2C read request.

2011-02-03 Thread Hema HK
To get the ID status there was an I2C read transfer. Removed this I2C read transfer as this info can be used from existing variable(linkstat). Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com --- drivers/usb/otg/twl6030-usb.c |7 ++- 1 file changed, 2 insertions(+), 5

[PATCH 3/7] usb: otg: OMAP4430: Introducing suspend function for power management

2011-02-03 Thread Hema HK
Introduced the suspend/resume function for the OMAP4430 internal PHY. This will be used by the twl6030-usb transceiver driver. Moved the clock enable/disable function calls and power on/off of the PHY code from power on/off functions to suspend/resume function. Signed-off-by: Hema HK hem

[PATCH 5/7] usb: otg: TWL6030: Introduce the twl6030_phy_suspend function.

2011-02-03 Thread Hema HK
Introduce the twl6030_phy_suspend function and assign to otg.set_suspend function pointer. This function is used by the musb-omap2430 platform driver during suspend/resume. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com --- drivers/usb/otg/twl6030-usb.c | 16

[PATCH 4/7] usb: otg: OMAP4430: Add phy_suspend function pointer to twl4030_usb_data

2011-02-03 Thread Hema HK
Introduce the .phy_suspend function pointer to twl4030_usb_data structure. assign the function to it for both sdp board and panda boards. This will be used by the twl6030-usb transceiver driver. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com

[PATCH 6/7] usb: otg: TWL6030 Save the last event in otg_transceiver

2011-02-03 Thread Hema HK
Save the last event in the otg_transceiver so that it can used in the musb driver and gadget driver to configure the musb and enable the vbus for host mode and OTG mode, if the device is connected during boot. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com --- [Reusing some

[PATCH 7/7] usb: musb: OMAP4430: Fix usb device detection if connected during boot

2011-02-03 Thread Hema HK
on the last_event of the otg_transceiver. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com --- drivers/usb/musb/musb_gadget.c |4 +++ drivers/usb/musb/omap2430.c| 49 - 2 files changed, 48 insertions(+), 5 deletions(-) Index: linux-2.6

[PATCH 0/8 V3] usb: otg: TWL6030: OMAP4430: musb transceiver driver support for OMAP4

2010-12-10 Thread Hema HK
...@atomide.com Cc: David Brownell dbrown...@users.sourceforge.net Cc: Samuel Ortiz sa...@linux.intel.com --- Hema HK (8): mfd: TWL6030: USBOTG VBUS event generation on charger VBUS events. usb: otg: Adding twl6030-usb transceiver driver for OMAP4430. usb: otg: Kconfig: Add Kconfig option

[PATCH 1/8 V3] mfd: TWL6030: USBOTG VBUS event generation on

2010-12-10 Thread Hema HK
the USBOTG handler whenever there is a charger VBUS interrpt. VBUS SESS_VLD and SESS_END event generation issue is under debug with HW team. This fix might not be required once after fixing the issue. Signed-off-by: Balaji TK balaj...@ti.com Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba

[PATCH 2/8 V3] usb: otg: Adding twl6030-usb transceiver driver for OMAP4430

2010-12-10 Thread Hema HK
controller, internal PHY specific APIs are passed through plaform_data function pointers to use in the twl6030-usb transceiver driver. 2. ULPI interface is provided for off-chip transceivers. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: David

[PATCH 3/8 V3] usb: otg: Kconfig: Add Kconfig option for TWL6030 transceiver.

2010-12-10 Thread Hema HK
Added the TWL6030-usb transceiver option in the Kconfig Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: David Brownell dbrown...@users.sourceforge.net --- drivers/usb/otg/Kconfig | 12 1 file changed, 12 insertions(+) Index: usb/drivers/usb/otg/Kconfig

[PATCH 4/8 V3] usb: musb: TWL6030: Selecting TWL6030_USB transceiver

2010-12-10 Thread Hema HK
Selecting the twl6030-usb for OMAP4430SDP and OMAP4PANDA boards and adding OMAP4 internal phy code for compilation Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/Makefile |6 -- drivers/usb/musb/Kconfig

[PATCH 5/8 V3] mfd: TWL6030: OMAP4: Registering the TWL6030-usb device

2010-12-10 Thread Hema HK
Registering the twl6030-usb transceiver device as a child to twl6030 core. Removed the NOP transceiver init call from board file. Populated twl4030_usb_data platform data structure with the function pointers for OMAP4430 internal PHY operation to be used by twl630-usb driver. Signed-off-by: Hema

[PATCH 6/8 V3] usb: otg: TWL6030: Add twl6030_usb file for compilation

2010-12-10 Thread Hema HK
Add the twl6030_usb transceiver file for compilation. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Index: usb/drivers/usb/otg/Makefile === --- usb.orig/drivers/usb/otg/Makefile +++ usb/drivers/usb/otg/Makefile

[PATCH 7/8 V2] usb: musb: Adding musb support for OMAP4430

2010-12-10 Thread Hema HK
. If disconnect and connect it back or connect after boot only it works. Fix for this, I will submit seperate patch later. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com --- drivers/usb/musb/musb_core.h |1 drivers/usb/musb/omap2430.c | 105

[PATCH 8/8 V2] arm: OMAP4430: musb: Configure musb to OTG mode

2010-12-10 Thread Hema HK
Enabling the musb OTG mode for SDP and PANDA boards. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/board-4430sdp.c|2 +- arch/arm/mach-omap2/board-omap4panda.c |2 +- 2 files changed, 2 insertions(+), 2

Subject: [PATCH 0/5 v4]usb: musb: hwmod and runtime pm support for musb

2010-12-10 Thread Hema HK
/msg32973.html Cousson, Benoit (1): OMAP4430: hwmod data: Adding USBOTG Hema HK (4): OMAP2430: hwmod data: Add USBOTG OMAP3xxx: hwmod data: Add USBOTG OMAP2+: musb: HWMOD adaptation for musb. usb: musb: Using runtime pm APIs for musb. arch/arm/mach-omap2/omap_hwmod_2430_data.c | 97

[PATCH 1/5 v4] OMAP2430: hwmod data: Add USBOTG

2010-12-10 Thread Hema HK
to support retention and off-mode. By setting HWMOD_SWSUP_SIDLE and HWMOD_SWSUP_MSTANDBY flags, framework will take care of configuring to no idle/standby when module is enabled and force idle/standby when suspended. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t

[PATCH 2/5 v4] OMAP3xxx: hwmod data: Add USBOTG

2010-12-10 Thread Hema HK
not in use to support retention and offmode. By setting HWMOD_SWSUP_SIDLE and HWMOD_SWSUP_MSTANDBY flags, framework will take care of configuring to no idle/standby when module is enabled and force idle/standby when idled. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony

[PATCH 3/5 v4] OMAP4430: hwmod data: Adding USBOTG

2010-12-10 Thread Hema HK
-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Cousson, Benoit b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 94 + 1

[PATCH 4/5 v4] OMAP2+: musb: HWMOD adaptation for musb.

2010-12-10 Thread Hema HK
Using omap_device_build API instead of platform_device_register for OMAP2430,OMAP34xx and OMAP4430 musb device registration. The device specific resources defined in centralized database will be used. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t

[PATCH 5/5 v4] usb: musb: Using runtime pm APIs for musb.

2010-12-10 Thread Hema HK
driver calls the pm_runtime_get_sync and pm_runtime_put_sync APIs. Need to configure MUSB into force standby and force idle mode when usb not used Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc

Subject: [PATCH 0/5 v5]usb: musb: hwmod and runtime pm support for musb

2010-12-10 Thread Hema HK
://www.mail-archive.com/linux-omap@vger.kernel.org/msg32973.html Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Cousson, Benoit b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com --- Cousson

[PATCH 1/5 v5] OMAP2430: hwmod data: Add USBOTG

2010-12-10 Thread Hema HK
to support retention and off-mode. By setting HWMOD_SWSUP_SIDLE and HWMOD_SWSUP_MSTANDBY flags, framework will take care of configuring to no idle/standby when module is enabled and force idle/standby when suspended. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t

[PATCH 4/5 v5] OMAP2+: musb: HWMOD adaptation for musb.

2010-12-10 Thread Hema HK
Using omap_device_build API instead of platform_device_register for OMAP2430,OMAP34xx and OMAP4430 musb device registration. The device specific resources defined in centralized database will be used. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t

[PATCH 5/5 v5] usb: musb: Using runtime pm APIs for musb.

2010-12-10 Thread Hema HK
driver calls the pm_runtime_get_sync and pm_runtime_put_sync APIs. Need to configure MUSB into force standby and force idle mode when usb not used Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc

[PATCH 2/5 v5] OMAP3xxx: hwmod data: Add USBOTG

2010-12-10 Thread Hema HK
not in use to support retention and offmode. By setting HWMOD_SWSUP_SIDLE and HWMOD_SWSUP_MSTANDBY flags, framework will take care of configuring to no idle/standby when module is enabled and force idle/standby when idled. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony

[PATCH 3/5 v5] OMAP4430: hwmod data: Adding USBOTG

2010-12-10 Thread Hema HK
-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Cousson, Benoit b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 94 + 1

[PATCH 0/7 V2] usb: otg: TWL6030: OMAP4430: musb transceiver driver support for OMAP4

2010-12-09 Thread Hema HK
review comments from Felipe and Sergei. -Modified the vbus_set function to set timeout when musb is not configured as A device. Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: David Brownell dbrown...@users.sourceforge.net Cc: Samuel Ortiz sa...@linux.intel.com --- Hema HK (7

[PATCH 1/7 V2] mfd: TWL6030: USBOTG VBUS event generation on

2010-12-09 Thread Hema HK
the USBOTG handler whenever there is a charger VBUS interrpt. VBUS SESS_VLD and SESS_END event generation issue is under debug with HW team. This fix might not be required once after fixing the issue. Signed-off-by: Balaji TK balaj...@ti.com Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba

[PATCH 2/7 V2] usb: otg: Adding twl6030-usb transceiver driver for

2010-12-09 Thread Hema HK
controller, internal PHY specific APIs are passed through plaform_data function pointers to use in the twl6030-usb transceiver driver. 2. ULPI interface is provided for off-chip transceivers. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: David

[PATCH 3/7 V2] usb: otg: Kconfig: Add Kconfig option for TWL6030 transceiver.

2010-12-09 Thread Hema HK
Added the TWL6030-usb transceiver option in the Kconfig Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: David Brownell dbrown...@users.sourceforge.net --- drivers/usb/otg/Kconfig | 12 1 file changed, 12 insertions(+) Index: usb/drivers/usb/otg/Kconfig

[PATCH 4/7 V2] mfd: TWL6030: OMAP4: Registering the TWL6030-usb device

2010-12-09 Thread Hema HK
-by: Hema HK hem...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/board-4430sdp.c| 11 ++-- arch/arm/mach-omap2/board-omap4panda.c |8 ++ drivers/mfd/twl-core.c | 44

[PATCH 5/7 V2] usb: musb: TWL6030: Selecting TWL6030_USB transceiver

2010-12-09 Thread Hema HK
Selecting the twl6030-usb for OMAP4430SDP and OMAP4PANDA boards and adding OMAP4 internal phy code for compilation Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/Makefile |6 -- drivers/usb/musb/Kconfig

[PATCH 6/7 V2] usb: musb: Adding musb support for OMAP4430

2010-12-09 Thread Hema HK
. If disconnect and connect it back or connect after boot only it works. Fix for this, I will submit seperate patch later. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com --- drivers/usb/musb/musb_core.h |1 drivers/usb/musb/omap2430.c | 105

[PATCH 7/7 V2] arm: OMAP4430: musb: Configure musb to OTG mode

2010-12-09 Thread Hema HK
Enabling the musb OTG mode for SDP and PANDA boards. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/board-4430sdp.c|2 +- arch/arm/mach-omap2/board-omap4panda.c |2 +- 2 files changed, 2 insertions(+), 2

[PATCH 0/7] usb: otg: TWL6030: OMAP4430: musb transceiver driver support for OMAP4

2010-12-08 Thread Hema HK
Tested musb device and host mode functionality with OMAP4430SDP and OMAP3630 ZOOM3. Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: David Brownell dbrown...@users.sourceforge.net Cc: Samuel Ortiz sa...@linux.intel.com --- Hema HK (7): mfd: TWL6030: USBOTG VBUS event generation

[PATCH 1/7] mfd: TWL6030: USBOTG VBUS event generation on

2010-12-08 Thread Hema HK
the USBOTG handler whenever there is a charger VBUS interrupt. VBUS SESS_VLD and SESS_END event generation issue is under debug with HW team. This fix might not be required once after fixing the issue. Signed-off-by: Balaji TK balaj...@ti.com Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba

  1   2   >