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

2018-09-14 Thread Greg KH
On Thu, Sep 13, 2018 at 03:23:54PM +0300, Mathias Nyman wrote: > 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 >

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

2018-09-14 Thread Greg KH
On Thu, Sep 13, 2018 at 03:24:00PM +0300, Mathias Nyman wrote: > 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

Re: [PATCH 1/3] usb: xhci: tegra: Firmware header is little endian

2018-09-14 Thread Greg KH
On Fri, Sep 14, 2018 at 03:33:29PM +0300, Mathias Nyman wrote: > From: Thierry Reding > > The XUSB firmware header is in little endian byte order, so make the > fields __le32 and __le16 instead of u32 and u16 to avoid warnings from > sparse when the fields are used with the endian-aware

Re: [PATCH 3/3] xhci: Add missing CAS workaround for Intel Sunrise Point xHCI

2018-09-14 Thread Greg KH
On Fri, Sep 14, 2018 at 03:33:31PM +0300, Mathias Nyman wrote: > The workaround for missing CAS bit is also needed for xHC on Intel > sunrisepoint PCH. For more details see: > > Intel 100/c230 series PCH specification update Doc #332692-006 Errata #8 > > Signed-off-by: Mathias Nyman > --- >

Re: [PATCH 2/3] xhci: Avoid USB autosuspend when resuming USB2 ports.

2018-09-14 Thread Greg KH
On Fri, Sep 14, 2018 at 03:33:30PM +0300, Mathias Nyman wrote: > From: Anshuman Gupta > > When USB bus host controller root hub resumes from autosuspend, > it immediately tries to enter auto-suspend, but there can be a > scenario when root hub is resuming its usb2 ports, in that particular >

[PATCH 3/3] xhci: Add missing CAS workaround for Intel Sunrise Point xHCI

2018-09-14 Thread Mathias Nyman
The workaround for missing CAS bit is also needed for xHC on Intel sunrisepoint PCH. For more details see: Intel 100/c230 series PCH specification update Doc #332692-006 Errata #8 Signed-off-by: Mathias Nyman --- drivers/usb/host/xhci-pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 0/3] xhci fixes for usb-linus

2018-09-14 Thread Mathias Nyman
Hi Greg A few xhci fixes for usb-linus, two powermanagenet related tunings, and one xhci tegra sparse warning fix. -Mathias Anshuman Gupta (1): xhci: Avoid USB autosuspend when resuming USB2 ports. Mathias Nyman (1): xhci: Add missing CAS workaround for Intel Sunrise Point xHCI Thierry

[PATCH 2/3] xhci: Avoid USB autosuspend when resuming USB2 ports.

2018-09-14 Thread Mathias Nyman
From: Anshuman Gupta When USB bus host controller root hub resumes from autosuspend, it immediately tries to enter auto-suspend, but there can be a scenario when root hub is resuming its usb2 ports, in that particular case USB host controller auto suspend fails since it is busy to resuming its

[PATCH 1/3] usb: xhci: tegra: Firmware header is little endian

2018-09-14 Thread Mathias Nyman
From: Thierry Reding The XUSB firmware header is in little endian byte order, so make the fields __le32 and __le16 instead of u32 and u16 to avoid warnings from sparse when the fields are used with the endian-aware __le32_to_cpu() and __le16_to_cpu() accessors, respectively. Signed-off-by:

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

2018-09-14 Thread Gopal, Saranya
Hi Oliver, > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Oliver Neukum > Sent: Thursday, September 13, 2018 4:37 PM > To: Gopal, Saranya ; linux-usb@vger.kernel.org > Cc: K V, Abhilash ; Balaji, M ; > Regupathy,

Re: Inaccessible dual-role port on CherryTrail

2018-09-14 Thread Heikki Krogerus
Hi Rob, Adding Hans. Hans has become something of a Cherry Trail expert. On Thu, Sep 13, 2018 at 03:40:12PM -0700, Rob Weber wrote: > 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 >

Re: Inaccessible dual-role port on CherryTrail

2018-09-14 Thread Rob Weber
On Fri, Sep 14, 2018 at 09:00:30AM +0200, Greg KH wrote: > > I'm running a 4.9.115 kernel built using Yocto with a few patches applied > > to enable HDMI audio. > > 4.9 is really old by now, and lots and lots of USB-C and dwc3 and xhci > changes have happened in the almost 2 years since that

Re: Inaccessible dual-role port on CherryTrail

2018-09-14 Thread Greg KH
On Thu, Sep 13, 2018 at 03:40:12PM -0700, Rob Weber wrote: > 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