Re: [PATCH v2 2/3] usb: chipidea: Hook into mux framework to toggle usb switch

2017-07-17 Thread Peter Chen
On Fri, Jul 14, 2017 at 02:40:04PM -0700, Stephen Boyd wrote: > > @@ -175,6 +176,10 @@ static int host_start(struct ci_hdrc *ci) > if (ci_otg_is_fsm_mode(ci)) { > otg->host = >self; > hcd->self.otg_port = 1; > + } else { > +

Re: [PATCH v16 2/7] power: add power sequence library

2017-07-17 Thread Peter Chen
On Mon, Jul 17, 2017 at 03:39:07PM +0200, Rafael J. Wysocki wrote: > > Sorry, I should describe more. > > > > Let's take USB bus as an example, when the new USB device is at the > > host port, the device structure at device model is not created until > > it is discoverable by the USB bus. If this

Re: [PATCH] usb: dwc2: gadget: On USB RESET reset device address to zero

2017-07-17 Thread John Youn
On 07/11/2017 03:25 AM, Minas Harutyunyan wrote: > Reseted DEVADDR field in DCFG to zero on USB RESET. > > Device address in DCFG register does not reset to zero, > which required to pass enumeration, after disconnect and > reconnect. > > Signed-off-by: Minas Harutyunyan >

Re: [RFCv2 usb-next 0/3] initialize (multiple) PHYs in xhci-plat

2017-07-17 Thread Chunfeng Yun
Hi, On Mon, 2017-07-17 at 11:27 +0200, Martin Blumenstingl wrote: > Hi, > > On Mon, Jul 17, 2017 at 9:21 AM, Chunfeng Yun > wrote: > > Hi, > > On Sat, 2017-07-15 at 14:11 +0200, Martin Blumenstingl wrote: > >> Hi, > >> > >> On Sat, Jul 15, 2017 at 11:33 AM, Chunfeng

Re: CPU lock-ups with 4.12.0+ kernels related to usb_storage

2017-07-17 Thread Arthur Marsh
Arthur Marsh wrote on 14/07/17 04:18: Alan Stern wrote on 14/07/17 02:30: All right. In the meantime, changing usb-storage won't hurt. Arthur, can you test the patch below? Alan Stern Index: usb-4.x/drivers/usb/storage/usb.c

Re: Dell DA200 adapter errors

2017-07-17 Thread Greg KH
On Mon, Jul 17, 2017 at 08:57:53PM +0200, Jose Antonio de la Torre wrote: > Hi, I am trying to use the Dell DA200 USB-C adapter > (http://accessories.ap.dell.com/sna/productdetail.aspx?c=sg=en=bsd=sgbsd1=470-abnl) > In Debian 9 wiith Kernel 4.11.0-1. I have that thing, it's really really flaky.

Dell DA200 adapter errors

2017-07-17 Thread Jose Antonio de la Torre
Hi, I am trying to use the Dell DA200 USB-C adapter (http://accessories.ap.dell.com/sna/productdetail.aspx?c=sg=en=bsd=sgbsd1=470-abnl) In Debian 9 wiith Kernel 4.11.0-1. The first time it seems to work and I am able to use the adapter without problems. The error comes when I try to

Re: [RFCv2 usb-next 3/3] usb: host: xhci: plat: integrate the platform-roothub

2017-07-17 Thread Rob Herring
On Thu, Jul 13, 2017 at 12:59:39PM +0200, Martin Blumenstingl wrote: > This enables the platform-roothub for the xhci-plat driver. This allows > specifying a PHY for each port via devicetree. All PHYs will then be > enabled/disabled by the platform-roothub driver. > > One example where this is

Re: [RFCv2 usb-next 1/3] dt-bindings: usb: add the documentation for USB root-hub

2017-07-17 Thread Rob Herring
On Thu, Jul 13, 2017 at 12:59:37PM +0200, Martin Blumenstingl wrote: > A USB root-hub may have several PHYs which need to be configured before > the root-hub starts working. > This adds the documentation for such a USB root-hub. > > Signed-off-by: Martin Blumenstingl

Re: [PATCH 2/3] usb: chipidea: Hook into mux framework to toggle usb switch

2017-07-17 Thread Rob Herring
On Thu, Jul 13, 2017 at 03:29:43PM -0700, Stephen Boyd wrote: > Quoting Peter Rosin (2017-07-11 23:45:24) > > On 2017-07-12 03:02, Stephen Boyd wrote: > > > @@ -102,4 +107,7 @@ Example: > > > rx-burst-size-dword = <0x10>; > > > extcon = <0>, <_id>; > > >

Re: [PATCH 0/3] USB Mux support for Chipidea

2017-07-17 Thread Rob Herring
On Thu, Jul 13, 2017 at 03:35:02PM -0700, Stephen Boyd wrote: > Quoting Peter Rosin (2017-07-11 22:04:46) > > On 2017-07-12 03:02, Stephen Boyd wrote: > > > This patchset adds support for the TC7USB40MU usb mux found on > > > db410c 96boards platforms via the new multiplexer framework and > > >

[PATCH 2/2] usb: phy-generic: Remove unneeded gpiod NULL check

2017-07-17 Thread Fabio Estevam
From: Fabio Estevam The gpiod API checks for NULL descriptors, so there is no need to duplicate the check in the driver. Signed-off-by: Fabio Estevam --- drivers/usb/phy/phy-generic.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff

[PATCH 1/2] usb: pxa27x_udc: Remove unneeded gpiod NULL check

2017-07-17 Thread Fabio Estevam
From: Fabio Estevam The gpiod API checks for NULL descriptors, so there is no need to duplicate the check in the driver. Signed-off-by: Fabio Estevam --- drivers/usb/gadget/udc/pxa27x_udc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

Re: [PATCH] Adding TD620 Device ID in PL2303

2017-07-17 Thread Greg KH
On Mon, Jul 17, 2017 at 04:34:57PM +, Schoon, Michael wrote: > Sorry about that. How's this: > > Please add support for HP TD620 Linear Display device to the pl2303 module. > The USB Device ID is 03f0:0956 for this 2x20 display. > > --- drivers/usb/serial/pl2303.c.orig2017-07-14

RE: [PATCH] Adding TD620 Device ID in PL2303

2017-07-17 Thread Schoon, Michael
Sorry about that. How's this: Please add support for HP TD620 Linear Display device to the pl2303 module. The USB Device ID is 03f0:0956 for this 2x20 display. --- drivers/usb/serial/pl2303.c.orig2017-07-14 13:43:59.029860481 -0500 +++ drivers/usb/serial/pl2303.c 2017-07-14

Re: [PATCH] Adding TD620 Device ID in PL2303

2017-07-17 Thread Greg KH
On Mon, Jul 17, 2017 at 03:19:10PM +, Schoon, Michael wrote: >     Please add support for HP TD620 Linear Display device to the pl2303 > module.  The USB Device ID is 03f0:0956 for this 2x20 display. >     > Changes to be committed: >     modified:   drivers/usb/serial/pl2303.c >

[PATCH] Adding TD620 Device ID in PL2303

2017-07-17 Thread Schoon, Michael
    Please add support for HP TD620 Linear Display device to the pl2303 module.  The USB Device ID is 03f0:0956 for this 2x20 display.     Changes to be committed:     modified:   drivers/usb/serial/pl2303.c     modified:   drivers/usb/serial/pl2303.h     ---

Re: [USB] f16443a034: EIP:arch_local_irq_restore

2017-07-17 Thread Alan Stern
On Mon, 17 Jul 2017, Felipe Balbi wrote: > Hi, > > Alan Stern writes: > >> >> > On Thu, 29 Jun 2017, kernel test robot wrote: > >> >> > > >> >> >> FYI, we noticed the following commit: > >> >> >> > >> >> >> commit: f16443a034c7aa359ddf6f0f9bc40d01ca31faea ("USB:

Re: JMS567 USB3.0 scsi scan error

2017-07-17 Thread Oliver Neukum
Am Montag, den 10.07.2017, 15:06 +0200 schrieb Oliver Neukum: > > The old storage driver unconditionally limits inquiries to 36 bytes. UAS does > not > have that limit. That seems to be a bit optimistic. Could you test the > attached patch? > Hi, is there a problem testing. Should I make a

Re: [PATCH v16 2/7] power: add power sequence library

2017-07-17 Thread Rafael J. Wysocki
On Monday, July 10, 2017 10:28:15 AM Peter Chen wrote: > On Sat, Jul 08, 2017 at 02:14:56PM +0200, Rafael J. Wysocki wrote: > > On Saturday, July 08, 2017 01:51:15 PM Peter Chen wrote: > > > On Fri, Jul 07, 2017 at 03:03:06PM +0200, Rafael J. Wysocki wrote: > > > > On Friday, July 07, 2017

Re: [PATCH v5] xhci: Bad Ethernet performance plugged in ASM1042A host

2017-07-17 Thread Mathias Nyman
On 11.07.2017 00:44, mario.limoncie...@dell.com wrote: -Original Message- From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] Sent: Monday, July 10, 2017 3:57 PM To: Limonciello, Mario Cc: Mathias Nyman ; USB ;

Re: [PATCH v3] usb: xhci: Issue stop EP command only when the EP state is running

2017-07-17 Thread Mathias Nyman
On 12.07.2017 08:30, Shyam Sundar S K wrote: On 6/22/2017 4:34 PM, Mathias Nyman wrote: On 22.06.2017 13:44, Shyam Sundar S K wrote: On 6/19/2017 9:42 AM, Shyam Sundar S K wrote: on AMD platforms with SNPS 3.1 USB controller if stop endpoint command is issued the controller does not

Re: [PATCH 2/2] usb: host: pci_quirks: Force hard reset of Renesas uPD72020x USB controller

2017-07-17 Thread Mathias Nyman
On 10.07.2017 18:52, Marc Zyngier wrote: The Renesas uPD72020x XHCI controller seems to suffer from a really annoying bug, where it may retain some of its DMA programming across a XHCI reset, and despite the driver correctly programming new DMA addresses. This is visible if the device has been

Re: [PATCH v2] usb: serial: Add support for Qivicon USB ZigBee dongle

2017-07-17 Thread Johan Hovold
On Mon, Jul 03, 2017 at 11:30:49AM -0500, Dan Williams wrote: > On Mon, 2017-07-03 at 10:16 +0200, Frans Klaver wrote: > > On Mon, Jul 3, 2017 at 10:13 AM, Johan Hovold > > wrote: > > > On Fri, Jun 30, 2017 at 02:49:55PM +0200, Frans Klaver wrote: > > > > On Fri, Jun 30, 2017 at

Re: [RFCv2 usb-next 0/3] initialize (multiple) PHYs in xhci-plat

2017-07-17 Thread Martin Blumenstingl
Hi, On Mon, Jul 17, 2017 at 9:21 AM, Chunfeng Yun wrote: > Hi, > On Sat, 2017-07-15 at 14:11 +0200, Martin Blumenstingl wrote: >> Hi, >> >> On Sat, Jul 15, 2017 at 11:33 AM, Chunfeng Yun >> wrote: >> > Hi Martin, >> > >> > On Thu, 2017-07-13

Re: [PATCH v2 1/3] mux: Add mux_control_get_optional() API

2017-07-17 Thread Peter Rosin
Generally looks like I imagined, but there are a few nits and some things that I'd like to do differently. Comments inline. Thanks! On 2017-07-14 23:40, Stephen Boyd wrote: > Sometimes drivers only use muxes under certain scenarios. For > example, the chipidea usb controller may be connected to a

Re: PL2303 Linux driver (adding new chip version PID and GPIO)

2017-07-17 Thread Johan Hovold
On Fri, Jul 14, 2017 at 10:32:49AM +, Chu.Mike [朱堅宜] wrote: > 保密警語: > 本電子郵件內容及其附加檔案均視為機密資料,受保密合約保護或依法不得洩漏。其內容僅供指定收件人按限定範圍或特殊目的合法使用,未經授權者收到此信息均無權閱讀、使用、複製、洩漏或散佈。若您並非本郵件之指定收件人,請即刻回覆郵件並永久刪除此郵件及其附件和銷毀所有複印文件。電子郵件的傳輸可能遭攔截、損毀、遺失、破壞、遲到或不完整、或包含病毒,無法保證其安全或無誤。寄件人不承擔因本電子郵件的錯誤或遺漏所產生的任何損害賠償責任。 >

Re: [USB] f16443a034: EIP:arch_local_irq_restore

2017-07-17 Thread Felipe Balbi
Hi, Alan Stern writes: >> >> > On Thu, 29 Jun 2017, kernel test robot wrote: >> >> > >> >> >> FYI, we noticed the following commit: >> >> >> >> >> >> commit: f16443a034c7aa359ddf6f0f9bc40d01ca31faea ("USB: gadgetfs, >> >> >> dummy-hcd, net2280: fix locking for

Re: PL2303 Linux driver (adding new chip version PID and GPIO)

2017-07-17 Thread Johan Hovold
On Fri, Jul 14, 2017 at 12:47:29PM +0200, Greg Kroah-Hartman wrote: > On Fri, Jul 14, 2017 at 10:32:49AM +, Chu.Mike [朱堅宜] wrote: > > Hi Greg, > > > > This patch is for adding our new chip PL2303TB (UART, 12 GPIO, PWN) > > PID is 2304 and GPIO function codes. Attached is datasheet. Can you >

Re: [RFCv2 usb-next 0/3] initialize (multiple) PHYs in xhci-plat

2017-07-17 Thread Chunfeng Yun
Hi, On Sat, 2017-07-15 at 14:11 +0200, Martin Blumenstingl wrote: > Hi, > > On Sat, Jul 15, 2017 at 11:33 AM, Chunfeng Yun > wrote: > > Hi Martin, > > > > On Thu, 2017-07-13 at 12:59 +0200, Martin Blumenstingl wrote: > >> This series is the outcome of a discussion with