[GIT PULL] USB fixes for v4.20-rc4

2018-11-29 Thread Felipe Balbi
Hi Greg, here's my second pull request for the current -rc cycle. Looks like things are really calm this merge window. Let me know if you want anything to be changed. cheers The following changes since commit 2e6e902d185027f8e3cb8b7305238f7e35d6a436: Linux 4.20-rc4 (2018-11-25 14:19:31 -080

Re: Support Mac address pass through on Dell DS1000 dock

2018-11-29 Thread Frédéric Parrenin
Le 27/11/2018 à 21:27, mario.limoncie...@dell.com a écrit : Le 27/11/2018 à 16:19, mario.limoncie...@dell.com a écrit : Some news from today. I realized that I was not always restarting the computer when changing the Mac pass-through setting in the BIOS. Sometimes I was just hibernating, and

Re: [GIT PULL] USB fixes for v4.20-rc4

2018-11-29 Thread Greg Kroah-Hartman
On Thu, Nov 29, 2018 at 12:26:29PM +0200, Felipe Balbi wrote: > > Hi Greg, > > here's my second pull request for the current -rc cycle. Looks like > things are really calm this merge window. > > Let me know if you want anything to be changed. > > cheers > > The following changes since commit 2

RE: Support Mac address pass through on Dell DS1000 dock

2018-11-29 Thread Mario.Limonciello
> I tried with your patch but the Mac address pass-through still does not > work with the usbc adaptor, so it probably does not support it. > > So I will buy a Dell one, it should work. > > Thanks anyway. Frédéric OK, sounds good. Oliver, That debugging patch that provided to Frédéric, would y

RE: [PATCH v3 4/4] doc: usb: ci-hdrc-usb2: Add pinctrl properties for HSIC pin groups

2018-11-29 Thread PETER CHEN
> > On Tue, Nov 27, 2018 at 7:31 AM PETER CHEN wrote: > > > > For USB HSIC, the data and strobe pin needs to be pulled down at > > default, we consider it as "idle" state. When the USB host is ready to > > be used, the strobe pin needs to be pulled up, we consider it as > > "active" state. > >

RE: [PATCH v3 3/4] usb: chipidea: host: override ehci->hub_control

2018-11-29 Thread PETER CHEN
> On 27.11.18 10:30, PETER CHEN wrote: > > The chipidea controller has some special requirements during > > suspend/resume, override common ehci->hub_control to implement it. > > > > Signed-off-by: Peter Chen > > Tested on i.MX6S with Microchip LAN9730 USB HSIC Ethernet Controller. > I have som

RE: [PATCH] usb: chipidea: imx: Allow OC polarity active low

2018-11-29 Thread PETER CHEN
> > The implementation for setting the over current polarity has always been the > over- > current-active-high property. The problem with this is there is no way to > enable > over current active low polarity since the default state of the register bit > that controls > the over current pola

Re: [PATCH] [stable, netdev 4.4+] lan78xx: make sure RX_ADDRL & RX_ADDRH regs are always up to date

2018-11-29 Thread Greg KH
On Fri, Nov 09, 2018 at 12:31:59PM +0100, Paolo Pisati wrote: > On Thu, Nov 08, 2018 at 10:49:04AM -0500, Sasha Levin wrote: > > > > Can you confirm it actually works on 4.4? > > Yes, built and tested on 4.4.y: > > Tested-by: Paolo Pisati Now queued up, thanks. greg k-h

RE: [PATCH V6 01/10] usb: gadget: udc: Add timer for stream capable endpoints

2018-11-29 Thread Felipe Balbi
Hi, Anurag Kumar Vulisha writes: >>> diff --git a/drivers/usb/gadget/udc/core.c b/drivers/usb/gadget/udc/core.c >>> index af88b48..41cc23b 100644 >>> --- a/drivers/usb/gadget/udc/core.c >>> +++ b/drivers/usb/gadget/udc/core.c >>> @@ -52,6 +52,24 @@ static int udc_bind_to_driver(struct usb_udc *u

Re: [PATCH] [stable, netdev 4.4+] lan78xx: make sure RX_ADDRL & RX_ADDRH regs are always up to date

2018-11-29 Thread Greg KH
On Thu, Nov 08, 2018 at 10:49:04AM -0500, Sasha Levin wrote: > On Thu, Nov 08, 2018 at 12:01:27PM +0100, Paolo Pisati wrote: > > On Wed, Nov 07, 2018 at 07:17:51PM -0500, Sasha Levin wrote: > > > So why not just take 760db29bdc completely? It looks safer than taking a > > > partial backport, and wi

Re: [PATCH 1/2] USB: serial: mos7840: Adjust port settings for read and write registers

2018-11-29 Thread Johan Hovold
On Thu, Nov 29, 2018 at 02:51:36PM +0800, JackyChou wrote: > > From: JackyChou > > In the read/write function, set port 2 independently in the 2-port case. > > When setting the offset of port registers, the offset between port 1 and > other ports is different, so port 1 is set independently. >

RE: [PATCH V6 01/10] usb: gadget: udc: Add timer for stream capable endpoints

2018-11-29 Thread Anurag Kumar Vulisha
Hi Felipe, >-Original Message- >From: Felipe Balbi [mailto:ba...@kernel.org] >Sent: Thursday, November 29, 2018 6:22 PM >To: Anurag Kumar Vulisha ; Greg Kroah-Hartman >; Alan Stern ; Johan >Hovold ; Jaejoong Kim ; Benjamin >Herrenschmidt ; Roger Quadros >Cc: linux-usb@vger.kernel.org; lin

RE: [RFC PATCH v2 07/15] usb:cdns3: Adds Device mode support - initialization.

2018-11-29 Thread PETER CHEN
> Roger Quadros writes: > >> +static void cdns3_gadget_config(struct cdns3_device *priv_dev) { > >> + struct cdns3_usb_regs __iomem *regs = priv_dev->regs; > >> + > >> + cdns3_ep0_config(priv_dev); > >> + > >> + /* enable interrupts for endpoint 0 (in and out) */ > >> + writel(EP_IEN_EP_OUT0

RE: [RFC PATCH v2 07/15] usb:cdns3: Adds Device mode support - initialization.

2018-11-29 Thread Pawel Laszczak
Hi, >> Roger Quadros writes: >> >> +static void cdns3_gadget_config(struct cdns3_device *priv_dev) { >> >> + struct cdns3_usb_regs __iomem *regs = priv_dev->regs; >> >> + >> >> + cdns3_ep0_config(priv_dev); >> >> + >> >> + /* enable interrupts for endpoint 0 (in and out) */ >> >> + writel(EP_IEN_

[PATCH 1/2 v4] USB: serial: mos7840: Adjust port settings for read and write registers

2018-11-29 Thread Jackychou
From: JackyChou In the read/write function, set port 2 independently in the 2-port case. When setting the offset of port registers, the offset between port 1 and other ports is different, so port 1 is set independently. Then in the rest of ports, the port 2 between 2-ports case and 4-ports case

[PATCH 2/2 v4] USB: serial: mos7840: Add a product ID for the new product

2018-11-29 Thread Jackychou
From: JackyChou Add a new PID 0x7843 to the driver. Let the new products be able to set up 3 serial ports with the driver. Signed-off-by: JackyChou --- drivers/usb/serial/mos7840.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/usb/serial/mos7840.c b/dri

RE: [RFC PATCH v2 02/15] usb:cdns3: Device side header file.

2018-11-29 Thread PETER CHEN
> + > +/* > + * USBSS-DEV register interface. > + * This corresponds to the USBSS Device Controller Interface */ > +/** > + * struct xhci_cap_regs - xHCI Host Controller Capability Registers. struct cdns3_usb_regs - device controller registers > +struct cdns3_device; > + > +struct cdns3_endp

Re: [RFC PATCH v2 04/15] usb:cdns3: Driver initialization code.

2018-11-29 Thread Peter Chen
On Sun, Nov 18, 2018 at 6:16 PM Pawel Laszczak wrote: > > Patch adds core.c and core.h file that implements initialization > of platform driver and adds function responsible for selecting, > switching and running appropriate Device/Host mode. > > Signed-off-by: Pawel Laszczak > --- > drivers/usb