Re: [PATCH] USB: pl2303: add ids for Hewlett-Packard HP POS pole displays

2018-12-13 Thread Greg Kroah-Hartman
On Thu, Dec 13, 2018 at 01:08:08AM -0500, sc...@labau.com.tw wrote: > From: scott > > Add device ids to pl2303 for the HP POS pole displays: > LM920: 03f0:026b > TD620: 03f0:0956 > LD960TA: 03f0:4439 > LD220TA: 03f0:4349 > LM940: 03f0:5039 > > Signed-off-by: scott I doubt you sign legal

Re: [PATCH v1 1/2] dt-bindings: add binding for USBSS-DRD controller.

2018-12-13 Thread Peter Chen
On Tue, Dec 11, 2018 at 6:19 PM Roger Quadros wrote: > > Pawel, > > On 10/12/18 14:39, Pawel Laszczak wrote: > > This patch aim at documenting USB related dt-bindings for the > > Cadence USBSS-DRD controller. > > > > Signed-off-by: Pawel Laszczak > > --- > > .../devicetree/bindings/usb/cdns3-usb

Re: [PATCH] cdc-acm: fix abnormal DATA RX issue for Mediatek Preloader.

2018-12-13 Thread Oliver Neukum
On Do, 2018-12-13 at 11:27 +0800, macpaul@mediatek.com wrote: > From: Macpaul Lin > > Mediatek Preloader is a proprietary embedded boot loader for loading > Little Kernel and Linux into device DRAM. > > This boot loader also handle firmware updating. Mediatek Preloader will be > enumerated a

RE: [PATCH v1 1/2] dt-bindings: add binding for USBSS-DRD controller.

2018-12-13 Thread Pawel Laszczak
Hi, >On Tue, Dec 11, 2018 at 6:19 PM Roger Quadros wrote: >> >> Pawel, >> >> On 10/12/18 14:39, Pawel Laszczak wrote: >> > This patch aim at documenting USB related dt-bindings for the >> > Cadence USBSS-DRD controller. >> > >> > Signed-off-by: Pawel Laszczak >> > --- >> > .../devicetree/bindi

Re: [PATCH] cdc-acm: fix abnormal DATA RX issue for Mediatek Preloader.

2018-12-13 Thread Johan Hovold
On Thu, Dec 13, 2018 at 11:27:56AM +0800, macpaul@mediatek.com wrote: > From: Macpaul Lin > > Mediatek Preloader is a proprietary embedded boot loader for loading > Little Kernel and Linux into device DRAM. > > This boot loader also handle firmware updating. Mediatek Preloader will be > enum

Re: [PATCH] cdc-acm: fix abnormal DATA RX issue for Mediatek Preloader.

2018-12-13 Thread Oliver Neukum
On Do, 2018-12-13 at 10:43 +0100, Johan Hovold wrote: > On Thu, Dec 13, 2018 at 11:27:56AM +0800, macpaul@mediatek.com wrote: > > From: Macpaul Lin > > > > + /* handle active handshake triggered by device */ > > + if (quirks == DISABLE_ECHO) > > + acm_tty_driver->init_termios.c_

Re: [PATCH] cdc-acm: fix abnormal DATA RX issue for Mediatek Preloader.

2018-12-13 Thread Johan Hovold
On Thu, Dec 13, 2018 at 11:13:54AM +0100, Oliver Neukum wrote: > On Do, 2018-12-13 at 10:43 +0100, Johan Hovold wrote: > > On Thu, Dec 13, 2018 at 11:27:56AM +0800, macpaul@mediatek.com wrote: > > > From: Macpaul Lin > > > > > > + /* handle active handshake triggered by device */ > > > + if (

Re: [PATCH v2] USB: serial: option: add Fibocom NL668 series

2018-12-13 Thread Johan Hovold
On Wed, Dec 12, 2018 at 09:47:36PM +0100, Jörgen Storvist wrote: > Added USB serial option driver support for Fibocom NL668 series cellular > modules. Reserved USB endpoints 4, 5 and 6 for network + ADB interfaces. > > usb-devices output (QMI mode) > T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=

Re: [PATCH] usb: typec: tcpm: Extend the matching rules on PPS APDO selection

2018-12-13 Thread Kyle Tso
On Wed, Dec 12, 2018 at 6:15 PM Adam Thomson wrote: > > On 12 December 2018 02:47, Kyle Tso wrote: > > > On Mon, Dec 10, 2018 at 7:36 PM Adam Thomson > > wrote: > > > > > > On 10 December 2018 09:01, Adam Thomson wrote: > > > > > > > On 06 December 2018 03:02, Kyle Tso wrote: > > > > > > > > > Cu

Re: usb: CPU 100% hog upon device removal

2018-12-13 Thread Mathias Nyman
On 13.12.2018 00:15, Ju Hyung Park wrote: Hi, I've just tried out Ubuntu's kernel PPA and this issue is still there. At least I didn't screw something up on my personal builds. I've used the following for activating USB dynamic debug: echo "file drivers/usb/* +p" > /sys/kernel/debug/dynamic_deb

Re: usb: CPU 100% hog upon device removal

2018-12-13 Thread Mathias Nyman
On 13.12.2018 13:17, Mathias Nyman wrote: On 13.12.2018 00:15, Ju Hyung Park wrote: Hi, I've just tried out Ubuntu's kernel PPA and this issue is still there. At least I didn't screw something up on my personal builds. I've used the following for activating USB dynamic debug: echo "file driver

Re: [PATCH] USB: ehci-omap: Fix deferred probe for phy handling

2018-12-13 Thread Roger Quadros
Tony, On 13/12/18 04:17, Tony Lindgren wrote: > The only case where we can bail out safely without a phy is port_mode > is OMAP_USBHS_PORT_MODE_UNUSED. It used to be that OMAP_EHCI_PORT_MODE_PHY > was optional, but that's not a good assumption. We should already have > "ehci-phy" in all the dts fi

Re: [PATCH 4.19 014/110] usb: xhci: Prevent bus suspend if a port connect change or polling state is detected

2018-12-13 Thread Mathias Nyman
On 13.12.2018 09:36, Greg Kroah-Hartman wrote: On Wed, Dec 12, 2018 at 11:53:34PM +0100, Thomas Zeitlhofer wrote: Hello, On Thu, Nov 29, 2018 at 03:11:45PM +0100, Greg Kroah-Hartman wrote: 4.19-stable review patch. If anyone has any objections, please let me know. -- From: M

Re: [PATCH] USB: qcaux: Add Motorola modem UARTs

2018-12-13 Thread Johan Hovold
Hi Tony, Sorry for the late reply. On Thu, Dec 06, 2018 at 07:48:23AM -0800, Tony Lindgren wrote: > Hi, > > * Johan Hovold [181206 06:00]: > > On Wed, Dec 05, 2018 at 05:54:07PM -0800, Tony Lindgren wrote: > > Could you post the output for the two devices you have in "modem" mode? > > Yes co

Re: usb: thoughts of adding more support for FT232H

2018-12-13 Thread Johan Hovold
Hi Song, Sorry about the late reply. On Thu, Dec 06, 2018 at 02:02:21PM +0800, Song Qiang wrote: > > On 12/5/18 11:17 PM, Anatolij Gustschin wrote: > > Hi, > > > > On Wed, 5 Dec 2018 22:10:40 +0800 > > Song Qiang songqiang1304...@gmail.com wrote: > > ... > >> I've been developing some iio device

[PATCH] usb: gadget: Change Andrzej Pietrasiewicz's e-mail address

2018-12-13 Thread Andrzej Pietrasiewicz
My @samusung.com address is going to cease existing soon, so change it to an address which can actually be used to contact me. Signed-off-by: Andrzej Pietrasiewicz --- drivers/usb/gadget/function/u_ecm.h| 2 +- drivers/usb/gadget/function/u_eem.h| 2 +- drivers/usb/gadget

Re: [PATCH] USB: ehci-omap: Fix deferred probe for phy handling

2018-12-13 Thread Tony Lindgren
* Roger Quadros [181213 12:09]: > Tony, > > On 13/12/18 04:17, Tony Lindgren wrote: > > The only case where we can bail out safely without a phy is port_mode > > is OMAP_USBHS_PORT_MODE_UNUSED. It used to be that OMAP_EHCI_PORT_MODE_PHY > > was optional, but that's not a good assumption. We shoul

Re: [PATCH] USB: qcaux: Add Motorola modem UARTs

2018-12-13 Thread Tony Lindgren
* Johan Hovold [181213 12:46]: > On Thu, Dec 06, 2018 at 07:48:23AM -0800, Tony Lindgren wrote: > > Yes correct lsusb -v output below with five UARTs with ff/ff/ff and > > two QMI ports that are already handled with an earlier commit > > 4071898bf0f4 ("net: qmi_wwan: Add USB IDs for MDM6600 modem

[PATCH 2/4] usb: musb: jz4740: Add support for devicetree

2018-12-13 Thread Paul Cercueil
Add support for probing the driver from devicetree. Signed-off-by: Paul Cercueil --- drivers/usb/musb/jz4740.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/usb/musb/jz4740.c b/drivers/usb/musb/jz4740.c index 04d8b2bc205a..9a2cebcac260 100644 --- a/drivers/usb/musb/jz4740.c

[PATCH 3/4] usb: musb: jz4740: Drop dependency on MACH_JZ4740, use COMPILE_TEST

2018-12-13 Thread Paul Cercueil
Depending on MACH_INGENIC prevent us from creating a generic kernel that works on more than one MIPS board. Instead, we just depend on MIPS being set. On other architectures, this driver can still be built, thanks to COMPILE_TEST. This is used by automated tools to find bugs, for instance. Signed

[PATCH 4/4] usb: musb: jz4740: Drop dependency on USB_OTG_BLACKLIST_HUB

2018-12-13 Thread Paul Cercueil
The USB IP in the JZ4740 SoC does not support host mode, only gadget mode. Signed-off-by: Paul Cercueil --- drivers/usb/musb/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig index 6f5b0ed6a507..a884179bc3c0 100644 --- a/drivers/usb/mu

[PATCH 1/4] Documentation: dt: Add binding info for jz4740-musb driver

2018-12-13 Thread Paul Cercueil
This commit adds documentation for the device-tree bindings of the jz4740-musb driver, which provides support for the USB gadget mode of the JZ4740 and similar SoCs from Ingenic. Signed-off-by: Paul Cercueil --- .../bindings/usb/ingenic,jz4740-musb.txt | 24 ++ 1 fi

[PATCH v2] usb: ehci-omap: Fix deferred probe for phy handling

2018-12-13 Thread Roger Quadros
PHY model is being used on omap5 platforms even if port mode is not OMAP_EHCI_PORT_MODE_PHY. So don't guess if PHY is required or not based on PHY mode. If PHY is provided in device tree, it must be required. So, if devm_usb_get_phy_by_phandle() gives us an error code other than -ENODEV (no PHY) t

Re: [PATCH v2] usb: ehci-omap: Fix deferred probe for phy handling

2018-12-13 Thread Tony Lindgren
* Roger Quadros [181213 16:03]: > PHY model is being used on omap5 platforms even if port mode > is not OMAP_EHCI_PORT_MODE_PHY. So don't guess if PHY is required > or not based on PHY mode. > > If PHY is provided in device tree, it must be required. So, if > devm_usb_get_phy_by_phandle() gives u

Re: [PATCH v2] usb: ehci-omap: Fix deferred probe for phy handling

2018-12-13 Thread Alan Stern
On Thu, 13 Dec 2018, Roger Quadros wrote: > PHY model is being used on omap5 platforms even if port mode > is not OMAP_EHCI_PORT_MODE_PHY. So don't guess if PHY is required > or not based on PHY mode. > > If PHY is provided in device tree, it must be required. So, if > devm_usb_get_phy_by_phandle

[PATCH] usb: serial: option: add Telit LN940 series

2018-12-13 Thread Jörgen Storvist
Added USB serial option driver support for Telit LN940 series cellular modules. Covering both QMI and MBIM modes. usb-devices output (0x1900): T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 21 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=1bc7 ProdID=1900

Re: [PATCH] usb: serial: option: add Telit LN940 series

2018-12-13 Thread Johan Hovold
On Thu, Dec 13, 2018 at 05:32:08PM +0100, Jörgen Storvist wrote: > Added USB serial option driver support for Telit LN940 series cellular > modules. Covering both QMI and MBIM modes. Now applied, thanks! Johan

[PATCH] dt-bindings: usb: renesas_usbhs: Add r8a774c0 support

2018-12-13 Thread Fabrizio Castro
Document RZ/G2E (R8A774C0) SoC bindings. Signed-off-by: Fabrizio Castro --- Documentation/devicetree/bindings/usb/renesas_usbhs.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/renesas_usbhs.txt b/Documentation/devicetree/bindings/usb/renesas_usbhs.t

[PATCH] dt-bindings: usb-xhci: Add r8a774c0 support

2018-12-13 Thread Fabrizio Castro
Document RZ/G2E (R8A774C0) SoC bindings. Signed-off-by: Fabrizio Castro --- Documentation/devicetree/bindings/usb/usb-xhci.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/usb-xhci.txt b/Documentation/devicetree/bindings/usb/usb-xhci.txt index fea8b1

[PATCH] usb: gadget: udc: renesas_usb3: Add bindings for r8a774c0

2018-12-13 Thread Fabrizio Castro
Document RZ/G2E (R8A774C0) SoC bindings. Signed-off-by: Fabrizio Castro --- Documentation/devicetree/bindings/usb/renesas_usb3.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/renesas_usb3.txt b/Documentation/devicetree/bindings/usb/renesas_usb3.txt

[PATCH] usb: gadget: udc: renesas_usb3: add support for r8a774c0

2018-12-13 Thread Fabrizio Castro
RZ/G2E USB 3.0 implementation is like the one found on R-Car E3, therefore add the same quirk. Signed-off-by: Fabrizio Castro --- drivers/usb/gadget/udc/renesas_usb3.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/usb/gadget/udc/renesas_usb3.c b/drivers/usb/gadget/udc/renesas_

Re: [PATCH 4.19 014/110] usb: xhci: Prevent bus suspend if a port connect change or polling state is detected

2018-12-13 Thread Thomas Zeitlhofer
On Thu, Dec 13, 2018 at 02:24:14PM +0200, Mathias Nyman wrote: > On 13.12.2018 09:36, Greg Kroah-Hartman wrote: > > On Wed, Dec 12, 2018 at 11:53:34PM +0100, Thomas Zeitlhofer wrote: > > > Hello, > > > > > > On Thu, Nov 29, 2018 at 03:11:45PM +0100, Greg Kroah-Hartman wrote: > > > > 4.19-stable re

Re: [PATCH] usb: gadget: musb: fix short isoc packets with inventra dma for pandaboard es

2018-12-13 Thread Paul Elder
On Tue, Oct 09, 2018 at 02:32:20AM -0400, Paul Elder wrote: > Handling short packets (length < max packet size) in the Inventra DMA > engine in the MUSB driver causes the MUSB DMA controller to hang. An > example of a problem that is caused by this problem is when streaming > video out of a UVC gad

Re: [RFC PATCH v2 08/15] usb:cdns3: Implements device operations part of the API

2018-12-13 Thread Peter Chen
On Wed, Dec 12, 2018 at 3:49 AM Pawel Laszczak wrote: > > Hi, > > >On 10/12/18 7:42 AM, Peter Chen wrote: > +static struct usb_ep *cdns3_gadget_match_ep(struct usb_gadget *gadget, > + struct usb_endpoint_descriptor > *desc, > +

Re: [PATCH] cdc-acm: fix abnormal DATA RX issue for Mediatek Preloader.

2018-12-13 Thread Macpaul Lin
On Thu, 2018-12-13 at 11:18 +0100, Johan Hovold wrote: > On Thu, Dec 13, 2018 at 11:13:54AM +0100, Oliver Neukum wrote: > > On Do, 2018-12-13 at 10:43 +0100, Johan Hovold wrote: > > > On Thu, Dec 13, 2018 at 11:27:56AM +0800, macpaul@mediatek.com wrote: > > > > From: Macpaul Lin > > > > > > >

Re: [PATCH v1 2/2] usb:cdns3 Add Cadence USB3 DRD Driver

2018-12-13 Thread Kishon Vijay Abraham I
On 12/12/18 12:22 PM, Felipe Balbi wrote: > > Hi > > Pawel Laszczak writes: + cdns->phy = devm_phy_get(dev, "cdns3,usbphy"); + if (IS_ERR(cdns->phy)) { + ret = PTR_ERR(cdns->phy); + if (ret == -ENOSYS || ret == -ENODEV) { >>> >>> Are you sure you can ge

Re: [PATCH 4/6] usb: gadget: add functions to signal udc driver to delay status stage

2018-12-13 Thread Paul Elder
[snip] > > >> > Another thing we should do is give function drivers a way to send a > > >> > STALL response for the status stage. Currently there's no way to do > > >> > it, if a data stage is present. > > >> > > >> Status stage can only be stalled if host tries to move data on the wrong > > >>

RE: [PATCH] dt-bindings: usb: renesas_usbhs: Add r8a774c0 support

2018-12-13 Thread Yoshihiro Shimoda
Hi Fabrizio, > From: Fabrizio Castro, Sent: Friday, December 14, 2018 5:21 AM > > Document RZ/G2E (R8A774C0) SoC bindings. > > Signed-off-by: Fabrizio Castro Thank you for the patch! Reviewed-by: Yoshihiro Shimoda By the way, I'm not sure, but I'm wondering that we need to add .compatible r

RE: [RFC PATCH v2 08/15] usb:cdns3: Implements device operations part of the API

2018-12-13 Thread Pawel Laszczak
Hi, > >On Wed, Dec 12, 2018 at 3:49 AM Pawel Laszczak wrote: >> >> Hi, >> >> >On 10/12/18 7:42 AM, Peter Chen wrote: >> +static struct usb_ep *cdns3_gadget_match_ep(struct usb_gadget *gadget, >> + struct >> usb_endpoint_descriptor *desc, >> >

[PATCH] Add Proliic new chip: PL2303TB & PL2303N(G)

2018-12-13 Thread Charles Yeh
Hi Greg, The new patch file is attached: 0001-Add-Proliic-new-chip-PL2303TB-PL2303N-G.patch Please you kindly check... Thanks! Charles Greg KH 於 2018年12月6日 週四 下午4:19寫道: > > On Thu, Dec 06, 2018 at 03:47:46PM +0800, Charles Yeh wrote: > > Hi Greg, > > The patch file: diffpl2303.pat