Re: [PATCH v4 00/13] USB: OTG/DRD Core functionality

2015-08-26 Thread Peter Chen
On Mon, Aug 24, 2015 at 04:21:11PM +0300, Roger Quadros wrote: > Hi, > > This series centralizes OTG/Dual-role functionality in the kernel. > As of now I've got Dual-role functionality working pretty reliably on > dra7-evm and am437x-gp-evm. > > DWC3 controller and platform related patches will b

Re: [Bug 103461] i.MX USB runtime power management breaks the boot

2015-08-26 Thread Vincent Stehlé
On 08/26/2015 06:41 AM, Peter Chen wrote: .. > Vincent, would you supply related u-boot and pc tools for me? > Then, I can reproduce it. Hi Peter, Thanks for your concern! I have updated the bugzilla Bug 103461 with more details, to spare the list. Do not hesitate to let me know if you need any

Re: [PATCH 0/5] usb: common and dwc3: converting to unified device property

2015-08-26 Thread Heikki Krogerus
Hi Peter, On Wed, Aug 26, 2015 at 12:53:20PM +0800, Peter Chen wrote: > On Tue, Aug 25, 2015 at 02:04:30PM +0300, Heikki Krogerus wrote: > > Hi, > > > > While converting dwc3 to the unified device property interface, I > > noticed that there is really nothing preventing of_usb_get_dr_mode and > >

Re: [TESTPATCH] xhci: custom debug patch for command mismatch

2015-08-26 Thread Mathias Nyman
On 25.08.2015 22:53, Vincent Pelletier wrote: On Tue, 25 Aug 2015 21:09:20 +0200, Vincent Pelletier wrote: I'm not sure how I'll get this (I have a lot to learn about kernel debugging). Answering to myself: log_buf_len kernel parameter. I sent you my dmesg off-list (335KB raw, 46KB gzipped).

[PATCH] xhci: give command abortion one more chance before killing xhci

2015-08-26 Thread Mathias Nyman
We want to give the command abortion an additonal try to stop the command ring before we completely hose xhci. Signed-off-by: Mathias Nyman --- drivers/usb/host/xhci-ring.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c in

RE: [PATCH 1/1] usb: dwc2: gadget: parity fix in isochronous mode

2015-08-26 Thread Roman Bacik
> -Original Message- > From: John Youn [mailto:john.y...@synopsys.com] > Sent: August-25-15 7:06 PM > To: Roman Bacik; John Youn; Scott Branden; Greg Kroah-Hartman; linux- > u...@vger.kernel.org > Cc: linux-ker...@vger.kernel.org; bcm-kernel-feedback-list > Subject: Re: [PATCH 1/1] usb: dwc

[PATCH 1/2] usb: chipidea: add xilinx zynq platform data

2015-08-26 Thread Nathan Sullivan
The Xilinx Zynq udc does not need the CI_HDRC_DISABLE_STREAMING flag, unlike the default platform data. Add platform data specific to the Zynq udc. Based on a patch by the same name from the Xilinx vendor tree. Signed-off-by: Nathan Sullivan --- drivers/usb/chipidea/ci_hdrc_usb2.c | 25 +

[PATCH 2/2] Documentation: bindings: add doc for zynq USB

2015-08-26 Thread Nathan Sullivan
Document the binding for the zynq specific chipidea UDC binding. Signed-off-by: Nathan Sullivan --- Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt |1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt b/Documentation/devicetree/bin

Re: Likely issue with ch341 kernel-module/driver

2015-08-26 Thread Johan Hovold
[ +CC: linux-usb ] On Wed, Aug 26, 2015 at 09:39:36PM +0530, Ajay Garg wrote: > Hi all. > > I am attaching the RS232-TTL via a serial-USB converter on my machine. > > However, when I connect a putty-session with my embedded-device, I see > strange issues (garbage characters transmitted from embe

Re: [PATCHv2] Input: xpad - Fix double URB submission races

2015-08-26 Thread Dmitry Torokhov
On Mon, Aug 24, 2015 at 9:22 PM, Laura Abbott wrote: > On 08/21/2015 09:50 AM, Dmitry Torokhov wrote: >> >> Hi Laura, >> >> On Mon, Aug 10, 2015 at 05:26:12PM -0700, Laura Abbott wrote: >>> >>> v2: Created a proper queue for events instead of just dropping them >> >> >> How long does it take for t

Re: [TESTPATCH] xhci: custom debug patch for command mismatch

2015-08-26 Thread Vincent Pelletier
On Wed, 26 Aug 2015 16:05:15 +0300, Mathias Nyman wrote: > In the first mail you sent we failed in aborting a command, > and the command ring didn't stop. > In the log you recently sent the command ring stopped, > command was successfully aborted and life went on. > I suppose everything worked fin

Re: Likely issue with ch341 kernel-module/driver

2015-08-26 Thread Peter Stuge
Johan Hovold wrote: > On Wed, Aug 26, 2015 at 09:39:36PM +0530, Ajay Garg wrote: .. > > garbage characters transmitted from embedded-device .. > > It seems that there is some issue with the driver. > > Why do think it's a driver issue? I can confirm similar issues with the in-tree driver and my h

Re: Likely issue with ch341 kernel-module/driver

2015-08-26 Thread Johan Hovold
On Wed, Aug 26, 2015 at 08:09:30PM +0200, Peter Stuge wrote: > Johan Hovold wrote: > > On Wed, Aug 26, 2015 at 09:39:36PM +0530, Ajay Garg wrote: > .. > > > garbage characters transmitted from embedded-device > .. > > > It seems that there is some issue with the driver. > > > > Why do think it's a

Re: [PATCH v6 4/5] xhci: mediatek: support MTK xHCI host controller

2015-08-26 Thread Daniel Thompson
On 22/08/15 02:45, Chunfeng Yun wrote: MTK xhci host controller defines some extra SW scheduling parameters for HW to minimize the scheduling effort for synchronous and interrupt endpoints. The parameters are put into reseved DWs of slot context and endpoint context According to the covering e-

Re: [PATCH] usb: Move xhci_pme_quirk() behind an #ifdef CONFIG_PM, as it is not used when it's not defined

2015-08-26 Thread Tomer Barletz
Ping. On Tue, Aug 18, 2015 at 12:55 AM, Tomer Barletz wrote: > Signed-off-by: Tomer Barletz > --- > drivers/usb/host/xhci-pci.c | 90 > ++--- > 1 file changed, 45 insertions(+), 45 deletions(-) > > diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/

xHCI reports “ERROR Unknown event condition 20, HC probably busted”

2015-08-26 Thread Steinar H. Gunderson
Hi, I have an USB3 device which I'm using through libusb (so usbfs) pulling relatively large amounts of isochronous data (uncompressed 720p60 video, so a bit under a gigabit per second) down to my X240 laptop. I submit four isochronous requests of about ~2MB each, which seems to be enough to keep

Re: [PATCH v3] usb: dwc2: Use platform endianness when accessing registers

2015-08-26 Thread John Youn
On 8/20/2015 11:43 AM, Antti Seppälä wrote: > This patch switches calls to readl/writel to their > dwc2_readl/dwc2_writel equivalents which preserve platform endianness. > > This patch is necessary to access dwc2 registers correctly on big-endian > systems such as the mips based SoCs made by Lanti

Re: [PATCH 0/5] usb: common and dwc3: converting to unified device property

2015-08-26 Thread Peter Chen
On Wed, Aug 26, 2015 at 01:13:22PM +0300, Heikki Krogerus wrote: > Hi Peter, > > On Wed, Aug 26, 2015 at 12:53:20PM +0800, Peter Chen wrote: > > On Tue, Aug 25, 2015 at 02:04:30PM +0300, Heikki Krogerus wrote: > > > Hi, > > > > > > While converting dwc3 to the unified device property interface, I

Re: [PATCH 1/2] usb: chipidea: add xilinx zynq platform data

2015-08-26 Thread sundeep subbaraya
Hi, On Wed, Aug 26, 2015 at 8:57 PM, Nathan Sullivan wrote: > The Xilinx Zynq udc does not need the CI_HDRC_DISABLE_STREAMING flag, > unlike the default platform data. Add platform data specific to the > Zynq udc. > > Based on a patch by the same name from the Xilinx vendor tree. I am that Xil

Re: [PATCH 1/2] usb: chipidea: add xilinx zynq platform data

2015-08-26 Thread Peter Chen
On Thu, Aug 27, 2015 at 10:59:22AM +0530, sundeep subbaraya wrote: > Hi, > > > On Wed, Aug 26, 2015 at 8:57 PM, Nathan Sullivan > wrote: > > The Xilinx Zynq udc does not need the CI_HDRC_DISABLE_STREAMING flag, > > unlike the default platform data. Add platform data specific to the > > Zynq ud

Re: Likely issue with ch341 kernel-module/driver

2015-08-26 Thread Ajay Garg
I started in the morning to build the driver from the source provided by the vendor, but it was written in the times of kernel-version 2.4, and I got hopelessly stuck. Wanting to take a break, I reset my setup, and VERY strangely, what I now observe is :: a) I am NOT able to send anything from th