Re: [PATCH 0/3] Propagate DP-over-Type-C hotplug events from Type-C subsys to drm-drivers

2019-03-04 Thread Hans de Goede
Hi, On 04-03-19 16:17, Heikki Krogerus wrote: Hi Hans, On Thu, Feb 28, 2019 at 05:54:21PM +0100, Hans de Goede wrote: Hi Heikki, On 28-02-19 15:47, Heikki Krogerus wrote: Hi Hans, On Thu, Feb 28, 2019 at 12:24:25PM +0100, Hans de Goede wrote: Hi, On 28-02-19 10:15, Heikki Krogerus wrote:

RE: [PATCH v2 2/2] usb: typec: add typec switch via GPIO control

2019-03-04 Thread Jun Li
Hi Andy, > -Original Message- > From: Andy Shevchenko > Sent: 2019年3月3日 0:27 > To: Jun Li > Cc: robh...@kernel.org; heikki.kroge...@linux.intel.com; > gre...@linuxfoundation.org; hdego...@redhat.com; linux-usb@vger.kernel.org; > devicet...@vger.kernel.org; dl-linux-imx > Subject: Re: [P

RE: [PATCH 1/2] usb: chipiea: add flags for id and vbus from external block

2019-03-04 Thread Jun Li
Hi Peter, > -Original Message- > From: Peter Chen > Sent: 2019年3月1日 11:04 > To: Jun Li > Cc: gre...@linuxfoundation.org; linux-usb@vger.kernel.org; dl-linux-imx > > Subject: RE: [PATCH 1/2] usb: chipiea: add flags for id and vbus from > external block > > > > > > > > > > > > drivers/

Re: [PATCH v3 04/12] usb: dwc3: Add splitdisable quirk for Hisilicon Kirin Soc

2019-03-04 Thread kbuild test robot
Hi Yu, Thank you for the patch! Yet something to improve: [auto build test ERROR on balbi-usb/next] [also build test ERROR on v5.0 next-20190304] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits

Re: [PATCH] usb: introduce usb_ep_type_string() function

2019-03-04 Thread Chunfeng Yun
Hi, On Fri, 2019-03-01 at 17:21 +0100, Greg Kroah-Hartman wrote: > On Fri, Mar 01, 2019 at 02:58:23PM +0800, Chunfeng Yun wrote: > > In some places, the code prints a human-readable USB endpoint > > transfer type (e.g. "bulk"). This involves a switch statement > > sometimes wrapped around in ({ ...

RE: [PATCH v4 5/6] usb:cdns3 Add Cadence USB3 DRD Driver

2019-03-04 Thread Chunfeng Yun
Hi, On Mon, 2019-03-04 at 11:01 +, Pawel Laszczak wrote: > Hi, > > > >hi, > >On Thu, 2019-02-14 at 19:45 +, Pawel Laszczak wrote: > >> This patch introduce new Cadence USBSS DRD driver to linux kernel. > >> > >> The Cadence USBSS DRD Driver is a highly configurable IP Core whichi > >> can

Re: [PATCH v5 1/6] dt-bindings: usb: musb: Add support for MediaTek musb controller

2019-03-04 Thread Min Guo
Hi Rob, On Mon, 2019-03-04 at 11:42 -0600, Rob Herring wrote: > On Sun, Feb 24, 2019 at 7:36 PM Min Guo wrote: > > > > Hi Rob, > > On Fri, 2019-02-22 at 10:49 -0600, Rob Herring wrote: > > > On Tue, Feb 19, 2019 at 03:36:30PM +0800, min@mediatek.com wrote: > > > > From: Min Guo > > > > > > >

Re: [PATCH] [v2]USB:serial:pl2303:add new Pull-Up mode to support PL2303HXD (TYPE_HX)

2019-03-04 Thread Charles Yeh
Hi Johan, Do you have time to review the two patch? Johan Hovold 於 2019年2月19日 週二 下午4:51寫道: > > On Tue, Feb 19, 2019 at 02:41:28PM +0800, Charles Yeh wrote: > > Hi Johan & Greg, > > > > > > Do you have received a new patch"[PATCH] [v2]USB:serial:pl2303:add new > > Pull-Up mode to support PL2

Re: [PATCH v3 04/12] usb: dwc3: Add splitdisable quirk for Hisilicon Kirin Soc

2019-03-04 Thread kbuild test robot
Hi Yu, Thank you for the patch! Yet something to improve: [auto build test ERROR on balbi-usb/next] [also build test ERROR on v5.0 next-20190304] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits

Re: [PATCH] USB: usb.h: tweak struct urb to remove wasted space

2019-03-04 Thread Oliver Neukum
On Sa, 2019-03-02 at 15:36 +0100, Greg Kroah-Hartman wrote: > On Sat, Mar 02, 2019 at 02:51:41PM +0100, Oliver Neukum wrote: > > On Sa, 2019-03-02 at 09:00 +0100, Greg Kroah-Hartman wrote: > > > On Fri, Mar 01, 2019 at 08:44:13PM +0100, Oliver Neukum wrote: > > > > On Fr, 2019-03-01 at 18:22 +0100,

Re: [PATCH v5 1/6] dt-bindings: usb: musb: Add support for MediaTek musb controller

2019-03-04 Thread Rob Herring
On Sun, Feb 24, 2019 at 7:36 PM Min Guo wrote: > > Hi Rob, > On Fri, 2019-02-22 at 10:49 -0600, Rob Herring wrote: > > On Tue, Feb 19, 2019 at 03:36:30PM +0800, min@mediatek.com wrote: > > > From: Min Guo > > > > > > This adds support for MediaTek musb controller in > > > host, peripheral and

Re: [regression] USB power management failure to suspend / high CPU usage

2019-03-04 Thread Eric Blau
On Mon, Feb 25, 2019 at 5:11 PM Ivan Mironov wrote: > > It fixes the suspend problem from the kernel side, but there is another > one: starting with the second suspend, XHCI controller wakes up the > system just after few seconds after suspending. Laptop keeps looping > through suspend/resume whil

Re: [xhci-hcd][linux 4.20.13] autosuspend on causes a single cpu core to stay in kernel mode using 100% of said cpu core.

2019-03-04 Thread Farelka kek
bugs.archlinux.org/task/61682?getfile=17197 I forgot here's perf.data.xz that I gathered pon., 4 mar 2019 o 16:51 Farelka kek napisał(a): > > Ups I just realised I didn't sent the message to the mailing list, but > instead send it to greg only; > Basically the problem was happening a month ago o

Re: [xhci-hcd][linux 4.20.13] autosuspend on causes a single cpu core to stay in kernel mode using 100% of said cpu core.

2019-03-04 Thread Farelka kek
Ups I just realised I didn't sent the message to the mailing list, but instead send it to greg only; Basically the problem was happening a month ago on version 4.20.7 ,I have reported it to my distros bug report but I didn't got any response about it. It was consistent on every reboot and shutdown.

Re: [PATCH 0/3] Propagate DP-over-Type-C hotplug events from Type-C subsys to drm-drivers

2019-03-04 Thread Heikki Krogerus
Hi Hans, On Thu, Feb 28, 2019 at 05:54:21PM +0100, Hans de Goede wrote: > Hi Heikki, > > On 28-02-19 15:47, Heikki Krogerus wrote: > > Hi Hans, > > > > On Thu, Feb 28, 2019 at 12:24:25PM +0100, Hans de Goede wrote: > > > Hi, > > > > > > On 28-02-19 10:15, Heikki Krogerus wrote: > > > > > > >

Re: [regression] USB power management failure to suspend / high CPU usage

2019-03-04 Thread Mathias Nyman
On 26.2.2019 0.11, Ivan Mironov wrote: On Wed, 2019-02-20 at 19:28 +0200, Mathias Nyman wrote: On 14.2.2019 20.04, Eric Blau wrote: On Thu, Feb 14, 2019 at 9:56 AM Mathias Nyman wrote: Thanks for looking into this, Mathias. Now that you point this out, on older kernels where suspend and resum

Re: Linux Kernel - problem

2019-03-04 Thread Mathias Nyman
On 4.3.2019 14.17, Cezary Lenkiewicz wrote: Hello, I have problem with Euphony system - this is linux for audio. I talking with Euphony support but they say that the problem is in the linux kernel. Please show my conversation with euphony: https://euphony-audio.com/hesk/ticket.php?track=T4N-M6

[PATCH] usb: dwc2: Set lpm mode parameters depend on HW configuration

2019-03-04 Thread Minas Harutyunyan
If core not supported lpm, i.e. BCM2835 then confusing warnings seen in log. To avoid these warnings, added function dwc2_set_param_lpm() to set lpm and other lpm related parameters based on lpm support by core. Signed-off-by: Minas Harutyunyan --- drivers/usb/dwc2/params.c | 23 +++

RE: [PATCH v4 5/6] usb:cdns3 Add Cadence USB3 DRD Driver

2019-03-04 Thread Pawel Laszczak
>From: Pawel Laszczak >Sent: Monday, March 4, 2019 12:02 PM >To: Chunfeng Yun >Cc: devicet...@vger.kernel.org; gre...@linuxfoundation.org; >felipe.ba...@linux.intel.com; mark.rutl...@arm.com; linux- >u...@vger.kernel.org; hdego...@redhat.com; heikki.kroge...@linux.intel.com; >andy.shevche...@gma

Linux Kernel problem - euphony logs

2019-03-04 Thread ROBUD
Euphony logs logs.tar.gz Description: application/gzip

Re: [xhci-hcd][linux 4.20.13] autosuspend on causes a single cpu core to stay in kernel mode using 100% of said cpu core.

2019-03-04 Thread Mathias Nyman
On 3.3.2019 16.30, Greg KH wrote: On Sun, Mar 03, 2019 at 03:15:27PM +0100, Farelka kek wrote: usbcore.autosuspend higher than -1, causes 1 cpu core to never step down from kernel mode. Some hardware does not aupport autosuspend, so leaving it at -1 is good. It happens on a core i5-7200U lap

Re: [PATCH v3 00/12] Add support for usb on Hikey960

2019-03-04 Thread Valentin Schneider
Hi, On 02/03/2019 09:04, Yu Chen wrote: > The patchset adds support for usb functionality of Hikey960, includes: > - dwc3 driver for Hisilicon Kirin Soc hi3660 > - usb driver for HiKey960 board > - some adjustment in dwc3, usb gadget and typec driver > - dts for support usb of HiKey960 > > This p

RE: [PATCH v4 5/6] usb:cdns3 Add Cadence USB3 DRD Driver

2019-03-04 Thread Pawel Laszczak
Hi, > >hi, >On Thu, 2019-02-14 at 19:45 +, Pawel Laszczak wrote: >> This patch introduce new Cadence USBSS DRD driver to linux kernel. >> >> The Cadence USBSS DRD Driver is a highly configurable IP Core whichi >> can be instantiated as Dual-Role Device (DRD), Peripheral Only and >> Host Only (

[PATCH v2 0/8] arm64: meson: Add support for USB on Amlogic G12A

2019-03-04 Thread Neil Armstrong
This patchset adds support for USB on Amlogic G12A SoCs. This patchset is composed with : - bindings of the PHYs - bindings of the USB Control Glue - PHY Drivers - USB Control Glue driver Device Tree nodes will be added in a separate patchset. The Amlogic G12A USB Complex is composed of : - 2 US

[PATCH v2 3/8] dt-bindings: usb: dwc2: Add Amlogic G12A DWC2 Compatible

2019-03-04 Thread Neil Armstrong
Adds the specific compatible string for the DWC2 IP found in the Amlogic G12A SoC Family. Signed-off-by: Neil Armstrong Reviewed-by: Martin Blumenstingl Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/usb/dwc2.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation

[PATCH v2 2/8] dt-bindings: phy: Add Amlogic G12A USB3+PCIE Combo PHY Bindings

2019-03-04 Thread Neil Armstrong
Add the Amlogic G12A Family USB3 + PCIE Combo PHY Bindings. This PHY can provide exclusively USB3 or PCIE support on shared I/Os. Signed-off-by: Neil Armstrong Reviewed-by: Martin Blumenstingl --- .../bindings/phy/meson-g12a-usb3-pcie-phy.txt | 22 +++ 1 file changed, 22 insert

[PATCH v2 1/8] dt-bindings: phy: Add Amlogic G12A USB2 PHY Bindings

2019-03-04 Thread Neil Armstrong
Add the Amlogic G12A Family USB2 OTG PHY Bindings The PHY can work in host or peripheral modes depending on it's position. Configuration of the mode is part of the USBCTRL registers which are outside of the PHY registers. Signed-off-by: Neil Armstrong Reviewed-by: Martin Blumenstingl Reviewed-b

[PATCH v2 4/8] dt-bindings: usb: dwc3: Add Amlogic G12A DWC3 Glue Bindings

2019-03-04 Thread Neil Armstrong
Adds the bindings for the Amlogic G12A USB Glue HW. The Amlogic G12A SoC Family embeds 2 USB Controllers : - a DWC3 IP configured as Host for USB2 and USB3 - a DWC2 IP configured as Peripheral USB2 Only A glue connects these both controllers to 2 USB2 PHYs, and optionnally to an USB3+PCIE Combo P

[PATCH v2 5/8] phy: amlogic: add Amlogic G12A USB2 PHY Driver

2019-03-04 Thread Neil Armstrong
This adds support for the USB2 PHY found in the Amlogic G12A SoC Family. It supports Host and/or Peripheral mode, depending on it's position. The first PHY is only used as Host, but the second supports Dual modes defined by the USB Control Glue HW in front of the USB Controllers. Signed-off-by: N

[PATCH v2 8/8] usb: dwc3: Add Amlogic G12A DWC3 glue

2019-03-04 Thread Neil Armstrong
Adds support for Amlogic G12A USB Control Glue HW. The Amlogic G12A SoC Family embeds 2 USB Controllers : - a DWC3 IP configured as Host for USB2 and USB3 - a DWC2 IP configured as Peripheral USB2 Only A glue connects these both controllers to 2 USB2 PHYs, and optionnally to an USB3+PCIE Combo PH

[PATCH v2 7/8] usb: dwc2: Add Amlogic G12A DWC2 Params

2019-03-04 Thread Neil Armstrong
This patchs sets the params for the DWC2 Controller found in the Amlogic G12A SoC family. It mainly sets the settings reported incorrect by the driver, leaving the remaining detected automatically by the driver and provided by the DT node. Signed-off-by: Neil Armstrong --- drivers/usb/dwc2/para

[PATCH v2 6/8] phy: amlogic: Add Amlogic G12A USB3 + PCIE Combo PHY Driver

2019-03-04 Thread Neil Armstrong
This adds support for the shared USB3 + PCIE PHY found in the Amlogic G12A SoC Family. It supports USB3 Host mode or PCIE 2.0 mode, depending on the layout of the board. Selection is done by the #phy-cells, making the mode static and exclusive. Signed-off-by: Neil Armstrong --- drivers/phy/aml

Re: [PATCH v4 6/6] usb:cdns3 Fix for stuck packets in on-chip OUT buffer.

2019-03-04 Thread Roger Quadros
Hi, On 21/02/2019 09:14, Felipe Balbi wrote: > > Hi, > > (please break your emails at 80-columns) > > Pawel Laszczak writes: One more thing. Workaround has implemented algorithm that decide for which endpoint it should be enabled. e.g for composite device MSC+NCM+ACM it should

Re: [PATCH 8/8] usb: dwc3: Add Amlogic G12A DWC3 glue

2019-03-04 Thread Neil Armstrong
Hi, On 02/03/2019 11:29, Martin Blumenstingl wrote: > Hi Neil, > >>> +static int dwc3_meson_g12a_debugfs_init(struct dwc3_meson_g12a *priv) >>> +{ >>> + priv->root = debugfs_create_dir("dwc3-meson-g12a", NULL); >>> + if (IS_ERR(priv->root)) >>> + return PTR_ERR(priv->roo

RE: [PATCH v4 5/6] usb:cdns3 Add Cadence USB3 DRD Driver

2019-03-04 Thread Pawel Laszczak
Hi, > >On Thu, Feb 14, 2019 at 07:45:13PM +, Pawel Laszczak wrote: >> This patch introduce new Cadence USBSS DRD driver to linux kernel. > >Nit, "Linux" :) > >> The Cadence USBSS DRD Driver is a highly configurable IP Core whichi > >"whichi"? > >> can be instantiated as Dual-Role Device (DRD)