Re: [PATCH 1/4] usb: Add Aspeed SoC USB controllers to device-tree

2017-06-26 Thread Benjamin Herrenschmidt
On Mon, 2017-06-26 at 12:45 +0300, Sergei Shtylyov wrote: > > > arch/arm/boot/dts/aspeed-g4.dtsi | 15 +++ > > arch/arm/boot/dts/aspeed-g5.dtsi | 22 ++ > > 2 files changed, 37 insertions(+) > > If the patch only changes .dtsi files, the subject needs to

Re: [PATCH 1/4] usb: Add Aspeed SoC USB controllers to device-tree

2017-06-26 Thread Sergei Shtylyov
On 06/26/2017 05:46 PM, Benjamin Herrenschmidt wrote: arch/arm/boot/dts/aspeed-g4.dtsi | 15 +++ arch/arm/boot/dts/aspeed-g5.dtsi | 22 ++ 2 files changed, 37 insertions(+) If the patch only changes .dtsi files, the subject needs to be smth like "ARM:

Re: [bug report] usbip: vhci-hcd: Set the vhci structure up to work

2017-06-26 Thread Shuah Khan
Hi Yuyang Du, On 06/26/2017 12:14 AM, Yuyang Du wrote: > Sorry. CC related people. > > On Mon, Jun 26, 2017 at 12:04:54PM +0800, Yuyang Du wrote: >> Hi Dan, >> >> Thanks for the report. A patch to fix the bug follows: >> >> diff --git a/drivers/usb/usbip/vhci_hcd.c b/drivers/usb/usbip/vhci_hcd.c

Re: [PATCH 2/5] dt-bindings: phy-hisi-inno-usb2: add support for hisi-inno-usb2 phy

2017-06-26 Thread Rob Herring
On Wed, Jun 21, 2017 at 05:00:42PM +0800, Jiancheng Xue wrote: > Add support for hisi-inno-usb2 phy. > > Signed-off-by: Jiancheng Xue > --- > .../devicetree/bindings/phy/phy-hisi-inno-usb2.txt | 36 > ++ > 1 file changed, 36 insertions(+) >

BUG: usb: dwc2: gadget: DTXFSTSn are actually endpoint indexed

2017-06-26 Thread Jimmy Perchet
Hello, According to DWC2 databook( 3.20a in my case), DTXFSTSn registers are indexed by endpoint number. This can be verified by comparing "fifo" and "regdump" in debugfs (as long as the configuration is not trivial). Therefore, in my humble opinion, the commit ad674a1524 ("usb: dwc2: gadget:

Re: [PATCH v3 1/1] usb:host:xhci support option to disable the xHCI USB2 HW LPM

2017-06-26 Thread Rob Herring
On Fri, Jun 23, 2017 at 10:02:12AM +0700, Thang Q. Nguyen wrote: > XHCI specification 1.1 does not require xHCI-compliant controllers > to always enable hardware USB2 LPM. However, the current xHCI > driver always enable it when seeing HLC=1. > This patch supports an option for users to control

[PATCH] net: usb: asix88179_178a: Add support for the Belkin B2B128

2017-06-26 Thread Andrew F. Davis
The Belkin B2B128 is a USB 3.0 Hub + Gigabit Ethernet Adapter, the Ethernet adapter uses the ASIX AX88179 USB 3.0 to Gigabit Ethernet chip supported by this driver, add the USB ID for the same. This patch is based on work by Geoffrey Tran who has indicated they would

Re: Linux USB-Serial and DSR flow control

2017-06-26 Thread Zaerc
Thanks Johan! TL;DR: I'm delighted to report that it *does* work with 4.12.0-rc7 Below I've tried to answer your questions best as I could, probably moot now but it's the least I can do for wasting your time on something that was already fixed. And if you think it could be useful, I'd be

Re: [PATCH 2/3] usb: gadget: f_uac*: Reduce code duplication

2017-06-26 Thread kbuild test robot
Hi Julian, [auto build test ERROR on balbi-usb/next] [also build test ERROR on next-20170626] [cannot apply to v4.12-rc7] [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/Julian-Scheel/usb-gadget

[PATCH] usb: host: ohci-pxa27x: Handle return value of clk_prepare_enable

2017-06-26 Thread Arvind Yadav
clk_prepare_enable() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- Changes in v3: Change log correction. Add change log below '---'. Changes in v2: Remove useless initialization of retval.

[PATCH v4] usb: host: ohci-pxa27x: Handle return value of clk_prepare_enable

2017-06-26 Thread Arvind Yadav
clk_prepare_enable() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- drivers/usb/host/ohci-pxa27x.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/usb/host/ohci-pxa27x.c

Re: Linux USB-Serial and DSR flow control

2017-06-26 Thread Johan Hovold
On Sun, Jun 25, 2017 at 08:44:02PM +0200, Zaerc wrote: > Hello everyone, > > Sorry to bother you, I'll try to keep it brief. I am making an > USB-serial adapter using an Atmel (Microchip) ATMega16u2 with a LUFA > based firmware, which gives me a nice working ttyACM0 device. > > However I am

Re: [PATCH 4/4] usb/gadget: Add driver for Aspeed SoC virtual hub

2017-06-26 Thread Benjamin Herrenschmidt
midt/usb-Add-Aspeed-SoC-USB-controllers-to-device-tree/20170626-124044 > base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git > for-next > config: tile-allyesconfig (attached as .config) > compiler: tilegx-linux-gcc (GCC) 4.6.2 > reproduce: > wget > h

[PATCH 3/3] usb: gadget: f_uac*: Support multiple sampling rates

2017-06-26 Thread Julian Scheel
Implement support for multiple sampling rates in the USB Audio gadgets. A list of sampling rates can be specified via configfs. All enabled sampling rates are sent to the USB host on request. When the host selects a sampling rate the internal active rate is updated. The currently configured rates

[PATCH 2/3] usb: gadget: f_uac*: Reduce code duplication

2017-06-26 Thread Julian Scheel
This replaces the dedicated headers for uac1 and uac2 functions with a shared header for both of them. Apart from unifying the struct names, further duplicated code for configfs setup is moved out of the function files into the shared header. Signed-off-by: Julian Scheel ---

[PATCH 0/3] USB Audio Gadget: Support multiple sampling rates

2017-06-26 Thread Julian Scheel
This patch series adds support for exposing multiple supported sampling rates from UAC1 and UAC2 USB gadgets to the connected host. It is currently limited to up to ten discrete sampling frequencies. The USB specification does not actually limit this, but to avoid complex list handling I am using

[PATCH 1/3] usb: gadget: f_uac1: Fix endpoint reading

2017-06-26 Thread Julian Scheel
The endpoint is stored in the lower byte of wIndex, according to USB Audio 1.0 specification, section 5.2.1.1. Signed-off-by: Julian Scheel --- drivers/usb/gadget/function/f_uac1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: BUG: Soft lockup calling xhci_free_streams in 4.12-rc6 when USB-C hub and SSD is connected

2017-06-26 Thread Mathias Nyman
On 26.06.2017 05:56, rocko r wrote: Just to follow up, I've had no kernel lockups with that patch applied. Great, Thanks I'll make a proper patch out of it and send it forward -Mathias -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to

Re: [bug report] usbip: vhci-hcd: Set the vhci structure up to work

2017-06-26 Thread Yuyang Du
Sorry. CC related people. On Mon, Jun 26, 2017 at 12:04:54PM +0800, Yuyang Du wrote: > Hi Dan, > > Thanks for the report. A patch to fix the bug follows: > > diff --git a/drivers/usb/usbip/vhci_hcd.c b/drivers/usb/usbip/vhci_hcd.c > index 64c3860..2c4b2fd 100644 > ---

Re: [PATCH 1/4] usb: Add Aspeed SoC USB controllers to device-tree

2017-06-26 Thread Sergei Shtylyov
Hello. On 6/25/2017 11:18 PM, Benjamin Herrenschmidt wrote: Now that the necessary tweaks for the Aspeed variant of UHCI are supported, this adds the USB controllers to the DT template of the AST24xx and AST25xx SoCs. The EHCI works with the current unmodified driver. This patch doesn't