Re: [PATCH] usb: dwc2: disable power_down on rockchip devices

2018-09-13 Thread Minas Harutyunyan
On 7/20/2018 7:25 AM, Hal Emmerich wrote: > From 04fbf78e4e569bf872f1ffcb0a6f9b89569dc913 Mon Sep 17 00:00:00 2001 > From: Hal Emmerich > Date: Thu, 19 Jul 2018 21:48:08 -0500 > Subject: [PATCH] usb: dwc2: disable power_down on rockchip devices > >  The bug would let the usb controller enter

Re: [PATCH v12 1/2] i2c: buses: add i2c bus driver for NVIDIA GPU

2018-09-13 Thread Peter Rosin
On 2018-09-13 00:22, Ajay Gupta wrote: > Hi Peter, > Can we get the working set in while the issues is being debugged? I'm not the one making the decision, and I don't even know if this is going through the i2c or the usb tree? If it's going through the i2c tree you need a tag from the usb people

Re: [PATCH] usb: dwc2: disable power_down on rockchip devices

2018-09-13 Thread Minas Harutyunyan
Hi, On 9/12/2018 7:21 PM, Urja Rannikko wrote: > Hi, ping? > > I just accidentally managed to replicate the work done here, though my > identification of the likely breaking commit was: > 03ea6d6e9e1ff1b0222eb723eee5990d3511cc4d ("usb: dwc2: Enable power down") > > If someone is wondering what

Re: [PATCH 1/1] usb: host: xhci-plat: add platform TPL support

2018-09-13 Thread Peter Chen
On Wed, Jul 18, 2018 at 2:45 PM Peter Chen wrote: > > The TPL support is used to identify targeted devices during > EH2.0 and EH3.0 certification test, the user can add "tpl-support" > at dts to enable this feature. > > Signed-off-by: Peter Chen > --- > drivers/usb/host/xhci-plat.c | 3 +++ > 1

Re: [PATCH 1/1] usb: host: xhci-plat: add platform TPL support

2018-09-13 Thread Mathias Nyman
On 13.09.2018 09:54, Peter Chen wrote: On Wed, Jul 18, 2018 at 2:45 PM Peter Chen wrote: The TPL support is used to identify targeted devices during EH2.0 and EH3.0 certification test, the user can add "tpl-support" at dts to enable this feature. Signed-off-by: Peter Chen ---

Re: [PATCH] usbcore: Select UAC3 configuration for audio if present

2018-09-13 Thread Oliver Neukum
On Di, 2018-09-11 at 23:36 +0530, saranya.go...@intel.com wrote: > @@ -121,6 +132,23 @@ int usb_choose_configuration(struct usb_device *udev) > #endif > } > > + /* > +* Select first configuration as default for audio so that > +*

[PATCH 04/10] usb: xhci-mtk: improve bandwidth scheduling

2018-09-13 Thread Mathias Nyman
From: Chunfeng Yun Mainly improve SuperSpeed ISOC bandwidth in last microframe, and LowSpeed/FullSpeed IN INT/ISOC bandwidth in split and idle microframes by introduing a bandwidth budget table; Signed-off-by: Chunfeng Yun Signed-off-by: Mathias Nyman --- drivers/usb/host/xhci-mtk-sch.c |

Re: [PATCH v12 1/2] i2c: buses: add i2c bus driver for NVIDIA GPU

2018-09-13 Thread Heikki Krogerus
Hi, On Thu, Sep 13, 2018 at 09:36:58AM +0200, Peter Rosin wrote: > On 2018-09-13 00:22, Ajay Gupta wrote: > > Hi Peter, > > Can we get the working set in while the issues is being debugged? > > I'm not the one making the decision, and I don't even know if this > is going through the i2c or the

[PATCH 08/10] usb: host: xhci-plat: add platform TPL support

2018-09-13 Thread Mathias Nyman
From: Peter Chen The TPL support is used to identify targeted devices during EH2.0 and EH3.0 certification test, the user can add "tpl-support" at dts to enable this feature. Signed-off-by: Peter Chen Signed-off-by: Mathias Nyman --- drivers/usb/host/xhci-plat.c | 3 +++ 1 file changed, 3

[PATCH 09/10] xhci: Use soft retry to recover faster from transaction errors

2018-09-13 Thread Mathias Nyman
Use soft retry to recover from a USB Transaction Errors that are caused by temporary error conditions. The USB device is not aware that the xHC has halted the endpoint, and will be waiting for another retry A Soft Retry perform additional retries and recover from an error which has caused the xHC

[PATCH 07/10] usb: typec: pci: Enable Intel USB role mux on Apollo Lake platforms

2018-09-13 Thread Mathias Nyman
From: Heikki Krogerus Intel Apollo Lake has the same internal USB role mux as Intel Cherry Trail. Signed-off-by: Heikki Krogerus Signed-off-by: Mathias Nyman --- drivers/usb/host/xhci-pci.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/xhci-pci.c

[PATCH 10/10] xhci-pci: allow host runtime PM as default for Intel Alpine and Titan Ridge

2018-09-13 Thread Mathias Nyman
The xhci controller on Alpine and Titan Ridge keeps the whole thunderbolt awake if the host controller is not allowed tp sleep. This is the case even if no USB devices are connected to the host. Because of this bigger impact, allow runtime pm as default for these xhci controllers in the driver.

[PATCH 01/10] usb: xhci-mtk: resume USB3 roothub first

2018-09-13 Thread Mathias Nyman
From: Chunfeng Yun Give USB3 devices a better chance to enumerate at USB3 speeds if they are connected to a suspended host. Porting from "671ffdff5b13 xhci: resume USB 3 roothub first" Signed-off-by: Chunfeng Yun Signed-off-by: Mathias Nyman --- drivers/usb/host/xhci-mtk.c | 4 ++-- 1 file

[PATCH 05/10] usb: xhci-mtk: supports bandwidth scheduling with multi-TT

2018-09-13 Thread Mathias Nyman
From: Chunfeng Yun Supports LowSpeed and FullSpeed INT/ISOC bandwidth scheduling with USB multi-TT Signed-off-by: Chunfeng Yun Signed-off-by: Mathias Nyman --- drivers/usb/host/xhci-mtk-sch.c | 247 ++-- drivers/usb/host/xhci-mtk.h | 21 2 files

[PATCH 02/10] usb: xhci-mtk: use maximum ESIT payload of endpiont context

2018-09-13 Thread Mathias Nyman
From: Chunfeng Yun Make use of maximum ESIT payload of endpoint context to calculate the number of packets to send in each ESIT Signed-off-by: Chunfeng Yun Signed-off-by: Mathias Nyman --- drivers/usb/host/xhci-mtk-sch.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-)

[PATCH 03/10] usb: xhci-mtk: fix ISOC error when interval is zero

2018-09-13 Thread Mathias Nyman
From: Chunfeng Yun If the interval equal zero, needn't round up to power of two for the number of packets in each ESIT, so fix it. Signed-off-by: Chunfeng Yun Signed-off-by: Mathias Nyman --- drivers/usb/host/xhci-mtk-sch.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH 06/10] usb: xhci-mtk: supports SSP without external USB3 gen2 hub

2018-09-13 Thread Mathias Nyman
From: Chunfeng Yun Supports SSP scheduling only for SSP device directly connected to root hub but not through external USB3 gen2 hub which need use a new scheduling way. Signed-off-by: Chunfeng Yun Signed-off-by: Mathias Nyman --- drivers/usb/host/xhci-mtk-sch.c | 17 +++-- 1

[PATCH 00/10] xhci features for usb-next

2018-09-13 Thread Mathias Nyman
Hi Greg A few new features for xhci, better transaction error handling, default runtime PM allowing for Intel Alpine and Tiran Ridge xhci controllers, and Mediatek related xhci improvements. -Mathias Chunfeng Yun (6): usb: xhci-mtk: resume USB3 roothub first usb: xhci-mtk: use maximum ESIT

Inaccessible dual-role port on CherryTrail

2018-09-13 Thread Rob Weber
Hi linux-usb, I'm currently bringing up a custom board that uses a CherryTrail processor and I'm having quite a bit of trouble accessing the dual-role port from Linux. Our system includes two USB 3.0-capable ports with Type-C connectors. One port is designed to be a host-only port

RE: [PATCH v12 1/2] i2c: buses: add i2c bus driver for NVIDIA GPU

2018-09-13 Thread Ajay Gupta
Hi Heikki and Peter, > > > Can we get the working set in while the issues is being debugged? > > > > I'm not the one making the decision, and I don't even know if this is > > going through the i2c or the usb tree? If it's going through the i2c > > tree you need a tag from the usb people (Greg?)