Re: [RFC 1/8] usb: gadget: f_uvc: fix potential memory leak

2014-03-07 Thread Sebastian Andrzej Siewior
On 02/28/2014 10:32 AM, Andrzej Pietrasiewicz wrote: If uvc-control_buf is successfuly allocated but uvc-control_req is not, uvc-control_buf is not freed in the error recovery path. With this patch applied uvc-control_buf is freed unconditionally; if it happens to be NULL kfree on it is safe

Re: [PATCH v3] phy: omap-control: update dra7 and am437 usb2 Documentation bindings

2014-03-07 Thread Kishon Vijay Abraham I
Hi, On Thursday 06 March 2014 09:33 PM, Felipe Balbi wrote: From: Roger Quadros rog...@ti.com The dra7-usb2 and am437-usb2 bindings have not yet been used. Change them to be more elegant. Acked-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Roger Quadros rog...@ti.com Signed-off-by:

Re: [PATCH v4] phy: omap-control: update dra7 and am437 usb2 Documentation bindings

2014-03-07 Thread Kishon Vijay Abraham I
On Friday 07 March 2014 01:55 PM, Kishon Vijay Abraham I wrote: From: Felipe Balbi ba...@ti.com From: Roger Quadros rog...@ti.com There seems to be some problem with this patch. Pls ignore this. Thanks Kishon The dra7-usb2 and am437-usb2 bindings have not yet been used. Change them to be

[PATCH v4] phy: omap-control: update dra7 and am437 usb2 bindings

2014-03-07 Thread Kishon Vijay Abraham I
From: Roger Quadros rog...@ti.com The dra7-usb2 and am437-usb2 bindings have not yet been used. Change them to be more elegant. Signed-off-by: Roger Quadros rog...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Changes from v3: Changed the compatible value to that suggested by

Re: [PATCH v3] phy: omap-control: update dra7 and am437 usb2 Documentation bindings

2014-03-07 Thread Roger Quadros
Hi Felipe, On 03/06/2014 06:03 PM, Felipe Balbi wrote: From: Roger Quadros rog...@ti.com The dra7-usb2 and am437-usb2 bindings have not yet been used. Change them to be more elegant. Acked-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Roger Quadros rog...@ti.com Signed-off-by:

Re: [PATCH 0/2] target refcounting infrastructure fixes for usb

2014-03-07 Thread James Bottomley
On Thu, 2014-03-06 at 15:18 -0800, Sarah Sharp wrote: Hi James, Sorry for the extremely late ack. That's OK ... my original plan was to send them in the last merge window even without your ack, but that got a bit derailed, so I'll do it in this one with. These patches work fine when

[RESEND] [PATCH] xhci: Switch Intel Lynx Point ports to EHCI on shutdown.

2014-03-07 Thread Denis Turischev
The same issue like with Panther Point chipsets. If the USB ports are switched to xHCI on shutdown, the xHCI host will send a spurious interrupt, which will wake the system. Some BIOS have work around for this, but not all. One example is Compulab's mini-desktop, the Intense-PC2. The bug can be

[PATCH v3 6/8] ARM: dts: omap5: add sata node

2014-03-07 Thread Roger Quadros
From: Balaji T K balaj...@ti.com Add support for sata. [Roger Q] Clean up. CC: Benoit Cousson bcous...@baylibre.com CC: Tony Lindgren t...@atomide.com Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 40

[PATCH v3 8/8] ARM: dts: dra7: add OCP2SCP3 and SATA nodes

2014-03-07 Thread Roger Quadros
From: Balaji T K balaj...@ti.com Add nodes for OCP2SCP3 bus, SATA controller and SATA PHY. [Roger Q] Clean up. CC: Benoit Cousson bcous...@baylibre.com Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7.dtsi | 39

[PATCH v3 7/8] ARM: DRA7: hwmod: Add ocp2scp3 and sata hwmods

2014-03-07 Thread Roger Quadros
From: Nikhil Devshatwar nikhil...@ti.com Add hwmods for ocp2scp3 and sata modules. [Roger Q] Clean up. CC: Benoit Cousson bcous...@baylibre.com CC: Paul Walmsley p...@pwsan.com Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by: Nikhil Devshatwar nikhil...@ti.com Signed-off-by: Roger

[PATCH v3 3/8] phy: ti-pipe3: Add SATA compatible to Documentation binding

2014-03-07 Thread Roger Quadros
SATA PHY needs a new compatible ID. Add it to the DT binding documentation. Acked-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- Documentation/devicetree/bindings/phy/ti-phy.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH v3 5/8] ARM: OMAP5: hwmod: Add ocp2scp3 and sata hwmods

2014-03-07 Thread Roger Quadros
From: Keshava Munegowda keshava_mgo...@ti.com Create hwmods for ocp2scp3 and sata modules. [Roger Q] Clean up. CC: Benoit Cousson bcous...@baylibre.com CC: Paul Walmsley p...@pwsan.com CC: Tony Lindgren t...@atomide.com Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by: Roger Quadros

[PATCH v3 4/8] ARM: dts: omap5: Add clocks to USB3 PHY node

2014-03-07 Thread Roger Quadros
The USB3 PHY driver now expects named clocks. Add the relevant clocks to the USB3 PHY node. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index

[PATCH v3 2/8] phy: ti-pipe3: Add clocks to PIPE3 PHY Documentation binding

2014-03-07 Thread Roger Quadros
Add wakeup, system and reference clocks to DT binding documentation. Acked-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- Documentation/devicetree/bindings/phy/ti-phy.txt | 12 1 file changed, 12 insertions(+) diff --git

[PATCH v3 1/8] phy: omap-control: update dra7 and am437 usb2 Documentation bindings

2014-03-07 Thread Roger Quadros
The dra7-usb2 and am437-usb2 bindings have not yet been used. Change them to be more elegant. Acked-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- Documentation/devicetree/bindings/phy/ti-phy.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: BUG: USB Reset-Resume Mechanism does not work for runtime resume

2014-03-07 Thread Oliver Neukum
On Thu, 2014-03-06 at 10:43 -0500, Alan Stern wrote: On Thu, 6 Mar 2014, Oliver Neukum wrote: This is extremely tricky, almost academical a question. We cannot fall back to reset_resume() in this case without very bad consequences. If remote wakeup is needed, reset_resume() must

[patch 1/2] usb: dwc3: gadget: cut and paste fixups in suspend/resume

2014-03-07 Thread Dan Carpenter
These were cut and paste from the -disconnect function. Fixes: 30d577b9bcc4 ('usb: dwc3: gadget: call gadget driver's -suspend/-resume') Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index eaf853721fec..95b9eae05617

[patch 2/2] usb: dwc3: gadget: remove known conditions

2014-03-07 Thread Dan Carpenter
We know what value is and it upsets static checkers that we appear to have doubts about it. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index 95b9eae05617..a7df8120cf82 100644 --- a/drivers/usb/dwc3/gadget.c +++

[PATCH 7/8] ARM: dts: dra7: Add USB related nodes

2014-03-07 Thread Roger Quadros
Add nodes for the Super Speed USB controllers, omap-control-usb, USB2 PHY and USB3 PHY devices. Remove ocp2scp1 address space from hwmod data as it is now provided via device tree. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7.dtsi | 110

[PATCH 4/8] phy: omap-usb2: Use generic clock names wkupclk and refclk

2014-03-07 Thread Roger Quadros
As clocks might be named differently on multiple platforms, use a generic name in the driver and allow device tree node to specify the platform specific clock name. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/phy/phy-omap-usb2.c | 8 1 file changed, 4 insertions(+), 4

[PATCH 3/8] ARM: DRA7: hwmod: Add SYSCONFIG for usb_otg_ss

2014-03-07 Thread Roger Quadros
Add the sysconfig class bits for the Super Speed USB controllers Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c

[PATCH 6/8] ARM: dts: omap4+: Add clocks to USB2 PHY node

2014-03-07 Thread Roger Quadros
The USB2 PHY driver expects named clocks for wakeup clock and reference clock. Provide this information for USB2 PHY nodes in OMAP4 and OMAP5 SoC DTS. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap4.dtsi | 2 ++ arch/arm/boot/dts/omap5.dtsi | 2 ++ 2 files changed, 4

[PATCH 2/8] ARM: dts: dra7-clock: Add l3init_960m_gfclk clock gate

2014-03-07 Thread Roger Quadros
This clock gate description was missing in older Reference manuals. It is present on the SoC to provide 960MHz reference clock to the internal USB PHYs. Use l3init_960m_gfclk as parent of usb_otg_ss1_refclk960m and usb_otg_ss2_refclk960m. CC: Tero Kristo t-kri...@ti.com Signed-off-by: Roger

[PATCH 0/8] USB support for DRA7-evm

2014-03-07 Thread Roger Quadros
Hi, This series enables the 2 USB ports on the DRA7-evm. Patches are based on on 3.14-rc4 with balbi/next, linux-phy/next, omap-for-v3.15/dt merged and [1] applied. [1] - http://article.gmane.org/gmane.linux.drivers.devicetree/65223. cheers, -roger --- Roger Quadros (8): CLK: ti: dra7:

[PATCH 1/8] CLK: ti: dra7: Initialize USB_DPLL

2014-03-07 Thread Roger Quadros
USB_DPLL must be initialized and locked at boot so that USB modules can work. Also program USB_DLL_M2 output to half rate. CC: Mike Turquette mturque...@linaro.org CC: Tero Kristo t-kri...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- drivers/clk/ti/clk-7xx.c | 11 +++ 1 file

[PATCH 5/8] phy: omap-usb2: Add clock names to Documentation binding

2014-03-07 Thread Roger Quadros
Add wkupclk and refclk information to DT binding information. Signed-off-by: Roger Quadros rog...@ti.com --- Documentation/devicetree/bindings/phy/ti-phy.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/ti-phy.txt

Re: [PATCH 1/8] CLK: ti: dra7: Initialize USB_DPLL

2014-03-07 Thread Tero Kristo
On 03/07/2014 03:09 PM, Roger Quadros wrote: USB_DPLL must be initialized and locked at boot so that USB modules can work. Also program USB_DLL_M2 output to half rate. CC: Mike Turquette mturque...@linaro.org CC: Tero Kristo t-kri...@ti.com Signed-off-by: Roger Quadros rog...@ti.com ---

Re: [PATCH 2/8] ARM: dts: dra7-clock: Add l3init_960m_gfclk clock gate

2014-03-07 Thread Tero Kristo
On 03/07/2014 03:09 PM, Roger Quadros wrote: This clock gate description was missing in older Reference manuals. It is present on the SoC to provide 960MHz reference clock to the internal USB PHYs. Can you provide a document reference here? -Tero Use l3init_960m_gfclk as parent of

Re: [PATCH v2] phy-rcar-gen2-usb: add device tree support

2014-03-07 Thread Sergei Shtylyov
Hello. On 07-03-2014 9:46, Magnus Damm wrote: Add support of the device tree probing for the Renesas R-Car generation 2 SoCs documenting the device tree binding as necessary. Signed-off-by: Sergei Shtylyov sergei.shtyl...@cogentembedded.com --- This patch is against the 'next' branch of

Re: Renesas RCar device-tree USB series

2014-03-07 Thread Ben Dooks
On 07/03/14 05:36, Magnus Damm wrote: Hi Ben, On Fri, Mar 7, 2014 at 3:01 AM, Ben Dooks ben.do...@codethink.co.uk wrote: This is a new series covering enabling the RCar series of SoCs USB with device-tree based booting. It has been tested on the R8A7790 Lager board. Improvements from the

[PATCH 0/2] xhci, usbnet: fixes for 3.14

2014-03-07 Thread Mathias Nyman
Hi Greg, These two xhci scatter-gather related patches should be reverted to avoid USB 3.0 mass storage regression for users. Sarah and Alan concluded that this the best choice until proper TD fragmentation rules are implemented, discussion is here:

[PATCH 2/2] Revert USBNET: ax88179_178a: enable tso if usb host supports sg dma

2014-03-07 Thread Mathias Nyman
This reverts commit 3804fad45411b48233b48003e33a78f290d227c8. This commit, together with commit 247bf557273dd775505fb9240d2d152f4f20d304 xhci 1.0: Limit arbitrarily-aligned scatter gather. were origially added to get xHCI 1.0 hosts and usb ethernet ax88179_178a devices working together with

[PATCH 1/2] Revert xhci 1.0: Limit arbitrarily-aligned scatter gather.

2014-03-07 Thread Mathias Nyman
This reverts commit 247bf557273dd775505fb9240d2d152f4f20d304. This commit, together with commit 3804fad45411b48233b48003e33a78f290d227c8 USBNET: ax88179_178a: enable tso if usb host supports sg dma were origially added to get xHCI 1.0 hosts and usb ethernet ax88179_178a devices working together

RE: [PATCH 2/2] Revert USBNET: ax88179_178a: enable tso if usb host supports sg dma

2014-03-07 Thread David Laight
From: Mathias Nyman This reverts commit 3804fad45411b48233b48003e33a78f290d227c8. This commit, together with commit 247bf557273dd775505fb9240d2d152f4f20d304 xhci 1.0: Limit arbitrarily-aligned scatter gather. were origially added to get xHCI 1.0 hosts and usb ethernet ax88179_178a devices

Re: BUG: USB Reset-Resume Mechanism does not work for runtime resume

2014-03-07 Thread Alan Stern
On Fri, 7 Mar 2014, Oliver Neukum wrote: Are there any wakeup-enabled devices that this will mess up? Potentially HID. Now that I think about this it seems to me that drivers really need to be told about the error condition. For btusb the error condition cannot be handled. For HID it may

RE: [PATCH 1/2] Revert xhci 1.0: Limit arbitrarily-aligned scatter gather.

2014-03-07 Thread David Laight
From: Mathias Nyman This reverts commit 247bf557273dd775505fb9240d2d152f4f20d304. You need to revert further. Just don’t set hcd-self.no_sg_constraint ever - since it just doesn't work. That will stop the ax88179_178a driver sending fragmented packets. With the check for aligned non-terminal

RE: [PATCH 2/2] Revert USBNET: ax88179_178a: enable tso if usb host supports sg dma

2014-03-07 Thread Alan Stern
On Fri, 7 Mar 2014, David Laight wrote: From: Mathias Nyman This reverts commit 3804fad45411b48233b48003e33a78f290d227c8. This commit, together with commit 247bf557273dd775505fb9240d2d152f4f20d304 xhci 1.0: Limit arbitrarily-aligned scatter gather. were origially added to get xHCI 1.0

Re: BUG: USB Reset-Resume Mechanism does not work for runtime resume

2014-03-07 Thread Oliver Neukum
On Fri, 2014-03-07 at 10:14 -0500, Alan Stern wrote: On Fri, 7 Mar 2014, Oliver Neukum wrote: Are there any wakeup-enabled devices that this will mess up? Potentially HID. Now that I think about this it seems to me that drivers really need to be told about the error condition. For

RE: [PATCH 1/2] Revert xhci 1.0: Limit arbitrarily-aligned scatter gather.

2014-03-07 Thread Alan Stern
On Fri, 7 Mar 2014, David Laight wrote: From: Mathias Nyman This reverts commit 247bf557273dd775505fb9240d2d152f4f20d304. You need to revert further. Just don�t set hcd-self.no_sg_constraint ever - since it just doesn't work. No; it does work most of the time. If

Re: BUG: USB Reset-Resume Mechanism does not work for runtime resume

2014-03-07 Thread Alan Stern
On Fri, 7 Mar 2014, Oliver Neukum wrote: On Fri, 2014-03-07 at 10:14 -0500, Alan Stern wrote: On Fri, 7 Mar 2014, Oliver Neukum wrote: Are there any wakeup-enabled devices that this will mess up? Potentially HID. Now that I think about this it seems to me that drivers really

RE: [PATCH 33/76] uas: Pack iu struct definitions

2014-03-07 Thread David Laight
From: Of Sarah Sharp From: Hans de Goede hdego...@redhat.com The iu struct definitions are usb packet definitions, so no alignment should happen. Notice that assuming 32 bit alignment this does not make any difference at all. Signed-off-by: Hans de Goede hdego...@redhat.com

RE: [PATCH 2/2] Revert USBNET: ax88179_178a: enable tso if usb host supports sg dma

2014-03-07 Thread David Laight
From: Alan Stern On Fri, 7 Mar 2014, David Laight wrote: From: Mathias Nyman This reverts commit 3804fad45411b48233b48003e33a78f290d227c8. This commit, together with commit 247bf557273dd775505fb9240d2d152f4f20d304 xhci 1.0: Limit arbitrarily-aligned scatter gather. were

Re: [PATCH 5/8] phy: omap-usb2: Add clock names to Documentation binding

2014-03-07 Thread Felipe Balbi
On Fri, Mar 07, 2014 at 03:09:08PM +0200, Roger Quadros wrote: Add wkupclk and refclk information to DT binding information. Signed-off-by: Roger Quadros rog...@ti.com --- so, should I take this one ? -- balbi signature.asc Description: Digital signature

RE: [PATCH 1/2] Revert xhci 1.0: Limit arbitrarily-aligned scatter gather.

2014-03-07 Thread David Laight
From: Alan Stern On Fri, 7 Mar 2014, David Laight wrote: From: Mathias Nyman This reverts commit 247bf557273dd775505fb9240d2d152f4f20d304. You need to revert further. Just don?t set hcd-self.no_sg_constraint ever - since it just doesn't work. No; it does work most of the time.

Re: [PATCH 5/8] phy: omap-usb2: Add clock names to Documentation binding

2014-03-07 Thread Kishon Vijay Abraham I
Felipe, On Friday 07 March 2014 09:34 PM, Felipe Balbi wrote: On Fri, Mar 07, 2014 at 03:09:08PM +0200, Roger Quadros wrote: Add wkupclk and refclk information to DT binding information. Signed-off-by: Roger Quadros rog...@ti.com --- so, should I take this one ? yes.. the ti-phy.txt is

Re: [PATCH 5/8] phy: omap-usb2: Add clock names to Documentation binding

2014-03-07 Thread Felipe Balbi
On Fri, Mar 07, 2014 at 09:53:03PM +0530, Kishon Vijay Abraham I wrote: Felipe, On Friday 07 March 2014 09:34 PM, Felipe Balbi wrote: On Fri, Mar 07, 2014 at 03:09:08PM +0200, Roger Quadros wrote: Add wkupclk and refclk information to DT binding information. Signed-off-by: Roger Quadros

Re: Renesas RCar device-tree USB series

2014-03-07 Thread Sergei Shtylyov
Hello. On 03/07/2014 05:30 PM, Ben Dooks wrote: This is a new series covering enabling the RCar series of SoCs USB with device-tree based booting. It has been tested on the R8A7790 Lager board. Improvements from the previous series include: - mapping usb to the relevant phy by

Re: Renesas RCar device-tree USB series

2014-03-07 Thread Ben Dooks
On 07/03/14 17:30, Sergei Shtylyov wrote: Hello. On 03/07/2014 05:30 PM, Ben Dooks wrote: This is a new series covering enabling the RCar series of SoCs USB with device-tree based booting. It has been tested on the R8A7790 Lager board. Improvements from the previous series include:

RE: [PATCH 2/2] Revert USBNET: ax88179_178a: enable tso if usb host supports sg dma

2014-03-07 Thread Alan Stern
On Fri, 7 Mar 2014, David Laight wrote: From: Alan Stern On Fri, 7 Mar 2014, David Laight wrote: From: Mathias Nyman This reverts commit 3804fad45411b48233b48003e33a78f290d227c8. This commit, together with commit 247bf557273dd775505fb9240d2d152f4f20d304 xhci 1.0:

Re: [PATCH 1/8] CLK: ti: dra7: Initialize USB_DPLL

2014-03-07 Thread Tony Lindgren
* Tero Kristo t-kri...@ti.com [140307 05:46]: On 03/07/2014 03:09 PM, Roger Quadros wrote: USB_DPLL must be initialized and locked at boot so that USB modules can work. Also program USB_DLL_M2 output to half rate. CC: Mike Turquette mturque...@linaro.org CC: Tero Kristo t-kri...@ti.com

[PATCH 1/9] usb: chipidea: usbmisc: Add USB Host support for i.MX25/i.MX35 CPUs

2014-03-07 Thread Denis Carikli
Signed-off-by: Denis Carikli de...@eukrea.com --- drivers/usb/chipidea/usbmisc_imx.c | 59 1 file changed, 59 insertions(+) diff --git a/drivers/usb/chipidea/usbmisc_imx.c b/drivers/usb/chipidea/usbmisc_imx.c index cd061ab..d956ad0 100644 ---

[PATCH 3/9] ARM: dts: mbimxsd51 baseboard: Add USB host support

2014-03-07 Thread Denis Carikli
Signed-off-by: Denis Carikli de...@eukrea.com --- .../boot/dts/imx51-eukrea-mbimxsd51-baseboard.dts | 47 1 file changed, 47 insertions(+) diff --git a/arch/arm/boot/dts/imx51-eukrea-mbimxsd51-baseboard.dts b/arch/arm/boot/dts/imx51-eukrea-mbimxsd51-baseboard.dts index

[PATCH 2/9] ARM: dts: i.MX51: Add a second usbphy.

2014-03-07 Thread Denis Carikli
Signed-off-by: Denis Carikli de...@eukrea.com --- arch/arm/boot/dts/imx51.dtsi |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/imx51.dtsi b/arch/arm/boot/dts/imx51.dtsi index e508e6f..917b6ed 100644 --- a/arch/arm/boot/dts/imx51.dtsi +++

[PATCH 4/9] ARM: dts: imx25.dtsi: Fix USB support.

2014-03-07 Thread Denis Carikli
From: Fabio Estevam fabio.este...@freescale.com This patch was adapted from the thread named USB Host support for mx25 on linux-usb@vger.kernel.org Signed-off-by: Denis Carikli de...@eukrea.com --- arch/arm/boot/dts/imx25.dtsi |9 - 1 file changed, 4 insertions(+), 5 deletions(-)

[PATCH 5/9] ARM: dts: mbimxsd25 baseboard: Add USB host support

2014-03-07 Thread Denis Carikli
Signed-off-by: Denis Carikli de...@eukrea.com --- .../boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts b/arch/arm/boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts index

[PATCH 6/9] ARM: dts: i.MX35: Add USB support.

2014-03-07 Thread Denis Carikli
Signed-off-by: Denis Carikli de...@eukrea.com --- arch/arm/boot/dts/imx35.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/imx35.dtsi b/arch/arm/boot/dts/imx35.dtsi index e59ccb4..1c15b56 100644 --- a/arch/arm/boot/dts/imx35.dtsi +++

[PATCH 7/9] ARM: dts: mbimxsd35 baseboard: Add USB host support.

2014-03-07 Thread Denis Carikli
Signed-off-by: Denis Carikli de...@eukrea.com --- .../boot/dts/imx35-eukrea-mbimxsd35-baseboard.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/imx35-eukrea-mbimxsd35-baseboard.dts b/arch/arm/boot/dts/imx35-eukrea-mbimxsd35-baseboard.dts index

[PATCH 8/9] ARM: imx_v6_v7_defconfig: Enable drivers for i.MX51 USB Host support.

2014-03-07 Thread Denis Carikli
Signed-off-by: Denis Carikli de...@eukrea.com --- arch/arm/configs/imx_v6_v7_defconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 09e9743..772f14f 100644 --- a/arch/arm/configs/imx_v6_v7_defconfig +++

RE: [PATCH 2/2] Revert USBNET: ax88179_178a: enable tso if usb host supports sg dma

2014-03-07 Thread David Laight
From: On Fri, 7 Mar 2014, David Laight wrote: From: Alan Stern On Fri, 7 Mar 2014, David Laight wrote: From: Mathias Nyman This reverts commit 3804fad45411b48233b48003e33a78f290d227c8. This commit, together with commit 247bf557273dd775505fb9240d2d152f4f20d304

Re: [PATCH 1/9] usb: chipidea: usbmisc: Add USB Host support for i.MX25/i.MX35 CPUs

2014-03-07 Thread Sergei Shtylyov
Hello. On 03/07/2014 08:04 PM, Denis Carikli wrote: Signed-off-by: Denis Carikli de...@eukrea.com --- drivers/usb/chipidea/usbmisc_imx.c | 59 1 file changed, 59 insertions(+) diff --git a/drivers/usb/chipidea/usbmisc_imx.c

Re: [PATCH 33/76] uas: Pack iu struct definitions

2014-03-07 Thread Hans de Goede
Hi, On 03/07/2014 04:41 PM, David Laight wrote: From: Of Sarah Sharp From: Hans de Goede hdego...@redhat.com The iu struct definitions are usb packet definitions, so no alignment should happen. Notice that assuming 32 bit alignment this does not make any difference at all. Signed-off-by:

Re: Bug#738113: linux-image-3.12-1-amd64: regression in xhci_hcd: USB3 doesn't work anymore

2014-03-07 Thread Sarah Sharp
On Tue, Feb 11, 2014 at 06:11:09PM +0100, Andreas Cadhalpun wrote: Hi, thanks for looking into the issue. On 11.02.2014 17:40, Sarah Sharp wrote: On Sat, Feb 08, 2014 at 03:56:31AM +, Ben Hutchings wrote: For the benefit of other developers, that change is a revert of commit

Re: [PATCH 33/76] uas: Pack iu struct definitions

2014-03-07 Thread Alan Stern
On Fri, 7 Mar 2014, Hans de Goede wrote: diff --git a/include/linux/usb/uas.h b/include/linux/usb/uas.h index 772b66bcdd7d..3fc8e8b9f043 100644 --- a/include/linux/usb/uas.h +++ b/include/linux/usb/uas.h @@ -9,7 +9,7 @@ struct iu { __u8 iu_id; __u8 rsvd1; __be16 tag;

Re: [PATCH v10 1/4] phy: core: Add an exported of_phy_get function

2014-03-07 Thread Tobias Jakobi
Kamil Debski wrote: Previously the of_phy_get function took a struct device * and was declared static. It was impossible to call it from another driver and thus it was impossible to get phy defined for a given node. The old function was renamed to _of_phy_get and was left for internal use.

Re: [PATCH v10 3/4] phy: Add new Exynos USB 2.0 PHY driver

2014-03-07 Thread Tobias Jakobi
Kamil Debski wrote: Add a new driver for the Exynos USB 2.0 PHY. The new driver uses the generic PHY framework. The driver includes support for the Exynos 4x10 and 4x12 SoC families. Signed-off-by: Kamil Debski k.deb...@samsung.com --- .../devicetree/bindings/phy/samsung-phy.txt|

Re: [PATCH v10 2/4] phy: core: Add devm_of_phy_get to phy-core

2014-03-07 Thread Tobias Jakobi
Kamil Debski wrote: Adding devm_of_phy_get will allow to get phys by supplying a pointer to the struct device_node instead of struct device. Signed-off-by: Kamil Debski k.deb...@samsung.com --- drivers/phy/phy-core.c | 31 +++ include/linux/phy/phy.h |8

Re: [PATCH v10 4/4] phy: Add Exynos 5250 support to the Exynos USB 2.0 PHY driver

2014-03-07 Thread Tobias Jakobi
Kamil Debski wrote: Add support for Exynos 5250. This driver is to replace the old USB 2.0 PHY driver. Signed-off-by: Kamil Debski k.deb...@samsung.com --- .../devicetree/bindings/phy/samsung-phy.txt|1 + drivers/phy/Kconfig| 11 +

Re: [PATCH 2/3] usb: wusbcore: combine iso transfer result frame reads when possible

2014-03-07 Thread Greg KH
On Thu, Mar 06, 2014 at 12:53:38PM -0600, Thomas Pugliese wrote: When reading the transfer result data for an isochronous in request, if the current frame actual_length is contiguous with the next frame and actual_length is a multiple of the DTI endpoint max packet size, combine the current

Re: [GIT PULL] xhci: Streams and UAS cleanups, misc cleanups for 3.15

2014-03-07 Thread Greg Kroah-Hartman
On Thu, Mar 06, 2014 at 04:07:03PM -0800, Sarah Sharp wrote: The following changes since commit 3c1b2c3ecd3122fe6dded7b012f74021144d95b2: USB: sisusb: Use static const, fix typo (2014-03-03 08:54:30 -0800) are available in the git repository at:

Re: [PATCH 2/3] usb: wusbcore: combine iso transfer result frame reads when possible

2014-03-07 Thread Thomas Pugliese
On Fri, 7 Mar 2014, Greg KH wrote: On Thu, Mar 06, 2014 at 12:53:38PM -0600, Thomas Pugliese wrote: When reading the transfer result data for an isochronous in request, if the current frame actual_length is contiguous with the next frame and actual_length is a multiple of the DTI

Re: [PATCH net-next 0/7] r8152: tx/rx improvement

2014-03-07 Thread David Miller
From: Hayes Wang hayesw...@realtek.com Date: Fri, 7 Mar 2014 11:04:33 +0800 - Select the suitable spin lock for each function. - Add additional check to reduce the spin lock. - Up the priority of the tx to avoid interrupted by rx. - Support rx checksum, large send, and IPv6 hw checksum.

[PATCH v2 0/2] usb: wusbcore: HWA performance optimizations

2014-03-07 Thread Thomas Pugliese
This is a resend of two previously sent patches that failed to apply This series includes a set of performance optimizations for the HWA which improve webcam image quality and CPU utilization for isochronous read transfers. Thomas Pugliese (2): usb: wusbcore: combine iso transfer result

[PATCH v2 2/2] usb: wusbcore: use multiple urbs for HWA iso transfer result frame reads

2014-03-07 Thread Thomas Pugliese
Submit multiple concurrent urbs for HWA isochronous transfer result data frame reads. This keeps the read pipeline full and significantly improves performance in cases where the frame reads cannot be combined because they are not contiguous or multiples of the max packet size. Signed-off-by:

Re: [PATCH v2] phy-rcar-gen2-usb: add device tree support

2014-03-07 Thread Sergei Shtylyov
Hello. On 03/07/2014 05:27 PM, Sergei Shtylyov wrote: Add support of the device tree probing for the Renesas R-Car generation 2 SoCs documenting the device tree binding as necessary. Signed-off-by: Sergei Shtylyov sergei.shtyl...@cogentembedded.com --- This patch is against the 'next'

Re: [PATCH 4/9] ARM: dts: imx25.dtsi: Fix USB support.

2014-03-07 Thread Fabio Estevam
Hi Denis, On Fri, Mar 7, 2014 at 2:04 PM, Denis Carikli de...@eukrea.com wrote: From: Fabio Estevam fabio.este...@freescale.com This patch was adapted from the thread named USB Host support for mx25 on linux-usb@vger.kernel.org Good job, thanks for working on this series! I will test it

[GIT PULL] USB patches for v3.15

2014-03-07 Thread Felipe Balbi
Hi Greg, Here's my pull request for v3.15 merge window. This pull request contains patches which have been soaking in linux-next for quite a bit of time. I also ran everything through my 150 randconfigs script (which uses some seeds of my own). Please, consider merging it on top of your

Re: [GIT PULL] USB patches for v3.15

2014-03-07 Thread Greg KH
On Fri, Mar 07, 2014 at 06:30:45PM -0600, Felipe Balbi wrote: Hi Greg, Here's my pull request for v3.15 merge window. This pull request contains patches which have been soaking in linux-next for quite a bit of time. I also ran everything through my 150 randconfigs script (which uses some

MAX3421E: device giving NAKs forever?

2014-03-07 Thread David Mosberger
So the MAX3421E driver is working quite well but one problem I'm seeing is that after running devices for a while, they seem to get into a mode where a bulk out transfer gets stuck soliciting and endless stream of NAKs. The MAX3421E retries NAK'd transfers in the next frame again, only to get the

Re: MAX3421E: device giving NAKs forever?

2014-03-07 Thread Felipe Balbi
On Fri, Mar 07, 2014 at 06:16:03PM -0700, David Mosberger wrote: So the MAX3421E driver is working quite well but one problem I'm seeing is that after running devices for a while, they seem to get into a mode where a bulk out transfer gets stuck soliciting and endless stream of NAKs. The

Re: [PATCH 1/9] usb: chipidea: usbmisc: Add USB Host support for i.MX25/i.MX35 CPUs

2014-03-07 Thread Alexander Shiyan
Пятница, 7 марта 2014, 18:04 +01:00 от Denis Carikli de...@eukrea.com: Signed-off-by: Denis Carikli de...@eukrea.com --- drivers/usb/chipidea/usbmisc_imx.c | 59 1 file changed, 59 insertions(+) diff --git a/drivers/usb/chipidea/usbmisc_imx.c

Re: [PATCH v10 2/4] phy: core: Add devm_of_phy_get to phy-core

2014-03-07 Thread Kishon Vijay Abraham I
Tobias, On Saturday 08 March 2014 01:04 AM, Tobias Jakobi wrote: Kamil Debski wrote: Adding devm_of_phy_get will allow to get phys by supplying a pointer to the struct device_node instead of struct device. Signed-off-by: Kamil Debski k.deb...@samsung.com --- drivers/phy/phy-core.c | 31

Re: [PATCH v3] u_ether: move hardware transmit to RX workqueue

2014-03-07 Thread clanlab.proj
Hi Dave and Greg, On Fri, Mar 7, 2014 at 12:04 AM, Felipe Balbi ba...@ti.com wrote: Hi, On Thu, Mar 06, 2014 at 11:42:49PM +0800, Weinn Jheng wrote: In order to reduce the interrupt times in the embedded system, a receiving workqueue is introduced. This modification also enhanced the