Re: Bus noise periodically causes ci_hdrc IRQ lockup

2019-02-24 Thread Alan Stern
On Sat, 23 Feb 2019, Chandler Griscom wrote: > Yesterday I found this repeated message by enabling dynamic debugging > for the chipidea and ehci modules; it might reveal something about > where it gets stuck: > >  ci_hdrc ci_hdrc.0: IAA watchdog: status ce088 cmd 10075 That seems to > line up w

[PATCH v1] usb: chipidea: tegra: Fix missed ci_hdrc_remove_device()

2019-02-24 Thread Dmitry Osipenko
The ChipIdea's platform device need to be unregistered on Tegra's driver module removal. Fixes: dfebb5f43a78827a ("usb: chipidea: Add support for Tegra20/30/114/124") Signed-off-by: Dmitry Osipenko --- drivers/usb/chipidea/ci_hdrc_tegra.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drive

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

2019-02-24 Thread Martin Blumenstingl
Hi Neil, On Tue, Feb 12, 2019 at 4:16 PM Neil Armstrong wrote: > > 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

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

2019-02-24 Thread Martin Blumenstingl
Hi Neil, On Tue, Feb 12, 2019 at 4:15 PM Neil Armstrong wrote: [...] > + > +Example device nodes: > + usb: usb@ffe09000 { > + compatible = "amlogic,meson-g12a-usb-ctrl"; > + reg = <0x0 0xffe09000 0x0 0xa0>; > + interrupts = ;

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

2019-02-24 Thread Martin Blumenstingl
Hi Neil, thank you for working on this! I have few questions and comments below, but overall it looks good :) On Tue, Feb 12, 2019 at 4:17 PM Neil Armstrong wrote: > > Adds support for Amlogic G12A USB Control Glue HW. > > The Amlogic G12A SoC Family embeds 2 USB Controllers : > - a DWC3 IP conf

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

2019-02-24 Thread Min Guo
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 otg mode. > > > > Signed-off-by: Min Guo > > --- > > changes

RE: [PATCH v1] usb: chipidea: tegra: Fix missed ci_hdrc_remove_device()

2019-02-24 Thread Peter Chen
> > Fixes: dfebb5f43a78827a ("usb: chipidea: Add support for Tegra20/30/114/124") I suppose you need to apply at stable tree too, right? > Signed-off-by: Dmitry Osipenko > --- > drivers/usb/chipidea/ci_hdrc_tegra.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/usb/chipide

RE: Bus noise periodically causes ci_hdrc IRQ lockup

2019-02-24 Thread Peter Chen
> On 2/23/19 3:17 AM, Greg KH wrote: > > On Fri, Feb 22, 2019 at 10:43:17AM -0500, Chandler Griscom wrote: > >> Hello, > >> > >> I am encountering an issue where noise on USB devices is causing the > >> host ci_hdrc driver to stall. The system contains an i.MX6 board > >> (UDOO) connected to a U

Re: [PATCH v1] usb: chipidea: tegra: Fix missed ci_hdrc_remove_device()

2019-02-24 Thread Dmitry Osipenko
В Mon, 25 Feb 2019 02:27:19 + Peter Chen пишет: > > > > > Fixes: dfebb5f43a78827a ("usb: chipidea: Add support for > > Tegra20/30/114/124") > > I suppose you need to apply at stable tree too, right? > It is enough to have the "Fixes" tag to get patch backported into all relevant kerne

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

2019-02-24 Thread Jun Li
Add 2 flags for id and vbus if the state is from external blocks instead of OTG block inside of USB controller. Signed-off-by: Li Jun --- drivers/usb/chipidea/core.c | 2 ++ include/linux/usb/chipidea.h | 4 2 files changed, 6 insertions(+) diff --git a/drivers/usb/chipidea/core.c b/drive

[PATCH 2/2] usb: chipidea: imx: enable vbus and id wakeup only for OTG events

2019-02-24 Thread Jun Li
If ID or VBUS is from external block, don't enable its wakeup because it isn't used at all. Signed-off-by: Li Jun --- drivers/usb/chipidea/ci_hdrc_imx.c | 6 ++ drivers/usb/chipidea/ci_hdrc_imx.h | 2 ++ drivers/usb/chipidea/usbmisc_imx.c | 17 - 3 files changed, 24 inserti

[PATCH 1/2] dt-bindings: usb: add documentation for typec switch via GPIO

2019-02-24 Thread Jun Li
Some typec super speed active channel switch can be controlled via a GPIO, this binding can be used to specify the switch node by a GPIO and the remote endpoint of its consumre. Signed-off-by: Li Jun --- .../devicetree/bindings/usb/typec-switch-gpio.txt | 30 ++ 1 file chang

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

2019-02-24 Thread Jun Li
This patch adds a simple typec switch driver which only needs a GPIO to switch the super speed active channel according to typec orientation. Signed-off-by: Li Jun --- drivers/usb/typec/mux/Kconfig | 6 +++ drivers/usb/typec/mux/Makefile | 1 + drivers/usb/typec/mux/gpio-switch.c