Re: [PATCH] extcon: Add an API to get extcon device from dt node

2013-06-11 Thread Kishon Vijay Abraham I
Hi Chanwoo Choi, On Wednesday 12 June 2013 07:09 AM, Chanwoo Choi wrote: From: Kishon Vijay Abraham I Added an API of_extcon_get_extcon_dev() to be used by drivers to get extcon device in the case of dt boot (this can be used instead of extcon_get_extcon_dev()). Signed-off-by: Kishon Vijay Ab

Re: [RFC PATCH 0/4] USB: HCD/EHCI: giveback of URB in tasklet context

2013-06-11 Thread Ming Lei
On Wed, Jun 12, 2013 at 10:43 AM, Ming Lei wrote: > On Wed, Jun 12, 2013 at 3:10 AM, Alan Stern wrote: >> >> I don't follow your reasoning. Consider the following situation, where >> the same spinlock is used in both a URB completion handler and an >> interrupt handler: >> >> URB complet

Re: [PATCH 2/7] clk: samsung: Add clock driver for S3C64xx SoCs

2013-06-11 Thread Tomasz Figa
Hi Mike, On Tuesday 11 of June 2013 19:54:51 Mike Turquette wrote: > Quoting Tomasz Figa (2013-06-05 16:57:26) > > > This patch adds new, Common Clock Framework-based clock driver for > > Samsung S3C64xx SoCs. The driver is just added, without actually > > letting the platforms use it yet, since

Re: Fwd: Fwd: request some hep for usb comminucation

2013-06-11 Thread Mahdi Razavi
Hi Thank you very much for the attention and support. Unfortunately I made a mistake, when I send data to the device, I expected that the device will send an answer for me, while I should read the response from the device. Thanks a lot M.Razavi 2013/6/11 Greg KH : > On Tue, Jun 11, 2013 at 12:2

Re: [PATCH] extcon: Add an API to get extcon device from dt node

2013-06-11 Thread anish singh
On Wed, Jun 12, 2013 at 7:09 AM, Chanwoo Choi wrote: > From: Kishon Vijay Abraham I > > Added an API of_extcon_get_extcon_dev() to be used by drivers to get > extcon device in the case of dt boot (this can be used instead of > extcon_get_extcon_dev()). > > Signed-off-by: Kishon Vijay Abraham I >

Re: USB 3.0 failure and possible regression in kernel 3.8.0

2013-06-11 Thread Greg KH
On Wed, Jun 12, 2013 at 10:25:32AM +0900, Norman Diamond wrote: > Kernels somewhere around 2.6.35 could handle USB 3.0 at random sometimes, > but kernel 3.8.0 fails consistently. I know I should try to bisect this, > but I don't have time and the randomness of the older kernel doesn't help. > > l

Re: [PATCH 2/7] clk: samsung: Add clock driver for S3C64xx SoCs

2013-06-11 Thread Mike Turquette
Quoting Tomasz Figa (2013-06-05 16:57:26) > This patch adds new, Common Clock Framework-based clock driver for Samsung > S3C64xx SoCs. The driver is just added, without actually letting the > platforms use it yet, since this requires more intermediate steps. > It seems like there is an awful lot

Re: [PATCH 1/7] clk: samsung: pll: Add support for PLL6552 and PLL6553

2013-06-11 Thread Mike Turquette
Quoting Tomasz Figa (2013-06-05 16:57:25) > This patch adds support for PLL6552 and PLL6553 PLLs present on Samsung > S3C64xx SoCs. > > Signed-off-by: Tomasz Figa Acked-by: Mike Turquette or I can take it into clk-next. > --- > drivers/clk/samsung/clk-pll.c | 160 > +

Re: [RFC PATCH 0/4] USB: HCD/EHCI: giveback of URB in tasklet context

2013-06-11 Thread Ming Lei
On Wed, Jun 12, 2013 at 3:10 AM, Alan Stern wrote: > On Tue, 11 Jun 2013, Ming Lei wrote: > >> >> Is there any good reason to do URB giveback with interrupt disabled? >> > >> > That's a good question. Offhand I can't think of any drivers that rely >> > on this -- although there certainly are plac

[PATCH] extcon: Add an API to get extcon device from dt node

2013-06-11 Thread Chanwoo Choi
From: Kishon Vijay Abraham I Added an API of_extcon_get_extcon_dev() to be used by drivers to get extcon device in the case of dt boot (this can be used instead of extcon_get_extcon_dev()). Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham --- driv

USB 3.0 failure and possible regression in kernel 3.8.0

2013-06-11 Thread Norman Diamond
Kernels somewhere around 2.6.35 could handle USB 3.0 at random sometimes, but kernel 3.8.0 fails consistently. I know I should try to bisect this, but I don't have time and the randomness of the older kernel doesn't help. lspci: 0d:00.0 USB controller [0c03]: NEC Corporation uPD720200 USB 3.0 Hos

Re: [PATCH 1/5] extcon: Add an API to get extcon device from dt node

2013-06-11 Thread Chanwoo Choi
Hi Kishon, On 06/04/2013 01:13 AM, Kishon Vijay Abraham I wrote: > Added an API of_extcon_get_extcon_dev() to be used by drivers to get > extcon device in the case of dt boot (this can be used instead of > extcon_get_extcon_dev()). > > Signed-off-by: Kishon Vijay Abraham I > --- > drivers/extcon

Re: [PATCH 1/3] usb: chipidea: add CSR SiRFSoC ci13xxx usb driver

2013-06-11 Thread Felipe Balbi
On Sun, Jun 09, 2013 at 11:25:36AM +0800, Barry Song wrote: > From: Rong Wang > > CSR SiRF SoCs licensed chipidea ci13xxx USB IP, this patch > makes the chipidea drivers support CSR SiRF SoCS. > > It also changes the Kconfig, only compile MSM and IMX if related > drivers are enabled. Otherwise,

Re: [PATCH 0/5] dwc3: omap: adapt dwc3 to use extcon framework

2013-06-11 Thread Chanwoo Choi
Hi Kishon, I confused patch number. I applied patch2,3 on extcon-linus branch. extcon: Kconfig: Make extcon config type as bool extcon: add EXPORT_SYMBOL_GPL for exported functions And I will reply comment about patch1 soon. extcon: Add an API to get extcon device from dt node Thanks,

Re: [PATCH 0/5] dwc3: omap: adapt dwc3 to use extcon framework

2013-06-11 Thread Chanwoo Choi
Hi Kishon, Sorry for late reply. I applied patch1,2 on extcon-linus branch. - http://git.kernel.org/cgit/linux/kernel/git/chanwoo/extcon.git/log/?h=extcon-linus But, I have comment of patch 3 about dt API. I send comment on patch 3 mailing thread. Thanks, Chanwoo Choi On 06/04/2013 01:13 AM,

Re: Serial ports for Septentrio USB GNSS receiver

2013-06-11 Thread Bjørn Mork
Ben Adler writes: > On 10.06.2013 20:19, Bjørn Mork wrote: >> The cdc-acm driver cannot handle those ports, but a more forgiving >> generic driver can. I don't recommend it for normal use because it >> abuses the option driver, but Ben could do a simple test like this: >> >>echo 2 >/sys/bus/

Re: serial/ftdi_sio byte loss / performance regression

2013-06-11 Thread Greg KH
On Tue, Jun 11, 2013 at 12:43:25PM +0200, Johan Hovold wrote: > On Mon, Jun 10, 2013 at 02:39:06PM -0700, Greg KH wrote: > > On Thu, Jun 06, 2013 at 11:21:54AM -0700, Greg KH wrote: > > > On Thu, Jun 06, 2013 at 11:58:56AM +0200, Johan Hovold wrote: > > > > > Greg, perhaps we should consider backp

Re: [PATCH] usb: wire adapter: add scatter gather support

2013-06-11 Thread Alan Stern
On Tue, 11 Jun 2013, Thomas Pugliese wrote: > On Tue, 11 Jun 2013, Alan Stern wrote: > > > On Tue, 11 Jun 2013, Thomas Pugliese wrote: > > > > > This patch adds support for scatter gather DMA to the wire adapter and > > > updates the HWA to advertise support for SG transfers. This allows the

Re: [RFC PATCH 0/4] USB: HCD/EHCI: giveback of URB in tasklet context

2013-06-11 Thread Alan Stern
On Tue, 11 Jun 2013, Ming Lei wrote: > >> Is there any good reason to do URB giveback with interrupt disabled? > > > > That's a good question. Offhand I can't think of any drivers that rely > > on this -- although there certainly are places where callback routines > > use spin_lock() rather than

Re: [PATCH v2 2/7] usb: phy: dsps: adding usbphy driver for am33xx platform

2013-06-11 Thread Sergei Shtylyov
Hello. On 06/11/2013 01:45 PM, B, Ravi wrote: + + res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "phy_wkup"); + phy->phy_wkup = ioremap(res->start, resource_size(res)); devm_ioremap? The phy_wakeup register is common across two instances of phy, devm_ioremap_resourc

Re: [xhci] null pointer dereference on ring_doorbell_for_active_rings

2013-06-11 Thread Oleksij Rempel
Am 11.06.2013 19:34, schrieb Sarah Sharp: On Mon, Jun 10, 2013 at 08:55:56AM +0200, Oleksij Rempel wrote: Hello all, i'm working on usb_autosuspend for ath9k_htc and triggered this oops. Currently i do not know if real bug is in ath9k_htc or in xhci. Same adapter with same kernel and my patches

Re: [PATCH] usb: wire adapter: add scatter gather support

2013-06-11 Thread Thomas Pugliese
On Tue, 11 Jun 2013, Alan Stern wrote: > On Tue, 11 Jun 2013, Thomas Pugliese wrote: > > > This patch adds support for scatter gather DMA to the wire adapter and > > updates the HWA to advertise support for SG transfers. This allows the > > block layer to submit transfer requests to the HWA

Re: Linux USB file storage gadget with new UDC

2013-06-11 Thread Alan Stern
On Tue, 11 Jun 2013, victor yeo wrote: > Yes, the matching gadget log and usbmon trace are attached in this > email. From the usbmon trace, the error (-108) is ESHUTDOWN from > SCSI_READ_10 command. From the gadget log, the last SCSI_READ_10 > command is received twice. First time it is ok, second

Re: [PATCH] usb: wire adapter: add scatter gather support

2013-06-11 Thread Alan Stern
On Tue, 11 Jun 2013, Thomas Pugliese wrote: > This patch adds support for scatter gather DMA to the wire adapter and > updates the HWA to advertise support for SG transfers. This allows the > block layer to submit transfer requests to the HWA HC without first > breaking them up into PAGE_SIZE

Re: [xhci] null pointer dereference on ring_doorbell_for_active_rings

2013-06-11 Thread Sarah Sharp
On Mon, Jun 10, 2013 at 08:55:56AM +0200, Oleksij Rempel wrote: > Hello all, > > i'm working on usb_autosuspend for ath9k_htc and triggered this > oops. Currently i do not know if real bug is in ath9k_htc or in > xhci. Same adapter with same kernel and my patches work fine on ehci > host... so may

Re: [PATCH] usb: wire adapter: add scatter gather support

2013-06-11 Thread Thomas Pugliese
On Tue, 11 Jun 2013, Greg KH wrote: > On Tue, Jun 11, 2013 at 10:39:31AM -0500, Thomas Pugliese wrote: > > This patch adds support for scatter gather DMA to the wire adapter and > > Don't you mean "wireless adapter"? The Wireless USB spec uses the term "wire adapter" to specify the means by

Re: [PATCH] usb: wire adapter: add scatter gather support

2013-06-11 Thread Greg KH
On Tue, Jun 11, 2013 at 10:39:31AM -0500, Thomas Pugliese wrote: > This patch adds support for scatter gather DMA to the wire adapter and Don't you mean "wireless adapter"? > updates the HWA to advertise support for SG transfers. This allows the > block layer to submit transfer requests to the

Re: Fwd: Fwd: request some hep for usb comminucation

2013-06-11 Thread Greg KH
On Tue, Jun 11, 2013 at 12:29:19PM +0430, Mahdi Razavi wrote: > Hi > i install windowx XP and Ubuntu in vmware and install a USBlizer > (trial) in host windows (win 7 64 bit). next snooping a message > between an application and device. and send a same data from ubuntu to > device. > but device dos

[PATCH] usb: wire adapter: add scatter gather support

2013-06-11 Thread Thomas Pugliese
This patch adds support for scatter gather DMA to the wire adapter and updates the HWA to advertise support for SG transfers. This allows the block layer to submit transfer requests to the HWA HC without first breaking them up into PAGE_SIZE requests. Signed-off-by: Thomas Pugliese diff --gi

Re: Linux USB file storage gadget with new UDC

2013-06-11 Thread victor yeo
Hi, > Another possibility is to set up a virtual Windows system inside your > Linux host. Then try running the USB CV program on the virtual > machine, and use usbmon on the host system to capture the USB traffic. > > I don't know if that will work, but it might. Thanks. i will find a way to set

Re: Linux USB file storage gadget with new UDC

2013-06-11 Thread Alan Stern
On Tue, 11 Jun 2013, victor yeo wrote: > Hi, > > >> The hardware handles Set Address request, and i can see the address of > >> the USB gadget being shown in Windows host. Here i attach the gadget > >> driver log for the "Device Descriptor Test - Addressed State". The > >> test just failed after

Re: [RFC PATCH 0/4] USB: HCD/EHCI: giveback of URB in tasklet context

2013-06-11 Thread Ming Lei
On Tue, Jun 11, 2013 at 6:51 PM, Oliver Neukum wrote: > On Tuesday 11 June 2013 17:27:28 Ming Lei wrote: >> On Tue, Jun 11, 2013 at 4:49 PM, Oliver Neukum wrote: >> > On Tuesday 11 June 2013 16:14:25 Ming Lei wrote: > >> > The driver itself may have submitted a timer and race against it. >> > Wha

Re: [RFC PATCH 0/4] USB: HCD/EHCI: giveback of URB in tasklet context

2013-06-11 Thread Oliver Neukum
On Tuesday 11 June 2013 17:27:28 Ming Lei wrote: > On Tue, Jun 11, 2013 at 4:49 PM, Oliver Neukum wrote: > > On Tuesday 11 June 2013 16:14:25 Ming Lei wrote: > > The driver itself may have submitted a timer and race against it. > > What locking do you need in complete() and a timer to lock agains

Re: serial/ftdi_sio byte loss / performance regression

2013-06-11 Thread Johan Hovold
On Mon, Jun 10, 2013 at 02:39:06PM -0700, Greg KH wrote: > On Thu, Jun 06, 2013 at 11:21:54AM -0700, Greg KH wrote: > > On Thu, Jun 06, 2013 at 11:58:56AM +0200, Johan Hovold wrote: > > > Greg, perhaps we should consider backporting the wait-until-sent > > > patches (i.e. 0693196fe..4746b6c6e)? >

[PATCH 2/2] usb: chipidea: fix id change handling

2013-06-11 Thread Alexander Shishkin
Re-enable chipidea irq even if there's no role changing to do. This is a problem since b183c19f ("USB: chipidea: re-order irq handling to avoid unhandled irqs"); when it manifests, chipidea irq gets disabled for good. Cc: sta...@vger.kernel.org # v3.7 Signed-off-by: Alexander Shishkin --- driver

[PATCH 1/2] usb: chipidea: fix no transceiver case

2013-06-11 Thread Alexander Shishkin
Since usb phy code does return ERR_PTR() values, make sure that we don't end up dereferencing them. This is a problem, for example, on platforms that don't register a phy for chipidea since b7fa5c2a ("usb: phy: return -ENXIO when PHY layer isn't enabled"). Signed-off-by: Alexander Shishkin --- d

[PATCH 0/2] usb: chipidea: fixes for v3.10-rc5

2013-06-11 Thread Alexander Shishkin
Hi, Here are two fixes for v3.10-rc5, one of them is also applicable for -stable. Alexander Shishkin (2): usb: chipidea: fix no transceiver case usb: chipidea: fix id change handling drivers/usb/chipidea/core.c |3 ++- drivers/usb/chipidea/udc.c | 13 - 2 files changed, 1

RE: [PATCH v2 2/7] usb: phy: dsps: adding usbphy driver for am33xx platform

2013-06-11 Thread B, Ravi
Kishon > Cc: linux-usb@vger.kernel.org; linux-ker...@vger.kernel.org; Balbi, Felipe > Subject: Re: [PATCH v2 2/7] usb: phy: dsps: adding usbphy driver for am33xx > platform >> + >> +res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "phy_wkup"); >> +phy->phy_wkup = ioremap(res->sta

Re: [PATCH] qmi_wwan/cdc_ether: let qmi_wwan handle the Huawei E1820

2013-06-11 Thread David Miller
From: Bjørn Mork Date: Thu, 6 Jun 2013 12:57:02 +0200 > Another QMI speaking Qualcomm based device, which should be > driven by qmi_wwan, while cdc_ether should ignore it. ... > Reported-by: Graham Inggs > Signed-off-by: Bjørn Mork Applied, thanks. -- To unsubscribe from this list: send the

Re: [PATCH 06/39] ARM: ux500: Move SDI (MMC) and UART devices under more descriptive heading

2013-06-11 Thread Linus Walleij
On Mon, Jun 10, 2013 at 11:17 AM, Lee Jones wrote: > On Wed, 15 May 2013, Linus Walleij wrote: > >> On Wed, May 15, 2013 at 11:51 AM, Lee Jones wrote: >> >> > Now DMA DT bindings exist and are in use by he MMC and UART drivers, it >> > should be possible to remove them from the auxdata structure.

Re: Serial ports for Septentrio USB GNSS receiver

2013-06-11 Thread Ben Adler
On 10.06.2013 20:19, Bjørn Mork wrote: The cdc-acm driver cannot handle those ports, but a more forgiving generic driver can. I don't recommend it for normal use because it abuses the option driver, but Ben could do a simple test like this: echo 2 >/sys/bus/usb/devices//bConfigurationValue

Re: [PATCH 05/39] ARM: ux500: Stop passing MMC's platform data for Device Tree boots

2013-06-11 Thread Linus Walleij
On Mon, Jun 10, 2013 at 11:15 AM, Lee Jones wrote: > On Wed, 15 May 2013, Linus Walleij wrote: > >> On Wed, May 15, 2013 at 11:51 AM, Lee Jones wrote: >> >> > It was required to pass DMA channel configuration information to the >> > MMC driver before the new DMA API was in place. Now that it is,

Re: [RFC PATCH 0/4] USB: HCD/EHCI: giveback of URB in tasklet context

2013-06-11 Thread Ming Lei
On Tue, Jun 11, 2013 at 4:49 PM, Oliver Neukum wrote: > On Tuesday 11 June 2013 16:14:25 Ming Lei wrote: >> On Tue, Jun 11, 2013 at 3:18 PM, Oliver Neukum wrote: >> > On Tuesday 11 June 2013 13:40:20 Ming Lei wrote: >> >> On Tue, Jun 11, 2013 at 1:36 AM, Alan Stern >> >> wrote: >> >> > On Mon,

Re: [RFC PATCH 0/4] USB: HCD/EHCI: giveback of URB in tasklet context

2013-06-11 Thread Oliver Neukum
On Tuesday 11 June 2013 16:14:25 Ming Lei wrote: > On Tue, Jun 11, 2013 at 3:18 PM, Oliver Neukum wrote: > > On Tuesday 11 June 2013 13:40:20 Ming Lei wrote: > >> On Tue, Jun 11, 2013 at 1:36 AM, Alan Stern > >> wrote: > >> > On Mon, 10 Jun 2013, Ming Lei wrote: > > > >> If complete() callback r

Re: [PATCH v2 2/7] usb: phy: dsps: adding usbphy driver for am33xx platform

2013-06-11 Thread Kishon Vijay Abraham I
Hi, On Tuesday 11 June 2013 12:47 PM, Ravi Babu wrote: Adds usb-phy driver support for am33xx platform, the host/device peripheral controller shall get this phy object to control the phy operations. Signed-off-by: Ravi Babu --- drivers/usb/phy/Kconfig|9 ++ drivers/usb/phy/Makef

Re: [RFC PATCH 0/4] USB: HCD/EHCI: giveback of URB in tasklet context

2013-06-11 Thread Ming Lei
On Tue, Jun 11, 2013 at 4:54 AM, Steven Rostedt wrote: > On Mon, 2013-06-10 at 16:47 -0400, Alan Stern wrote: >> On Mon, 10 Jun 2013, Steven Rostedt wrote: >> >> > > and why so many drivers >> > > > are using tasklet/softirq? >> > >> > Because it's easy to set up and device driver authors don't k

Re: Linux USB file storage gadget with new UDC

2013-06-11 Thread victor yeo
Hi, >> The hardware handles Set Address request, and i can see the address of >> the USB gadget being shown in Windows host. Here i attach the gadget >> driver log for the "Device Descriptor Test - Addressed State". The >> test just failed after Get Configuration request. > > I can't tell what's w

Re: [RFC PATCH 0/4] USB: HCD/EHCI: giveback of URB in tasklet context

2013-06-11 Thread Ming Lei
On Tue, Jun 11, 2013 at 3:18 PM, Oliver Neukum wrote: > On Tuesday 11 June 2013 13:40:20 Ming Lei wrote: >> On Tue, Jun 11, 2013 at 1:36 AM, Alan Stern >> wrote: >> > On Mon, 10 Jun 2013, Ming Lei wrote: > >> If complete() callback runs in one tasklet context, spin_lock() inside >> complete() is

Re: Fwd: Fwd: request some hep for usb comminucation

2013-06-11 Thread Mahdi Razavi
Hi i install windowx XP and Ubuntu in vmware and install a USBlizer (trial) in host windows (win 7 64 bit). next snooping a message between an application and device. and send a same data from ubuntu to device. but device dosent responce. What reason might be that the device does not respond? than

Re: [PATCH v9 resend 0/3] Add USB support to R8A7778/BOCK-W

2013-06-11 Thread Simon Horman
On Tue, Jun 11, 2013 at 04:49:59PM +0900, Simon Horman wrote: > On Sun, Jun 09, 2013 at 12:32:34AM +0400, Sergei Shtylyov wrote: > > Hello. > > > >Here's the set of 3 patches against the Simon Horman's 'renesas.git' > > repo, > > 'renesas-next-20130607' tag, and the R8A7779/Marzen USB patchse

Re: [PATCH v8 0/9] Reorganize R8A7779/Marzen USB code

2013-06-11 Thread Simon Horman
On Tue, Jun 11, 2013 at 04:49:43PM +0900, Simon Horman wrote: > On Fri, Jun 07, 2013 at 02:45:45PM +0400, Sergei Shtylyov wrote: > > Hello. > > > > On 07-06-2013 12:06, Simon Horman wrote: > > > > >>Here's the set of 9 patches against the Simon Horman's 'renesas.git' > > >> repo, > > >>'rene

Re: [PATCH v8 0/9] Reorganize R8A7779/Marzen USB code

2013-06-11 Thread Simon Horman
On Fri, Jun 07, 2013 at 02:45:45PM +0400, Sergei Shtylyov wrote: > Hello. > > On 07-06-2013 12:06, Simon Horman wrote: > > >>Here's the set of 9 patches against the Simon Horman's 'renesas.git' > >> repo, > >>'renesas-next-20130528' tag. It was created to fix the shortcomings in the > >>R8A

Re: [PATCH v9 resend 0/3] Add USB support to R8A7778/BOCK-W

2013-06-11 Thread Simon Horman
On Sun, Jun 09, 2013 at 12:32:34AM +0400, Sergei Shtylyov wrote: > Hello. > >Here's the set of 3 patches against the Simon Horman's 'renesas.git' repo, > 'renesas-next-20130607' tag, and the R8A7779/Marzen USB patchset I've posted. > It was created to add support of R8A7778/BOCK-W USB to the p

[PATCH v2 0/7] adding dual instance and usb-phy support for am335x platform

2013-06-11 Thread Ravi Babu
This patch set series - adds dual musb instances support for am335x platform - adds phy-dsps-usb driver based on TI's gs70 driver - adds DT bindings for am33xx usb-phy - removed references to usb-nop-xceiv from musb has been verified on tree [1] [1] git://git.kerne

[PATCH v2 5/7] usb: musb: dsps: use get-usb-phy by phandle for multi instance

2013-06-11 Thread Ravi Babu
In case of mutli instance support, use get-phy object using phandle to return to repsective phy xceiv object for each instance Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_dsps.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/drivers/usb/musb/musb_dsps.c b/dr

[PATCH v2 1/7] usb: musb: dsps: enable dual instance support for am33xx platform

2013-06-11 Thread Ravi Babu
The dsps am33xx platform has two instances of musb controller, enable the support for dual musb instances Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_dsps.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.

[PATCH v2 2/7] usb: phy: dsps: adding usbphy driver for am33xx platform

2013-06-11 Thread Ravi Babu
Adds usb-phy driver support for am33xx platform, the host/device peripheral controller shall get this phy object to control the phy operations. Signed-off-by: Ravi Babu --- drivers/usb/phy/Kconfig|9 ++ drivers/usb/phy/Makefile |1 + drivers/usb/phy/phy-dsps-usb.c | 236 ++

[PATCH v2 4/7] usb: musb: dsps: use usb-phy driver API for phy power on/off

2013-06-11 Thread Ravi Babu
use usb-phy driver API for powering on/off phy and removed usage of the phy control access in platform glue driver. Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_dsps.c | 22 +- 1 files changed, 13 insertions(+), 9 deletions(-) diff --git a/drivers/usb/musb/musb_dsps.

[PATCH v2 6/7] usb: phy: dts: Adding usbphy DT bindings for am33xx

2013-06-11 Thread Ravi Babu
The am33xx platforms suppors dual musb instance which need two instances of usb-phy. Add dual instance usb-phy DT bindings for am333x platform. Signed-off-by: Ravi Babu --- arch/arm/boot/dts/am33xx.dtsi | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/arc

[PATCH v2 7/7] usb: musb: dsp: remove the usb-phy control acess from platform glue

2013-06-11 Thread Ravi Babu
Remove usb-phy control access from platform glue, after moving usb-phy controls to saperate phy-dsps-usb driver. Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_dsps.c | 51 -- 1 files changed, 0 insertions(+), 51 deletions(-) diff --git a/drivers/us

[PATCH v2 3/7] usb: musb: dsps: remove nop_xceiv_(un)register APIs from dsps glue

2013-06-11 Thread Ravi Babu
removed nop xceiv (un_)register API's references from musb dsps platform, as it uses saperate phy driver. Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_dsps.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsp

Re: [RFC PATCH 0/4] USB: HCD/EHCI: giveback of URB in tasklet context

2013-06-11 Thread Oliver Neukum
On Tuesday 11 June 2013 13:40:20 Ming Lei wrote: > On Tue, Jun 11, 2013 at 1:36 AM, Alan Stern wrote: > > On Mon, 10 Jun 2013, Ming Lei wrote: > If complete() callback runs in one tasklet context, spin_lock() inside > complete() is enough, just like hard irq, the tasklet itself is disabled > duri