[PATCH v4 3/3] usb: host: xhci: plat: integrate the platform-roothub

2017-09-03 Thread Martin Blumenstingl
This enables the platform-roothub for the xhci-plat driver. This allows specifying a PHY for each port via devicetree. All PHYs will then be enabled/disabled by the platform-roothub driver. One example where this is required is the Amlogic GXL and GXM SoCs: They are using a dwc3 USB controller wit

[PATCH v4 1/3] dt-bindings: usb: add the documentation for USB root-hub

2017-09-03 Thread Martin Blumenstingl
A USB root-hub may have several PHYs which need to be configured before the root-hub starts working. This adds the documentation for such a USB root-hub as well as a hint regarding the child-nodes on XHCI controllers which can include the roothub. Signed-off-by: Martin Blumenstingl Acked-by: Rob

[PATCH v4 2/3] usb: host: add a generic platform USB roothub driver

2017-09-03 Thread Martin Blumenstingl
Many SoC platforms have separate devices for the USB PHY which are registered through the generic PHY framework. These PHYs have to be enabled to make the USB controller actually work. They also have to be disabled again on shutdown/suspend. Currently (at least) the following HCI platform drivers

[PATCH v4 0/3] initialize (multiple) PHYs in xhci-plat

2017-09-03 Thread Martin Blumenstingl
This series is the outcome of a discussion with Felipe Balbi, see [0] and [1]. The quick-summary of this is: - dwc3 already takes one USB2 and one USB3 PHY and initializes these correct - some other HCI platform drivers (like ehci-platform.c, xhci-mtk.c and ohci-platform.c) do not have a limita

Re: [PATCH 27/31] usb/gadget/snps_udc_core: Move timer initialization earlier

2017-09-03 Thread Michal Nazarewicz
On Thu, Aug 31 2017, Kees Cook wrote: > With timer initialization made earlier at the start, there is no reason > to make del_timer_sync() calls conditionally, there by removing the > assignments and tests of the .data field. > > Cc: Felipe Balbi > Cc: Greg Kroah-Hartman > Cc: Raviteja Garimella

[PATCH] USB: serial: cp210x: add support for ELV TFD500

2017-09-03 Thread Andreas Engel
Add the USB device id for the ELV TFD500 data logger. Signed-off-by: Andreas Engel --- drivers/usb/serial/cp210x.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c index 2d945c9f975c..bd8574ca32aa 100644 --- a/drivers/usb/serial/cp210x