[PATCH v11 1/3] dt-bindings: Add a binding for Mediatek xHCI host controller

2015-10-18 Thread Chunfeng Yun
add a DT binding documentation of xHCI host controller for the MT8173 SoC from Mediatek. Signed-off-by: Chunfeng Yun --- .../devicetree/bindings/usb/mt8173-xhci.txt| 51 ++ 1 file changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/mt81

[PATCH v11 0/3] Mediatek xHCI support

2015-10-18 Thread Chunfeng Yun
>From 1c6e0dd39074297ebb0714c1d44a3e0dc9af466c Mon Sep 17 00:00:00 2001 From: Chunfeng Yun Date: Mon, 19 Oct 2015 14:13:45 +0800 Subject: [PATCH v11 0/3] Mediatek xHCI support The patch supports MediaTek's xHCI controller. There are some differences from xHCI spec: 1. The interval is specified i

[PATCH v11 2/3] xhci: mediatek: support MTK xHCI host controller

2015-10-18 Thread Chunfeng Yun
There some vendor quirks for MTK xhci host controller: 1. It defines some extra SW scheduling parameters for HW to minimize the scheduling effort for synchronous and interrupt endpoints. The parameters are put into reseved DWs of slot context and endpoint context. 2. Its IMODI unit for Interr

[PATCH v11 3/3] arm64: dts: mediatek: add xHCI & usb phy for mt8173

2015-10-18 Thread Chunfeng Yun
add xHCI and phy drivers for MT8173-EVB Signed-off-by: Chunfeng Yun --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 16 +++ arch/arm64/boot/dts/mediatek/mt8173.dtsi| 42 + 2 files changed, 58 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt817

Re: [PATCH v10 2/3] xhci: mediatek: support MTK xHCI host controller

2015-10-18 Thread chunfeng yun
On Sun, 2015-10-18 at 11:51 +0800, Chunfeng Yun wrote: > There some vendor quirks for MTK xhci host controller: > 1. It defines some extra SW scheduling parameters for HW > to minimize the scheduling effort for synchronous and > interrupt endpoints. The parameters are put into reseved > DWs o

Re: [PATCH v10 3/3] arm64: dts: mediatek: add xHCI & usb phy for mt8173

2015-10-18 Thread chunfeng yun
On Sun, 2015-10-18 at 14:01 +0300, Sergei Shtylyov wrote: > Hello. > > On 10/18/2015 6:51 AM, Chunfeng Yun wrote: > > > add xHCI and phy drivers for MT8173-EVB > > > > Signed-off-by: Chunfeng Yun > > [...] > > > diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi > > b/arch/arm64/boot/dts/m

Re: Udoo support for chipidea

2015-10-18 Thread Peter Chen
On Sat, Oct 17, 2015 at 10:38:28AM +0200, Patryk Kowalczyk wrote: > Hi, > I have had problem with udoo boot since commit > 73dea4a912b2bfe955305de4891018f9e71e399d > "usb: chipidea: usbmisc_imx: delete clock information" > > Unfortunately for udoo usb controller we need information > about

Re: [PATCH v2 1/1] usb: misc: usbtest: add bulk queue test

2015-10-18 Thread Peter Chen
On Fri, Oct 16, 2015 at 11:40:00PM -0700, Greg KH wrote: > On Tue, Oct 13, 2015 at 03:18:21PM +0800, Peter Chen wrote: > > The bulk queue tests are used to show 'best performance' for bulk > > transfer, we are often asked this question by users. The implementation > > is the same with iso test, tha

Re: [PATCH] net: asix: add support for the Billionton GUSB2AM-1G-B USB adapter

2015-10-18 Thread David Miller
From: changch...@gmail.com Date: Fri, 16 Oct 2015 02:00:21 +0800 > From: Chia-Sheng Chang > > Just another AX88178-based 10/100/1000 USB-to-Ethernet dongle. This one > shows up in lsusb as: "ID 08dd:0114 Billionton Systems, Inc". > > Signed-off-by: Chia-Sheng Chang > Cc: "David S. Miller" Ap

Re: [PATCH v2 6/6] usb: bcma: fix setting VCC GPIO value

2015-10-18 Thread kbuild test robot
Hi Rafał, [auto build test ERROR on usb/usb-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Hauke-Mehrtens/usb-bcma-add-USB-3-0-support/20151019-050806 config: x86_64-randconfig-s3-10190655 (attached

[PATCH v2 6/6] usb: bcma: fix setting VCC GPIO value

2015-10-18 Thread Hauke Mehrtens
From: Rafał Miłecki It wasn't working (on most of devices?) without setting GPIO direction and wasn't respecting ACTIVE_LOW flag. Signed-off-by: Rafał Miłecki Signed-off-by: Hauke Mehrtens --- drivers/usb/host/bcma-hcd.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) dif

[PATCH v2 3/6] usb: bcma: make helper creating platform dev more generic

2015-10-18 Thread Hauke Mehrtens
From: Rafał Miłecki Having "bool ohci" argument bounded us to two cases only and didn't allow re-using this code for XHCI. Signed-off-by: Rafał Miłecki Signed-off-by: Hauke Mehrtens --- drivers/usb/host/bcma-hcd.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-

[PATCH v2 0/6] usb: bcma: add USB 3.0 support

2015-10-18 Thread Hauke Mehrtens
This patch adds support for the USB 3.0 controller in the bcm53xx Northstar SoC. These patches are based on top of usb-next. Hauke Mehrtens (1): usb: xhci: plat: fix adding usb3-lpm-capable quirk Rafał Miłecki (5): usb: xhci: add Broadcom specific fake doorbell usb: bcma: make helper creati

[PATCH v2 1/6] usb: xhci: plat: fix adding usb3-lpm-capable quirk

2015-10-18 Thread Hauke Mehrtens
The xhci->quirks member is overwritten in xhci_gen_setup() with the quirks given through the module load parameter. Without this patch the usb3-lpm-capable quirk will be over written before it gets used. This patch moves the quirks code to the xhci_plat_quirks() callback function which gets called

[PATCH v2 5/6] usb: bcma: add USB 3.0 support

2015-10-18 Thread Hauke Mehrtens
From: Rafał Miłecki Signed-off-by: Rafał Miłecki Signed-off-by: Hauke Mehrtens --- drivers/usb/host/bcma-hcd.c | 225 1 file changed, 225 insertions(+) diff --git a/drivers/usb/host/bcma-hcd.c b/drivers/usb/host/bcma-hcd.c index 0b4d0e8..32815e6 10

[PATCH v2 2/6] usb: xhci: add Broadcom specific fake doorbell

2015-10-18 Thread Hauke Mehrtens
From: Rafał Miłecki This fixes problem with controller seeing devices only in some small percentage of cold boots. This quirk is also added to the platform data so we can activate it when we register our platform driver. Signed-off-by: Rafał Miłecki Signed-off-by: Hauke Mehrtens --- drivers/u

[PATCH v2 4/6] usb: bcma: use separated function for USB 2.0 initialization

2015-10-18 Thread Hauke Mehrtens
From: Rafał Miłecki This will allow adding USB 3.0 (XHCI) support cleanly. Signed-off-by: Rafał Miłecki Signed-off-by: Hauke Mehrtens --- drivers/usb/host/bcma-hcd.c | 51 +++-- 1 file changed, 35 insertions(+), 16 deletions(-) diff --git a/drivers/usb

Re: [GIT PULL] On-demand device probing

2015-10-18 Thread Mark Brown
On Sun, Oct 18, 2015 at 12:37:57PM -0700, Greg Kroah-Hartman wrote: > On Sun, Oct 18, 2015 at 08:29:31PM +0100, Mark Brown wrote: > > On Fri, Oct 16, 2015 at 11:57:50PM -0700, Greg Kroah-Hartman wrote: > > > I can't see adding calls like this all over the tree just to solve a > > > bus-specific pr

Re: [GIT PULL] On-demand device probing

2015-10-18 Thread Mark Brown
On Sat, Oct 17, 2015 at 08:47:09AM -0700, Greg Kroah-Hartman wrote: > On Sat, Oct 17, 2015 at 10:04:55AM -0500, Rob Herring wrote: > > I think Linus W, Mark B, and I all said a similar thing initially in > > that dependencies should be handled in the driver core. We went down > > the path of makin

Re: [GIT PULL] On-demand device probing

2015-10-18 Thread Greg Kroah-Hartman
On Sun, Oct 18, 2015 at 08:29:31PM +0100, Mark Brown wrote: > On Fri, Oct 16, 2015 at 11:57:50PM -0700, Greg Kroah-Hartman wrote: > > > I can't see adding calls like this all over the tree just to solve a > > bus-specific problem, you are adding of_* calls where they aren't > > needed, or wanted,

Re: [GIT PULL] On-demand device probing

2015-10-18 Thread Mark Brown
On Fri, Oct 16, 2015 at 11:57:50PM -0700, Greg Kroah-Hartman wrote: > I can't see adding calls like this all over the tree just to solve a > bus-specific problem, you are adding of_* calls where they aren't > needed, or wanted, at all. This isn't bus specific, I'm not sure what makes you say that

Re: [PATCH 2/6] usb: xhci: add Broadcom specific fake doorbell

2015-10-18 Thread kbuild test robot
Hi Rafał, [auto build test WARNING on usb/usb-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Hauke-Mehrtens/usb-bcma-add-USB-3-0-support/20151019-015012 reproduce: # apt-get install sparse

[PATCH 6/6] usb: bcma: fix setting VCC GPIO value

2015-10-18 Thread Hauke Mehrtens
From: Rafał Miłecki It wasn't working (on most of devices?) without setting GPIO direction and wasn't respecting ACTIVE_LOW flag. Signed-off-by: Rafał Miłecki --- drivers/usb/host/bcma-hcd.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers/usb/host/bcma

[PATCH 1/6] usb: xhci: plat: fix adding usb3-lpm-capable quirk

2015-10-18 Thread Hauke Mehrtens
The xhci->quirks member is overwritten in xhci_gen_setup() with the quirks given through the module load parameter. Without this patch the usb3-lpm-capable quirk will be over written before it gets used. This patch moves the quirks code to the xhci_plat_quirks() callback function which gets called

[PATCH 4/6] usb: bcma: use separated function for USB 2.0 initialization

2015-10-18 Thread Hauke Mehrtens
From: Rafał Miłecki This will allow adding USB 3.0 (XHCI) support cleanly. Signed-off-by: Rafał Miłecki --- drivers/usb/host/bcma-hcd.c | 51 +++-- 1 file changed, 35 insertions(+), 16 deletions(-) diff --git a/drivers/usb/host/bcma-hcd.c b/drivers/usb/

[PATCH 5/6] usb: bcma: add USB 3.0 support

2015-10-18 Thread Hauke Mehrtens
From: Rafał Miłecki Signed-off-by: Rafał Miłecki --- drivers/usb/host/bcma-hcd.c | 225 1 file changed, 225 insertions(+) diff --git a/drivers/usb/host/bcma-hcd.c b/drivers/usb/host/bcma-hcd.c index 0b4d0e8..32815e6 100644 --- a/drivers/usb/host/bcm

[PATCH 3/6] usb: bcma: make helper creating platform dev more generic

2015-10-18 Thread Hauke Mehrtens
From: Rafał Miłecki Having "bool ohci" argument bounded us to two cases only and didn't allow re-using this code for XHCI. Signed-off-by: Rafał Miłecki --- drivers/usb/host/bcma-hcd.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/drivers/usb/hos

[PATCH 2/6] usb: xhci: add Broadcom specific fake doorbell

2015-10-18 Thread Hauke Mehrtens
From: Rafał Miłecki This fixes problem with controller seeing devices only in some small percentage of cold boots. This quirk is also added to the platform data so we can activate it when we register our platform driver. Signed-off-by: Rafał Miłecki Signed-off-by: Hauke Mehrtens --- drivers/u

[PATCH 0/6] usb: bcma: add USB 3.0 support

2015-10-18 Thread Hauke Mehrtens
This patch adds support for the USB 3.0 controller in the bcm53xx Northstar SoC. These patches are based on top of 4.3-rc5. Hauke Mehrtens (1): usb: xhci: plat: fix adding usb3-lpm-capable quirk Rafał Miłecki (5): usb: xhci: add Broadcom specific fake doorbell usb: bcma: make helper creatin

[PATCH 9/9] usb: gadget: fix a trivial typo

2015-10-18 Thread Geliang Tang
s/regsiter/register/ Signed-off-by: Geliang Tang --- drivers/usb/gadget/udc/pch_udc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/udc/pch_udc.c b/drivers/usb/gadget/udc/pch_udc.c index 3181fc9..7a04157 100644 --- a/drivers/usb/gadget/udc/pch_udc.c +++ b

Re: [USB] [UVC] LeapMotion recognized as UVC device problem

2015-10-18 Thread Alan Stern
On Sun, 18 Oct 2015 f...@risertech.eu wrote: > Hello, > > I have a device called LeapMotion, which is basically comprised of 2 > UVC cameras. I was able to get a working user-space stream using > libusb and now I am working on creating a kernel module, because it > will give me more control

[USB] [UVC] LeapMotion recognized as UVC device problem

2015-10-18 Thread flow
Hello, I have a device called LeapMotion, which is basically comprised of 2 UVC cameras. I was able to get a working user-space stream using libusb and now I am working on creating a kernel module, because it will give me more control over the URBs. In order to get the actual stream from

Re: [PATCH v10 3/3] arm64: dts: mediatek: add xHCI & usb phy for mt8173

2015-10-18 Thread Sergei Shtylyov
Hello. On 10/18/2015 6:51 AM, Chunfeng Yun wrote: add xHCI and phy drivers for MT8173-EVB Signed-off-by: Chunfeng Yun [...] diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index d18ee42..46f5f50 100644 --- a/arch/arm64/boot/dts/mediatek/mt