[PATCH] EHCI: Update qTD next pointer in QH overlay region during unlink

2012-09-06 Thread Pavankumar Kondeti
. This may cause EHCI system error. Fix this by updating qTD next pointer in QH overlay region with the qTD next pointer of the current qTD. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/host/ehci-q.c | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions

[PATCH V5 0/4] USB Charging, PHY init and suspend support for MSM8960

2011-05-03 Thread Pavankumar Kondeti
by Sergei. - Changed a never-changed-variable into a macro. Anji jonnala (2): USB: OTG: msm: vote for dayatona fabric clock USB: OTG: msm: Configure PHY Analog and Digital voltage domains Pavankumar Kondeti (2): USB: OTG: msm: Implement charger detection USB: OTG: msm: Add PHY suspend support

[PATCH V5 2/4] USB: OTG: msm: Implement charger detection

2011-05-03 Thread Pavankumar Kondeti
chipsets. Hence PHY type is passed via platform data. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/ci13xxx_udc.c | 10 + drivers/usb/otg/msm_otg.c| 380 +- include/linux/usb/msm_hsusb.h| 72 +++- 3 files

[PATCH V5 3/4] USB: OTG: msm: Configure PHY Analog and Digital voltage domains

2011-05-03 Thread Pavankumar Kondeti
From: Anji jonnala an...@codeaurora.org Signed-off-by: Anji jonnala an...@codeaurora.org Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/otg/msm_otg.c | 189 + 1 files changed, 189 insertions(+), 0 deletions(-) diff --git

[PATCH V2 0/7] Typo BUG fixes for MSM USB drivers

2011-05-02 Thread Pavankumar Kondeti
in ci13xxx_udc Pavankumar Kondeti (6): USB: gadget: Fix typo (s/EBUSY/-EBUSY) in ci13xxx_udc USB: gadget: Use bitwise AND operator to test flags in ci13xxx_udc USB: gadget: Fix unused variable warning in ci13xxx_udc USB: gadget: Fix bug in endpoint feature request processing

[PATCH V2 1/7] USB: gadget: Fix typo (s/EBUSY/-EBUSY) in ci13xxx_udc

2011-05-02 Thread Pavankumar Kondeti
Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/ci13xxx_udc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/gadget/ci13xxx_udc.c b/drivers/usb/gadget/ci13xxx_udc.c index e09178b..348d8a0 100644 --- a/drivers/usb/gadget

[PATCH V2 2/7] USB: gadget: Use bitwise AND operator to test flags in ci13xxx_udc

2011-05-02 Thread Pavankumar Kondeti
Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/ci13xxx_udc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/gadget/ci13xxx_udc.c b/drivers/usb/gadget/ci13xxx_udc.c index 348d8a0..03dff95 100644 --- a/drivers/usb/gadget

[PATCH V2 3/7] USB: gadget: Fix unused variable warning in ci13xxx_udc

2011-05-02 Thread Pavankumar Kondeti
Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/ci13xxx_udc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/gadget/ci13xxx_udc.c b/drivers/usb/gadget/ci13xxx_udc.c index 03dff95..92498ae 100644 --- a/drivers/usb/gadget

[PATCH V2 4/7] USB: gadget: Fix bug in endpoint feature request processing in ci13xxx_udc

2011-05-02 Thread Pavankumar Kondeti
The OUT endpoints are stored in 0 - hw_ep_max/2 and IN endpoints are stored from hw_ep_max/2 - hw_ep_max in ci13xxx_ep array. Retrieve the IN endpoint correctly while processing endpoint feature requests. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget

[PATCH V2 7/7] USB: OTG: msm: Clear in_lpm flag before enabling the IRQ in resume

2011-05-02 Thread Pavankumar Kondeti
The current code is clearing in_lpm flag after enabling the IRQ. If IRQ comes immediately before in_lpm flag is set, it thinks that hardware is in low power mode and disables the IRQ. Fix this by clearing in_lpm flag before enabling the IRQ. Signed-off-by: Pavankumar Kondeti pkond

[PATCH V2 6/7] USB: gadget: Initialize ep0 once while registering gadget in ci13xxx_udc

2011-05-02 Thread Pavankumar Kondeti
controller spec says ep0 is enabled always in the HW. Hence disabling and enabling the ep0 as a part of reset interrupt is unneccesary. Remove the disable/enable ep0 logic from reset interrupt handling. Signed-off-by: Anji jonnala an...@codeaurora.org Signed-off-by: Pavankumar Kondeti pkond

[PATCH V2 5/7] USB: gadget: Use ep0out for control OUT data phase in ci13xxx_udc

2011-05-02 Thread Pavankumar Kondeti
The current code queue the control OUT data request to ep0in instead of ep0out. Check ep0_dir and use the correct control endpoint. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/ci13xxx_udc.c | 20 ++-- 1 files changed, 14 insertions(+), 6

[PATCH V2 0/5] USB Charging, PHY init and suspend support for MSM8960

2011-05-02 Thread Pavankumar Kondeti
Pavankumar Kondeti (2): USB: OTG: msm: Implement charger detection USB: OTG: msm: Add PHY suspend support for MSM8960 drivers/usb/gadget/ci13xxx_msm.c |3 +- drivers/usb/gadget/ci13xxx_udc.c | 21 ++ drivers/usb/gadget/ci13xxx_udc.h |3 + drivers/usb/otg/msm_otg.c| 671

[PATCH V2 1/5] USB: gadget: Use Zero Interrupt Threshold Control for ci13xxx_msm

2011-05-02 Thread Pavankumar Kondeti
frames. Set ITC to zero for MSM to gain performance. Signed-off-by: Anji jonnala an...@codeaurora.org Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/ci13xxx_msm.c |3 ++- drivers/usb/gadget/ci13xxx_udc.c | 11 +++ drivers/usb/gadget/ci13xxx_udc.h

[PATCH V2 2/5] USB: OTG: vote for dayatona fabric clock

2011-05-02 Thread Pavankumar Kondeti
is operational Signed-off-by: Anji jonnala an...@codeaurora.org Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/otg/msm_otg.c | 37 +++-- include/linux/usb/msm_hsusb.h |7 +-- 2 files changed, 40 insertions(+), 4 deletions

[PATCH V2 3/5] USB: OTG: msm: Implement charger detection

2011-05-02 Thread Pavankumar Kondeti
chipsets. Hence PHY type is passed via platform data. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/ci13xxx_udc.c | 10 + drivers/usb/otg/msm_otg.c| 380 +- include/linux/usb/msm_hsusb.h| 72 +++- 3 files

[PATCH V3 0/5] USB Charging, PHY init and suspend support for MSM8960

2011-05-02 Thread Pavankumar Kondeti
Control for ci13xxx_msm USB: OTG: msm: vote for dayatona fabric clock USB: OTG: msm: Configure PHY Analog and Digital voltage domains Pavankumar Kondeti (2): USB: OTG: msm: Implement charger detection USB: OTG: msm: Add PHY suspend support for MSM8960 drivers/usb/gadget/ci13xxx_msm.c |3

[PATCH V3 2/5] USB: OTG: msm: vote for dayatona fabric clock

2011-05-02 Thread Pavankumar Kondeti
is operational Signed-off-by: Anji jonnala an...@codeaurora.org Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/otg/msm_otg.c | 37 +++-- include/linux/usb/msm_hsusb.h |7 +-- 2 files changed, 40 insertions(+), 4 deletions

[PATCH V3 5/5] USB: OTG: msm: Add PHY suspend support for MSM8960

2011-05-02 Thread Pavankumar Kondeti
Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/otg/msm_otg.c| 64 -- include/linux/usb/msm_hsusb_hw.h |2 + 2 files changed, 56 insertions(+), 10 deletions(-) diff --git a/drivers/usb/otg/msm_otg.c b/drivers/usb/otg

[PATCH V4 0/5] USB Charging, PHY init and suspend support for MSM8960

2011-05-02 Thread Pavankumar Kondeti
into a macro. Anji jonnala (3): USB: gadget: Use Zero Interrupt Threshold Control for ci13xxx_msm USB: OTG: msm: vote for dayatona fabric clock USB: OTG: msm: Configure PHY Analog and Digital voltage domains Pavankumar Kondeti (2): USB: OTG: msm: Implement charger detection USB: OTG: msm

[PATCH V4 1/5] USB: gadget: Use Zero Interrupt Threshold Control for ci13xxx_msm

2011-05-02 Thread Pavankumar Kondeti
frames. Set ITC to zero for MSM to gain performance. Signed-off-by: Anji jonnala an...@codeaurora.org Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/ci13xxx_msm.c |3 ++- drivers/usb/gadget/ci13xxx_udc.c | 11 +++ drivers/usb/gadget/ci13xxx_udc.h

[PATCH V4 2/5] USB: OTG: msm: vote for dayatona fabric clock

2011-05-02 Thread Pavankumar Kondeti
is operational Signed-off-by: Anji jonnala an...@codeaurora.org Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/otg/msm_otg.c | 37 +++-- include/linux/usb/msm_hsusb.h |7 +-- 2 files changed, 40 insertions(+), 4 deletions

[PATCH V4 3/5] USB: OTG: msm: Implement charger detection

2011-05-02 Thread Pavankumar Kondeti
chipsets. Hence PHY type is passed via platform data. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/ci13xxx_udc.c | 10 + drivers/usb/otg/msm_otg.c| 380 +- include/linux/usb/msm_hsusb.h| 72 +++- 3 files

[PATCH V4 4/5] USB: OTG: msm: Configure PHY Analog and Digital voltage domains

2011-05-02 Thread Pavankumar Kondeti
From: Anji jonnala an...@codeaurora.org Signed-off-by: Anji jonnala an...@codeaurora.org Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/otg/msm_otg.c | 189 + 1 files changed, 189 insertions(+), 0 deletions(-) diff --git

[PATCH V4 5/5] USB: OTG: msm: Add PHY suspend support for MSM8960

2011-05-02 Thread Pavankumar Kondeti
Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/otg/msm_otg.c| 64 -- include/linux/usb/msm_hsusb_hw.h |2 + 2 files changed, 56 insertions(+), 10 deletions(-) diff --git a/drivers/usb/otg/msm_otg.c b/drivers/usb/otg

[PATCH 1/5] USB: gadget: Fix unused variable warning in ci13xxx_udc

2011-04-28 Thread Pavankumar Kondeti
Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/ci13xxx_udc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/gadget/ci13xxx_udc.c b/drivers/usb/gadget/ci13xxx_udc.c index e09178b..6a9ad59 100644 --- a/drivers/usb/gadget

[PATCH 2/5] USB: gadget: Fix bug in endpoint feature request processing in ci13xxx_udc

2011-04-28 Thread Pavankumar Kondeti
The OUT endpoints are stored in 0 - hw_ep_max/2 and IN endpoints are stored from hw_ep_max/2 - hw_ep_max in ci13xxx_ep array. Retrieve the IN endpoint correctly while processing endpoint feature requests. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget

[PATCH 3/5] USB: gadget: Use ep0out for control OUT data phase in ci13xxx_udc

2011-04-28 Thread Pavankumar Kondeti
The current code queue the control OUT data request to ep0in instead of ep0out. Check ep0_dir and use the correct control endpoint. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/ci13xxx_udc.c | 20 ++-- 1 files changed, 14 insertions(+), 6

[PATCH 4/5] USB: gadget: Initialize ep0 once while registering gadget in ci13xxx_udc

2011-04-28 Thread Pavankumar Kondeti
controller spec says ep0 is enabled always in the HW. Hence disabling and enabling the ep0 as a part of reset interrupt is unneccesary. Remove the disable/enable ep0 logic from reset interrupt handling. Signed-off-by: Anji jonnala an...@codeaurora.org Signed-off-by: Pavankumar Kondeti pkond

[PATCH 5/5] USB: OTG: msm: Clear in_lpm flag before enabling the IRQ in resume

2011-04-28 Thread Pavankumar Kondeti
The current code is clearing in_lpm flag after enabling the IRQ. If IRQ comes immediately before in_lpm flag is set, it thinks that hardware is in low power mode and disables the IRQ. Fix this by clearing in_lpm flag before enabling the IRQ. Signed-off-by: Pavankumar Kondeti pkond

[PATCH 4/5] USB: OTG: msm: Configure PHY Analog and Digital voltage domains

2011-04-28 Thread Pavankumar Kondeti
From: Anji jonnala an...@codeaurora.org Signed-off-by: Anji jonnala an...@codeaurora.org Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/otg/msm_otg.c | 194 - 1 files changed, 193 insertions(+), 1 deletions(-) diff --git

[PATCH 5/5] USB: OTG: msm: Add PHY suspend support for MSM8960

2011-04-28 Thread Pavankumar Kondeti
Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/otg/msm_otg.c| 64 -- include/linux/usb/msm_hsusb_hw.h |2 + 2 files changed, 56 insertions(+), 10 deletions(-) diff --git a/drivers/usb/otg/msm_otg.c b/drivers/usb/otg

[PATCH 1/7] USB: gadget: Fix typo (s/EBUSY/-EBUSY) in ci13xxx_udc

2011-04-28 Thread Pavankumar Kondeti
Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/ci13xxx_udc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/gadget/ci13xxx_udc.c b/drivers/usb/gadget/ci13xxx_udc.c index e09178b..348d8a0 100644 --- a/drivers/usb/gadget

[PATCH 2/7] USB: gadget: Use bitwise AND operator to test flags in ci13xxx_udc

2011-04-28 Thread Pavankumar Kondeti
Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/ci13xxx_udc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/gadget/ci13xxx_udc.c b/drivers/usb/gadget/ci13xxx_udc.c index 348d8a0..03dff95 100644 --- a/drivers/usb/gadget

[PATCH 6/7] USB: gadget: Initialize ep0 once while registering gadget in ci13xxx_udc

2011-04-28 Thread Pavankumar Kondeti
controller spec says ep0 is enabled always in the HW. Hence disabling and enabling the ep0 as a part of reset interrupt is unneccesary. Remove the disable/enable ep0 logic from reset interrupt handling. Signed-off-by: Anji jonnala an...@codeaurora.org Signed-off-by: Pavankumar Kondeti pkond

[PATCH 2/5] USB: OTG: vote for dayatona fabric clock

2011-04-28 Thread Pavankumar Kondeti
is operational Signed-off-by: Anji jonnala an...@codeaurora.org Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/otg/msm_otg.c | 37 +++-- include/linux/usb/msm_hsusb.h |7 +-- 2 files changed, 40 insertions(+), 4 deletions

[PATCH 5/5] USB: OTG: msm: Add PHY suspend support for MSM8960

2011-04-28 Thread Pavankumar Kondeti
Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/otg/msm_otg.c| 64 -- include/linux/usb/msm_hsusb_hw.h |2 + 2 files changed, 56 insertions(+), 10 deletions(-) diff --git a/drivers/usb/otg/msm_otg.c b/drivers/usb/otg

[PATCH 3/5] USB: OTG: msm: Implement charger detection

2011-04-28 Thread Pavankumar Kondeti
chipsets. Hence PHY type is passed via platform data. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/ci13xxx_udc.c | 10 + drivers/usb/otg/msm_otg.c| 380 +- include/linux/usb/msm_hsusb.h| 72 +++- 3 files

[PATCH] USB: Rename msm72k_otg.c to msm_otg.c

2011-03-04 Thread Pavankumar Kondeti
This driver is used across all MSM SoCs. Hence give a generic name. All Functions and strutures are also using msm_otg as prefix. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/Kconfig |2 +- drivers/usb/host/Kconfig

[PATCH 1/3] USB: gadget: Implement hardware queuing in ci13xxx_udc

2011-02-18 Thread Pavankumar Kondeti
by gadget drivers. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- The iperf results with g_ether gadget: Previous queuing algorithm (one dTD at a time): iperf unidirectional: server (Rx) :11.5 Mbps and client (Tx) 11.6 Mbps iperf bidirectional: server (Rx) 7.24Mbps and client (Tx

[PATCH 1/3] USB: EHCI: Fix compiler warnings with MSM driver

2011-02-14 Thread Pavankumar Kondeti
/host/ehci-lpm.c:41: warning: 'ehci_lpm_check' defined but not used drivers/usb/host/ehci-hcd.c:668: warning: 'ehci_run' defined but not used Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/host/ehci-hcd.c |2 +- drivers/usb/host/ehci-lpm.c |5 +++-- drivers/usb

[PATCH 3/3] USB: OTG: msm: Fix bug in msm_otg_mode_write

2011-02-14 Thread Pavankumar Kondeti
The driver private data is retrieved incorrectly which results a crash when written into mode debugfs file. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/otg/msm72k_otg.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/usb/otg

[PATCH 1/5] USB: gadget: Fix error path in ci13xxx_udc gadget probe function

2011-01-10 Thread Pavankumar Kondeti
Don't call gadget driver's unbind when bind is failed. Initialize udc-driver only after gadget driver bind is successful. Otherwise pull-up can be enabled upon VBUS session even when no gadget is bounded. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget

[PATCH 2/5] USB: gadget: Fix endpoint representation in ci13xxx_udc

2011-01-10 Thread Pavankumar Kondeti
ensures that the data and handshake transactions of previous setup packet are flushed upon a new setup packet arrival on ep0. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/ci13xxx_udc.c | 264 +++-- drivers/usb/gadget/ci13xxx_udc.h

[PATCH 3/5] USB: gadget: Implement hardware queuing in ci13xxx_udc

2011-01-10 Thread Pavankumar Kondeti
by gadget drivers. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- The iperf results with g_ether gadget: Previous queuing algorithm (one dTD at a time): iperf unidirectional: server (Rx) :11.5 Mbps and client (Tx) 11.6 Mbps iperf bidirectional: server (Rx) 7.24Mbps and client (Tx

[PATCH 4/5] USB: gadget: Implement remote wakeup in ci13xxx_udc

2011-01-10 Thread Pavankumar Kondeti
defined in usb_gadget_ops for initiating remote wakeup. - Notify gadget driver about suspend and resume. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/ci13xxx_udc.c | 124 +- drivers/usb/gadget/ci13xxx_udc.h |4 + 2 files

[PATCH 5/5] USB: gadget: Add test mode support for ci13xxx_udc

2011-01-10 Thread Pavankumar Kondeti
Implement the test modes mentioned in 7.1.20 section of USB 2.0 specification. High-speed capable devices must support these test modes to facilitate compliance testing. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/ci13xxx_udc.c | 56

[RFC v2 0/4] USB core changes for supporting OTG on MSM SoC

2010-12-16 Thread Pavankumar Kondeti
kmalloc fails b. clear do_remote_wakeup flag before suspending Pavankumar Kondeti (4): USB: core: OTG Supplement Revision 2.0 updates USB: gadget: OTG supplement revision 2.0 updates USB: EHCI: Notify HCD about HNP enabled port suspend USB: Eliminate delays involved in root hub

[RFC v2 1/4] USB: core: OTG Supplement Revision 2.0 updates

2010-12-16 Thread Pavankumar Kondeti
and a_hnp_support feature is limited to only legacy OTG B-device. The newly introduced bcdOTG field in the OTG descriptor is used for identifying the 2.0 compliant B-device. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/core/driver.c | 53

[RFC v2 2/4] USB: gadget: OTG supplement revision 2.0 updates

2010-12-16 Thread Pavankumar Kondeti
polling request arrives from the host. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- This patch only modifies gadget zero. But the final patch will modify all the gadget drivers. .../testing/sysfs-devices-platform-_UDC_-gadget| 14 drivers/usb/gadget/composite.c

[RFC v2 4/4] USB: Eliminate delays involved in root hub initialization during HNP

2010-12-16 Thread Pavankumar Kondeti
eliminate delays involved in root hub initialization for B-host. This patch also marks hnp_supported flag TRUE for B-host while registering the bus. Change-Id: I821775e8c90bd71a7abbe17176f189664a1841e1 Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/core/hcd.c |2

[RFC 1/5] USB: core: Add input prompt and help text for USB_OTG config

2010-12-15 Thread Pavankumar Kondeti
bd6882 commit removes the duplicate USB_OTG config from gadget/Kconfig. But does not copy the input prompt and help text to the original config defined in core/Kconfig. Add them now. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/core/Kconfig | 12 ++-- 1

[RFC 3/5] USB: gadget: OTG supplement revision 2.0 updates

2010-12-15 Thread Pavankumar Kondeti
polling request arrives from the host. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- This patch changes only gadget Zero. But the final patch will add OTG2.0 support for all the gadget drivers. .../testing/sysfs-devices-platform-_UDC_-gadget| 14 +++ drivers/usb/gadget

[PATCH 1/2] MSM: Add USB suport for QSD8x50

2010-12-08 Thread Pavankumar Kondeti
infrastructure is not available, configure USB in peripheral only mode. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- This patch depends on [PATCH V3 00/11] Add MSM USB controller driver patch series which is under review. arch/arm/mach-msm/board-qsd8x50.c | 19 + arch/arm

[PATCH 2/2] MSM: Add USB support for MSM7x30

2010-12-08 Thread Pavankumar Kondeti
Add USB OTG, peripheral and host devices. This patch also adds usb_phy_clk which is required for resetting the PHY. VBUS power up and shutdown routines depends on PMIC module. As PMIC driver is unavailable, configure USB in peripheral only mode. Signed-off-by: Pavankumar Kondeti pkond

[PATCH V3 00/11] Add MSM USB controller driver

2010-12-07 Thread Pavankumar Kondeti
driver makes use of ci13xxx_udc core. Pavankumar Kondeti (11): USB: Add MSM OTG Controller driver USB: EHCI: Add MSM Host Controller driver USB: EHCI: msm: Add support for power management USB: OTG: msm: Add support for power management USB: gadget: Separate out PCI bus code from

[PATCH V3 01/11] USB: Add MSM OTG Controller driver

2010-12-07 Thread Pavankumar Kondeti
-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/otg/Kconfig | 10 + drivers/usb/otg/Makefile |1 + drivers/usb/otg/msm72k_otg.c | 850 ++ include/linux/usb/msm_hsusb.h| 108 + include/linux/usb/msm_hsusb_hw.h

[PATCH V3 03/11] USB: EHCI: msm: Add support for power management

2010-12-07 Thread Pavankumar Kondeti
Enable runtime PM and mark no_callbacks flag. OTG device, parent of HCD takes care of putting hardware into low power mode. Adjust port power wakeup flags during system suspend and resume. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/host/Kconfig|2

[PATCH V3 04/11] USB: OTG: msm: Add support for power management

2010-12-07 Thread Pavankumar Kondeti
Implement runtime and system pm ops to put hardware into low power mode (LPM). As part of LPM, USB clocks are turned off, PHY is put into suspend state and PHY comparators are turned off if VBUS/Id notifications are not required from PHY. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org

[PATCH V3 05/11] USB: gadget: Separate out PCI bus code from ci13xxx_udc

2010-12-07 Thread Pavankumar Kondeti
Move PCI bus code from ci13xxx_udc to a new file ci13xxx_pci. SoC's which has MIPS USB core can include the ci13xxx_udc and keep bus glue code in their respective gadget controller drivers. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/Kconfig|8

[PATCH V3 07/11] USB: gadget: Initialize ci13xxx gadget device's coherent DMA mask

2010-12-07 Thread Pavankumar Kondeti
dma_alloc_coherent() which is internally called by dma_pool_alloc() flags a warning if device's coherent DMA mask. Hence initialize gadget device's coherent DMA mask to it's parent mask. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/ci13xxx_udc.c |1 + 1

[PATCH V3 08/11] USB: gadget: Introduce ci13xxx_udc_driver struct

2010-12-07 Thread Pavankumar Kondeti
driver after resetting and stopping the controller for performing SoC specific quirks. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/ci13xxx_pci.c |6 +- drivers/usb/gadget/ci13xxx_udc.c | 205 -- drivers/usb/gadget

[PATCH V3 10/11] USB: gadget: Implement runtime PM for ci13xxx gadget

2010-12-07 Thread Pavankumar Kondeti
The actual suspend/resume work is delegated to bus glue driver, which is responsible for putting hardware in low power mode. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/ci13xxx_udc.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff

[PATCH V3 09/11] USB: gadget: Add USB controller driver for MSM SoC

2010-12-07 Thread Pavankumar Kondeti
MSM SoC has chipidea USB controller. So use ci13xxx_udc core. This driver depends on transceiver driver for clock control, PHY initialization, VBUS detection. Register for notify_event callback to perform MSM specific quirks after controller is reset and stopped. Signed-off-by: Pavankumar

[PATCH V3 11/11] USB: gadget: Implement runtime PM for MSM bus glue driver

2010-12-07 Thread Pavankumar Kondeti
OTG driver takes care of putting hardware in low power mode. Hence not registered for any runtime PM callbacks. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/ci13xxx_msm.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/usb

[RFC 2/2] USB: Notify OTG errors from hub driver

2010-12-06 Thread Pavankumar Kondeti
Notify OTG errors in the following cases 1. The connected peripheral is not found in TPL. 2. HUB class device is not found in TPL. 3. When peripheral is failed to accept b_hnp_enable/a_alt_hnp feature request. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/core/hub.c

[PATCH] msm: io: Export __msm_ioremap

2010-11-09 Thread Pavankumar Kondeti
This is required for modules to use ioremap() Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- arch/arm/mach-msm/io.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-msm/io.c b/arch/arm/mach-msm/io.c index d36b610..f912d7b 100644 --- a/arch/arm

[PATCH v2] USB: Add MSM USB Device Controller driver

2010-11-09 Thread Pavankumar Kondeti
...@google.com Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/Kconfig| 17 + drivers/usb/gadget/Makefile |1 + drivers/usb/gadget/gadget_chips.h |8 + drivers/usb/gadget/msm72k_udc.c | 1685 + include/linux

[PATCH v2] USB: msm72k_udc: Add debugfs support

2010-11-09 Thread Pavankumar Kondeti
: Brian Swetland swetl...@google.com Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/msm72k_udc.c | 164 +++ 1 files changed, 164 insertions(+), 0 deletions(-) diff --git a/drivers/usb/gadget/msm72k_udc.c b/drivers/usb/gadget

[PATCH] USB: msm72k_udc: Add charging notification support

2010-11-09 Thread Pavankumar Kondeti
/?p=kernel/experimental.git. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/msm72k_udc.c | 17 + include/linux/usb/msm_hsusb.h | 16 2 files changed, 33 insertions(+), 0 deletions(-) diff --git a/drivers/usb/gadget

[PATCH 4/4] USB: OTG: msm: Add spport for power management

2010-11-09 Thread Pavankumar Kondeti
Implement runtime and system pm ops to put hardware into low power mode (LPM). As part of LPM, USB clocks are turned off, PHY is put into suspend state and PHY comparators are turned off if VBUS/Id notifications are not required from PHY. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org

[PATCH] msm: qsd8x50: Add support for USB peripheral

2010-09-02 Thread Pavankumar Kondeti
Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- arch/arm/mach-msm/board-qsd8x50.c | 59 arch/arm/mach-msm/devices-qsd8x50.c| 23 arch/arm/mach-msm/include/mach/board.h |5 +++ 3 files changed, 87 insertions(+), 0

[PATCH 0/5] Add MSM USB Device Controller support

2010-09-01 Thread Pavankumar Kondeti
are passed. This driver is originally authored by Google and is available at http://android.git.kernel.org/?p=kernel/experimental.git Pavankumar Kondeti (5): USB: Add MSM USB Device Controller driver USB: msm72k_udc: Add debugfs support USB: msm72k_udc: Add Remote wakeup support USB: msm72k_udc

[PATCH 2/5] USB: msm72k_udc: Add debugfs support

2010-09-01 Thread Pavankumar Kondeti
: Brian Swetland swetl...@google.com Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/msm72k_udc.c | 135 +++ 1 files changed, 135 insertions(+), 0 deletions(-) diff --git a/drivers/usb/gadget/msm72k_udc.c b/drivers/usb/gadget

[PATCH 5/5] USB: msm72k_udc: Add charging notification support

2010-09-01 Thread Pavankumar Kondeti
/?p=kernel/experimental.git. CC: Mike Lockwood lockw...@android.com CC: Brian Swetland swetl...@google.com Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/gadget/msm72k_udc.c | 16 include/linux/usb/msm_hsusb.h |8 2 files changed, 24

[PATCH 4/5] USB: msm72k_udc: Add Test Mode support

2010-09-01 Thread Pavankumar Kondeti
Implement the test modes mentioned in 7.1.20 section of USB 2.0 specification. High-speed capable devices must support these test modes to facilitate compliance testing. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org Signed-off-by: Vamsi Krishna vskri...@codeaurora.org --- drivers