Re: [PATCH] Usb: atm: usbatm: fixed a pointer variable format issue

2013-12-06 Thread Duncan Sands
On 06/12/13 04:59, learc83 wrote: Fixed a pointer variable format issue. This is obviously OK. Ciao, Duncan. Signed-off-by: Seth Archer Brown lear...@gmail.com --- drivers/usb/atm/usbatm.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 1/4] usb: chipidea: Reallocate regmap only if lpm is detected

2013-12-06 Thread Peter Chen
From: Chris Ruehl chris.ru...@gtsys.com.hk The regmap only needs to reallocate if the hw_read on the CAP register shows lpm is used. Therefore the if() statement check the change. Signed-off-by: Chris Ruehl chris.ru...@gtsys.com.hk Signed-off-by: Peter Chen peter.c...@freescale.com ---

[PATCH 4/4] usb: chipidea: usbmisc: Add support for i.MX51 CPU

2013-12-06 Thread Peter Chen
From: Alexander Shiyan shc_w...@mail.ru This adds i.MX51 as the next user of the usbmisc driver. Functionality is similar to i.MX53, so at this stage simply reuse existing i.MX53 calls. Signed-off-by: Alexander Shiyan shc_w...@mail.ru Signed-off-by: Peter Chen peter.c...@freescale.com ---

[PATCH 3/4] usb: chipidea: usbmisc: Add support for i.MX27/i.MX31 CPUs

2013-12-06 Thread Peter Chen
From: Alexander Shiyan shc_w...@mail.ru This adds i.MX27 and i.MX31 as the next user of the usbmisc driver. Tested-by: Chris Ruehl chris.ru...@gtsys.com.hk Signed-off-by: Alexander Shiyan shc_w...@mail.ru Signed-off-by: Peter Chen peter.c...@freescale.com --- drivers/usb/chipidea/usbmisc_imx.c

Re: [PATCH 0/2] usb: chipidea: streamline regmap handling

2013-12-06 Thread Marc Kleine-Budde
On 12/06/2013 07:39 AM, Peter Chen wrote: On Thu, Dec 05, 2013 at 12:32:55PM +0100, Marc Kleine-Budde wrote: Hello Peter, these patches are for your ci-for-usb-next branch. The repmap handling is streamlined and the kernel shrinks by 706 bytes on i.MX28: add/remove: 0/0 grow/shrink: 0/30

Re: [PATCH v2 0/3] ARM: OMAP2+: USB Host bug fixes for 3.13 rc

2013-12-06 Thread Roger Quadros
Tony, On 12/05/2013 08:48 PM, Tony Lindgren wrote: * Tomi Valkeinen tomi.valkei...@ti.com [131204 02:01]: On 2013-12-03 16:25, Roger Quadros wrote: Hi, This is a follow up solution to the original series in [1] The first patch fixes the OMAP4 Panda USB detection problems on 3.13-rc1 with

Re: [PATCH 2/2] usb: chipidea: mark register map as const and convert to u8

2013-12-06 Thread Marc Kleine-Budde
On 12/06/2013 07:49 AM, Peter Chen wrote: On Thu, Dec 05, 2013 at 12:32:57PM +0100, Marc Kleine-Budde wrote: This patch makes the controller register map ci_regs_nolpm and ci_regs_lpm as const. Further, as all offset fit into a single byte, the type is changed from uintptr_t to u8.

Re: [PATCH 2/2] usb: chipidea: mark register map as const and convert to u8

2013-12-06 Thread Peter Chen
On Fri, Dec 06, 2013 at 10:28:12AM +0100, Marc Kleine-Budde wrote: On 12/06/2013 07:49 AM, Peter Chen wrote: On Thu, Dec 05, 2013 at 12:32:57PM +0100, Marc Kleine-Budde wrote: This patch makes the controller register map ci_regs_nolpm and ci_regs_lpm as const. Further, as all offset fit

Re: [PATCH 1/2] usb: chipidea: move malloced regmap directly into struct hw_bank

2013-12-06 Thread Uwe Kleine-König
Hello, On Fri, Dec 06, 2013 at 10:21:58AM +0100, Marc Kleine-Budde wrote: On 12/06/2013 07:45 AM, Peter Chen wrote: On Thu, Dec 05, 2013 at 12:32:56PM +0100, Marc Kleine-Budde wrote: Without this patch a seperate chunk of memory is allocated for the regmap array. As the regmap is always

[PATCH 1/1] AX88179_178A: Enable the hardware pseudo header in case of the NET_IP_ALIGN equals 0

2013-12-06 Thread freddy
From: Freddy Xin fre...@asix.com.tw The AX88179_178A has a hardware feature that it can insert a 2-bytes pseudo header in front of each received frame by setting the AX_RX_CTL_IPE bit. This feature is used to let the IP header be aligned on a doubleword-aligned address, but the NET_IP_ALIGN may

[PATCH v2 0/2] usb: chipidea: streamline regmap handling

2013-12-06 Thread Marc Kleine-Budde
Hello Peter, these patches are for your ci-for-usb-next branch. The repmap handling is streamlined and the kernel shrinks by 706 bytes on i.MX28. Moving the regmap into hw_bank saves on indirection instruction per register access. add/remove: 0/0 grow/shrink: 0/30 up/down: 0/-706 (-706) function

[PATCH v2 2/2] usb: chipidea: mark register map as const and convert to u8

2013-12-06 Thread Marc Kleine-Budde
This patch makes the controller register map ci_regs_nolpm and ci_regs_lpm as const. Further, as all offset fit into a single byte, the type is changed from uintptr_t to u8. Signed-off-by: Marc Kleine-Budde m...@pengutronix.de --- no changes since v1 drivers/usb/chipidea/core.c | 80

[PATCH v2 1/2] usb: chipidea: move malloced regmap directly into struct hw_bank

2013-12-06 Thread Marc Kleine-Budde
Without this patch a seperate chunk of memory is allocated for the regmap array. As the regmap is always used it makes no sense to allocate a seperate memory block for it, this patch moves the regmap array directly into the struct hw_bank. Signed-off-by: Marc Kleine-Budde m...@pengutronix.de ---

[PATCH v4 6/9] phy: Add support for S5PV210 to the Exynos USB PHY driver

2013-12-06 Thread Kamil Debski
From: Mateusz Krawczuk mat.krawc...@gmail.com Add support for the Samsung's S5PV210 SoC to the Exynos USB PHY driver. Signed-off-by: Mateusz Krawczuk m.krawc...@partner.samsung.com [k.deb...@samsung.com: cleanup and commit description] [k.deb...@samsung.com: make changes accordingly to the

[PATCH v4 7/9] phy: Add Exynos 5250 support to the Exynos USB 2.0 PHY driver

2013-12-06 Thread Kamil Debski
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 Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- .../devicetree/bindings/phy/samsung-usbphy.txt |1 + drivers/phy/Kconfig

[PATCH 8/9] dts: Add usb2phy to Exynos 4

2013-12-06 Thread Kamil Debski
Add support of new USB 2.0 phy driver to Exynos 4 SoC device tree. Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- .../devicetree/bindings/arm/samsung/pmu.txt|2 ++ arch/arm/boot/dts/exynos4.dtsi | 31

[PATCH 9/9] dts: Add usb2phy to Exynos 5250

2013-12-06 Thread Kamil Debski
Add support of new USB 2.0 phy driver to the Exynos 5250 SoC device tree. Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/boot/dts/exynos5250.dtsi | 33 + 1 file changed, 21 insertions(+), 12

RE: [PATCH v4 0/9] phy: Add new Exynos USB 2.0 PHY driver

2013-12-06 Thread Kamil Debski
Hi, From: Kishon Vijay Abraham I [mailto:kis...@ti.com] Sent: Thursday, December 05, 2013 4:07 PM Hi, On Thursday 05 December 2013 05:59 PM, Kamil Debski wrote: Hi, This is the fourth version of the patchset adding the new Exynos USB 2.0 PHY driver. The driver uses the Generic PHY

RE: [PATCH 1/9] phy: core: Change the way of_phy_get is called

2013-12-06 Thread Kamil Debski
Hi, From: Kishon Vijay Abraham I [mailto:kis...@ti.com] Sent: Friday, December 06, 2013 6:31 AM Hi, On Thursday 05 December 2013 05:59 PM, 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

Re: [PATCH v4 3/9] phy: Add new Exynos USB PHY driver

2013-12-06 Thread Kishon Vijay Abraham I
Hi, On Thursday 05 December 2013 05:59 PM, Kamil Debski wrote: Add a new driver for the Exynos USB 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 Signed-off-by:

Re: [PATCH v4 5/9] usb: s3c-hsotg: Use the new Exynos USB phy driver with the generic phy framework

2013-12-06 Thread Kishon Vijay Abraham I
Hi, On Thursday 05 December 2013 05:59 PM, Kamil Debski wrote: Change the used phy driver to the new Exynos USB phy driver that uses the generic phy framework. Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

Re: [PATCH v4 6/9] phy: Add support for S5PV210 to the Exynos USB PHY driver

2013-12-06 Thread Kishon Vijay Abraham I
Hi, On Friday 06 December 2013 04:01 PM, Kamil Debski wrote: From: Mateusz Krawczuk mat.krawc...@gmail.com Add support for the Samsung's S5PV210 SoC to the Exynos USB PHY driver. Signed-off-by: Mateusz Krawczuk m.krawc...@partner.samsung.com [k.deb...@samsung.com: cleanup and commit

Re: [PATCH v4 7/9] phy: Add Exynos 5250 support to the Exynos USB 2.0 PHY driver

2013-12-06 Thread Kishon Vijay Abraham I
On Friday 06 December 2013 04:02 PM, 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 Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

[PATCH 2/2] USB: gadget: s3c-hsotg: add flush TX FIFO when kill all requests

2013-12-06 Thread Robert Baldyga
This patch adds flushing TX FIFO in kill_all_requests() function in dedicated-fifo mode. It's because when requests are killed (when endpoint is disabled or in case of device reset/disconnection) in FIFO can stay some unsent data. In the worst case FIFO can stay full, and then if endpoint will be

[PATCH 1/2] USB: gadget: s3c-hsotg: fix maxpacket size in s3c_hsotg_irq_enumdone

2013-12-06 Thread Robert Baldyga
This patch set maximum possible maxpacket value for each speed. Previous values didn't allow to use maxpacket sizes greater than 64 in full speed and 512 in high speed, although hardware is able to handle up to 1023 in fs and 1024 in hs. Signed-off-by: Robert Baldyga r.bald...@samsung.com

[PATCH 0/2] usb: s3c-hsotg: fixes for maxpacket and TX FIFO handling

2013-12-06 Thread Robert Baldyga
Hello, This patches contains fixes for s3c-hsotg driver. They fix maxpacket sizes set in s3c_hsotg_irq_enumdone() function, and adds flushing TX FIFO when killing all requests in dedicated-fifo mode. More info in commit messages. Best regards Robert Baldyga Samsung RD Institute Poland Robert

[PATCH v2 0/2] usb: fix controller-PHY binding for OMAP3 platform

2013-12-06 Thread Kishon Vijay Abraham I
After the platform devices are created using PLATFORM_DEVID_AUTO, the device names given in usb_bind_phy (in board file) does not match with the actual device name causing the USB PHY library not to return the PHY reference when the MUSB controller request for the PHY in the non-dt boot case. So

[PATCH v2 2/2] arm: omap: remove *.auto* from device names given in usb_bind_phy

2013-12-06 Thread Kishon Vijay Abraham I
Previously MUSB wrapper (OMAP) device used PLATFORM_DEVID_AUTO while creating MUSB core device. So in usb_bind_phy (binds the controller with the PHY), the device name of the controller had *.auto* in it. Since with using PLATFORM_DEVID_AUTO, there is no way to know the exact device name in

[PATCH v2 1/2] usb: musb: omap: remove using PLATFORM_DEVID_AUTO in omap2430.c

2013-12-06 Thread Kishon Vijay Abraham I
After the platform devices are created using PLATFORM_DEVID_AUTO, the device names given in usb_bind_phy (in board file) does not match with the actual device name causing the USB PHY library not to return the PHY reference when the MUSB controller request for the PHY in the non-dt boot case. So

Re: [PATCH v2 2/2] arm: omap: remove *.auto* from device names given in usb_bind_phy

2013-12-06 Thread Javier Martinez Canillas
Hi Kishon, On Fri, Dec 6, 2013 at 1:06 PM, Kishon Vijay Abraham I kis...@ti.com wrote: Previously MUSB wrapper (OMAP) device used PLATFORM_DEVID_AUTO while creating MUSB core device. So in usb_bind_phy (binds the controller with the PHY), the device name of the controller had *.auto* in it.

RE: [PATCH v4 4/9] usb: ehci-s5p: Change to use phy provided by the generic phy framework

2013-12-06 Thread Kamil Debski
Hi Alan, Thank you for the review. Please find my replies inline. From: Alan Stern [mailto:st...@rowland.harvard.edu] Sent: Thursday, December 05, 2013 7:53 PM On Thu, 5 Dec 2013, Kamil Debski wrote: Change the phy provider used from the old usb phy specific to a new one using the

[PATCH v4 1/4] ARM: OMAP1: USB: move omap_usb_config to platform data

2013-12-06 Thread Aaro Koskinen
Move omap_usb_config to platform data, so that OTG driver can include it. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi Acked-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap1/include/mach/usb.h | 38 +--- include/linux/platform_data/usb-omap1.h | 51

[PATCH v4 0/4] USB: OMAP1: Tahvo USB support for 770

2013-12-06 Thread Aaro Koskinen
Hi, These patches add support for Tahvo USB transceiver and allow using both host and peripheral modes on Nokia 770. Tested (peripheral mode, host mode, vbus detection) with 3.12-rc7. History: v4: Register sysfs files with sysfs_create_group(). Rename vbus_state to vbus.

[PATCH v4 2/4] USB: OMAP1: add extcon to platform data

2013-12-06 Thread Aaro Koskinen
Add extcon field to platform data. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- include/linux/platform_data/usb-omap1.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/platform_data/usb-omap1.h b/include/linux/platform_data/usb-omap1.h index

[PATCH v4 4/4] USB: OMAP1: Tahvo USB transceiver driver

2013-12-06 Thread Aaro Koskinen
Add Tahvo USB transceiver driver. Based on old code from linux-omap tree. The original driver was written by Juha Yrjölä, Tony Lindgren, and Timo Teräs. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- Documentation/ABI/testing/sysfs-platform-tahvo-usb | 16 + drivers/usb/phy/Kconfig

Re: [PATCH v6 2/2] usb-serial: Moxa UPORT 12XX/14XX/16XX driver

2013-12-06 Thread Johan Hovold
On Mon, Nov 11, 2013 at 06:37:44PM +0100, Andrew Lunn wrote: Add a driver which supports the following Moxa USB to serial converters: * 2 ports : UPort 1250, UPort 1250I * 4 ports : UPort 1410, UPort 1450, UPort 1450I * 8 ports : UPort 1610-8, UPort 1650-8 * 16 ports :

Re: [PATCH v4 5/9] usb: s3c-hsotg: Use the new Exynos USB phy driver with the generic phy framework

2013-12-06 Thread Matt Porter
On Fri, Dec 06, 2013 at 04:41:51PM +0530, Kishon Vijay Abraham I wrote: Hi, On Thursday 05 December 2013 05:59 PM, Kamil Debski wrote: Change the used phy driver to the new Exynos USB phy driver that uses the generic phy framework. Signed-off-by: Kamil Debski k.deb...@samsung.com

[PATCH] USB: fix coccinelle warnings

2013-12-06 Thread oliver
From: Fengguang Wu fengguang...@intel.com drivers/usb/host/ehci-mv.c:181:26-27: WARNING comparing pointer to 0, suggest !E /c/kernel-tests/src/cocci/drivers/usb/host/ehci-mv.c:181:26-27: WARNING comparing pointer to 0 Compare pointer-typed values to NULL rather than 0 Semantic patch

Re: [GIT PULL] xhci: Regression fix for 3.13.

2013-12-06 Thread Greg Kroah-Hartman
On Fri, Dec 06, 2013 at 12:55:23AM -0500, Mark Lord wrote: On 13-12-02 04:42 PM, Greg Kroah-Hartman wrote: On Mon, Dec 02, 2013 at 12:49:08PM -0800, Sarah Sharp wrote: The following changes since commit c24cb6c8b501ebdf1aacec7960110a9741a45ced: Merge tag 'fixes-for-v3.13-rc2' of

Re: [PATCH] Usb: atm: usbatm: fixed a pointer variable format issue

2013-12-06 Thread Duncan Sands
Hi Seth, On 06/12/13 15:24, Seth Archer wrote: Sorry, but do you mean the patch is OK, or the original is OK and no patch necessary? I meant that the patch is obviously OK. Ciao, Duncan. -Seth On Fri, Dec 6, 2013 at 3:24 AM, Duncan Sands duncan.sa...@gmail.com

RE: [GIT PULL] xhci: Regression fix for 3.13.

2013-12-06 Thread David Laight
From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] On Fri, Dec 06, 2013 at 12:55:23AM -0500, Mark Lord wrote: On 13-12-02 04:42 PM, Greg Kroah-Hartman wrote: On Mon, Dec 02, 2013 at 12:49:08PM -0800, Sarah Sharp wrote: The following changes since commit

Re: zte_ev not properly handling ZTE AC2726 CDMA modems

2013-12-06 Thread Johan Hovold
On Mon, Dec 02, 2013 at 12:09:30PM -0800, Dmitry Kunilov wrote: I was able to merge 3.12.1 with Broadcom code over the weekend, so I am running the latest kernel now, but the problem is still there. I did the test as you suggested without any diagnostic patches and with dynamic debugging

RE: [PATCH v4 3/9] phy: Add new Exynos USB PHY driver

2013-12-06 Thread Kamil Debski
Hi Kishon, Thank you for the review. From: Kishon Vijay Abraham I [mailto:kis...@ti.com] Sent: Friday, December 06, 2013 11:59 AM Hi, On Thursday 05 December 2013 05:59 PM, Kamil Debski wrote: Add a new driver for the Exynos USB PHY. The new driver uses the generic PHY framework. The

RE: [PATCH v4 5/9] usb: s3c-hsotg: Use the new Exynos USB phy driver with the generic phy framework

2013-12-06 Thread Kamil Debski
Hi, From: Matt Porter [mailto:matt.por...@linaro.org] Sent: Friday, December 06, 2013 4:01 PM On Fri, Dec 06, 2013 at 04:41:51PM +0530, Kishon Vijay Abraham I wrote: Hi, On Thursday 05 December 2013 05:59 PM, Kamil Debski wrote: Change the used phy driver to the new Exynos USB phy

CP2102 mystery - ttyUSB0 vs usbfsbrltty/Projects/BrailleMemo/usbmon-ttyUSB0

2013-12-06 Thread Dave Mielke
I'm using kernel 3.11.4-101.fc18.x86_64 on a 64-bit Fedora 19 system. I'd very much appreciate a bit of help from someone who understands the CP2102 serial adapter support. When I access it through /dev/ttyUSB0, it works fine. When, however, I access it through usbfs, it doesn't seem to be

Re: [GIT PULL] xhci: Regression fix for 3.13.

2013-12-06 Thread Sarah Sharp
On Fri, Dec 06, 2013 at 12:55:23AM -0500, Mark Lord wrote: On 13-12-02 04:42 PM, Greg Kroah-Hartman wrote: On Mon, Dec 02, 2013 at 12:49:08PM -0800, Sarah Sharp wrote: The following changes since commit c24cb6c8b501ebdf1aacec7960110a9741a45ced: Merge tag 'fixes-for-v3.13-rc2' of

Re: CP2102 mystery - ttyUSB0 vs usbfsbrltty/Projects/BrailleMemo/usbmon-ttyUSB0

2013-12-06 Thread Dave Mielke
[quoted lines by Greg KH on 2013/12/06 at 08:59 -0800] How are you accessing the device through usbfs? Via /dev/usb/bus/device At that point, it's a raw USB device, the driver isn't connected and you now have to emulate the driver entirely from userspace, Yes, I realize that. Our code

RE: [GIT PULL] xhci: Regression fix for 3.13.

2013-12-06 Thread David Laight
From: Sarah Sharp Sent: 06 December 2013 17:03 To: Mark Lord Cc: Greg Kroah-Hartman; linux-usb@vger.kernel.org; David Laight; net...@vger.kernel.org Subject: Re: [GIT PULL] xhci: Regression fix for 3.13. On Fri, Dec 06, 2013 at 12:55:23AM -0500, Mark Lord wrote: On 13-12-02 04:42 PM,

Re: [GIT PULL] xhci: Regression fix for 3.13.

2013-12-06 Thread David Miller
Sarah, calm down. Let Greg merge the XHCI fix and let's have people test it. The whole holdup is because the USB subsystem is taking forever to merge the XHCI patch. I would have merged it in 24-48 hours if it were my subsystem. :) -- To unsubscribe from this list: send the line unsubscribe

Re: [GIT PULL] xhci: Regression fix for 3.13.

2013-12-06 Thread Greg Kroah-Hartman
On Fri, Dec 06, 2013 at 09:03:25AM -0800, Sarah Sharp wrote: On Fri, Dec 06, 2013 at 12:55:23AM -0500, Mark Lord wrote: On 13-12-02 04:42 PM, Greg Kroah-Hartman wrote: On Mon, Dec 02, 2013 at 12:49:08PM -0800, Sarah Sharp wrote: The following changes since commit

Re: [GIT PULL] xhci: Regression fix for 3.13.

2013-12-06 Thread David Miller
From: Greg Kroah-Hartman gre...@linuxfoundation.org Date: Fri, 6 Dec 2013 09:29:47 -0800 On Fri, Dec 06, 2013 at 09:03:25AM -0800, Sarah Sharp wrote: On Fri, Dec 06, 2013 at 12:55:23AM -0500, Mark Lord wrote: On 13-12-02 04:42 PM, Greg Kroah-Hartman wrote: On Mon, Dec 02, 2013 at

Re: CP2102 mystery - ttyUSB0 vs usbfsbrltty/Projects/BrailleMemo/usbmon-ttyUSB0

2013-12-06 Thread Greg KH
On Fri, Dec 06, 2013 at 12:22:40PM -0500, Dave Mielke wrote: [quoted lines by Preston Fick on 2013/12/06 at 11:07 -0600] In my opinion I would just use the serial interface, unless you have a compelling reason to do something otherwise. Yes, I have a compelling reason. Apparently, though,

RE: [GIT PULL] xhci: Regression fix for 3.13.

2013-12-06 Thread David Laight
From: David Miller [mailto:da...@davemloft.net] From: Greg Kroah-Hartman gre...@linuxfoundation.org Date: Fri, 6 Dec 2013 09:29:47 -0800 On Fri, Dec 06, 2013 at 09:03:25AM -0800, Sarah Sharp wrote: On Fri, Dec 06, 2013 at 12:55:23AM -0500, Mark Lord wrote: On 13-12-02 04:42 PM, Greg

Re: [GIT PULL] xhci: Regression fix for 3.13.

2013-12-06 Thread Sarah Sharp
On Fri, Dec 06, 2013 at 05:46:40PM -, David Laight wrote: From: David Miller [mailto:da...@davemloft.net] From: Greg Kroah-Hartman gre...@linuxfoundation.org Date: Fri, 6 Dec 2013 09:29:47 -0800 On Fri, Dec 06, 2013 at 09:03:25AM -0800, Sarah Sharp wrote: On Fri, Dec 06, 2013

[GIT PULL] USB fixes for 3.13-rc3

2013-12-06 Thread Greg KH
The following changes since commit 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae: Linux 3.13-rc1 (2013-11-22 11:30:55 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-3.13-rc3 for you to fetch changes up to

Re: [GIT PULL] xhci: Regression fix for 3.13.

2013-12-06 Thread Greg KH
On Fri, Dec 06, 2013 at 10:19:47AM -0800, Sarah Sharp wrote: On Fri, Dec 06, 2013 at 05:46:40PM -, David Laight wrote: From: David Miller [mailto:da...@davemloft.net] From: Greg Kroah-Hartman gre...@linuxfoundation.org Date: Fri, 6 Dec 2013 09:29:47 -0800 On Fri, Dec 06,

GadgetFS EP Polling

2013-12-06 Thread palesius .
Just a shot in the dark here, but I'm working on a project where being able to poll endpoints on gadgetfs other than EP0 would be quite useful. I'm wondering whether they were not implemented because of a particular insoluble problem or just because no one has gotten around to it. Anyone have any

Re: [PATCH v5 2/5] usb: gadget: add quirk_ep_out_aligned_size field to struct usb_gadget

2013-12-06 Thread Felipe Balbi
On Tue, Nov 12, 2013 at 01:54:28PM +0100, Michal Nazarewicz wrote: On Tue, Nov 12 2013, David Cohen wrote: On 11/11/2013 03:55 PM, Michal Nazarewicz wrote: Come to think of it, perhaps even better helper would be: static inline size_t usb_ep_align_maybe( struct usb_gadget *gadget,

Re: [PATCH] usb: phy: am335x: Prevent GPIO reset line request

2013-12-06 Thread Felipe Balbi
On Sat, Nov 30, 2013 at 07:45:05PM -0300, Ezequiel Garcia wrote: On Thu, Nov 21, 2013 at 07:01:55AM -0600, Felipe Balbi wrote: On Thu, Nov 21, 2013 at 08:55:20AM -0300, Ezequiel Garcia wrote: On Thu, Nov 21, 2013 at 12:44:51PM +0100, Sebastian Andrzej Siewior wrote: On 11/21/2013 12:30

Re: [PATCH v5 2/5] usb: gadget: add quirk_ep_out_aligned_size field to struct usb_gadget

2013-12-06 Thread David Cohen
On 12/06/2013 12:13 PM, Felipe Balbi wrote: On Tue, Nov 12, 2013 at 01:54:28PM +0100, Michal Nazarewicz wrote: On Tue, Nov 12 2013, David Cohen wrote: On 11/11/2013 03:55 PM, Michal Nazarewicz wrote: Come to think of it, perhaps even better helper would be: static inline size_t

Re: [PATCHv5.1 3/5] usb: gadget: f_fs: remove loop from I/O function

2013-12-06 Thread Felipe Balbi
On Tue, Nov 12, 2013 at 12:57:22AM +0100, Michal Nazarewicz wrote: When endpoint changes (due to it being disabled or alt setting changed), mimic the action as if the change happened after the request has been queued, instead of retrying with the new endpoint. Signed-off-by: Michal

Re: [PATCH v5 5/5] usb: dwc3: set gadget's quirk ep_out_align_size

2013-12-06 Thread Felipe Balbi
On Mon, Nov 11, 2013 at 12:16:51PM -0800, David Cohen wrote: DWC3 requires epout to have buffer size aligned to MaxPacketSize value. This patch sets necessary quirk for it. Signed-off-by: David Cohen david.a.co...@linux.intel.com looks good -- balbi signature.asc Description: Digital

Re: [PATCHv5.1 4/5] check quirk to pad epout buf size when not aligned to maxpacketsize

2013-12-06 Thread Felipe Balbi
On Tue, Nov 12, 2013 at 10:26:17AM -0800, David Cohen wrote: On 11/12/2013 04:59 AM, Michal Nazarewicz wrote: On Tue, Nov 12 2013, David Cohen wrote: You need to update req-length otherwise it's going to crash DWC3. I'd rather to keep your previous version. That's unfortunate. Do you

Re: [PATCH 1/3] usb: phy-generic: Add GPIO based ChipSelect

2013-12-06 Thread Felipe Balbi
Hi, On Mon, Dec 02, 2013 at 03:05:17PM +0800, Chris Ruehl wrote: @@ -231,27 +249,40 @@ static int usb_phy_gen_xceiv_probe(struct platform_device *pdev) return -ENOMEM; nop-reset_active_low = true; /* default behaviour */ + nop-cs_active_low = true; if

Re: [PATCH v2 1/5] usb: dwc3: Add Keystone specific glue layer

2013-12-06 Thread Felipe Balbi
Hi, On Wed, Dec 04, 2013 at 03:10:07PM -0500, WingMan Kwok wrote: Add Keystone platform specific glue layer to support USB3 Host mode. Cc: Santosh Shilimkar santosh.shilim...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Signed-off-by: WingMan Kwok

Re: [PATCH v2 2/5] usb: phy: Add keystone usb phy driver

2013-12-06 Thread Felipe Balbi
Hi, On Wed, Dec 04, 2013 at 03:10:08PM -0500, WingMan Kwok wrote: Add Keystone platform USB PHY driver support. Current main purpose of this driver is to enable the PHY reference clock gate on the Keystone SoC. Otherwise it is a nop PHY. Cc: Santosh Shilimkar santosh.shilim...@ti.com Cc:

Re: [PATCH v2 4/5] ARM: dts: keystone: Add usb devicetree bindings

2013-12-06 Thread Felipe Balbi
Hi, On Wed, Dec 04, 2013 at 03:10:10PM -0500, WingMan Kwok wrote: diff --git a/Documentation/devicetree/bindings/usb/keystone-usb.txt b/Documentation/devicetree/bindings/usb/keystone-usb.txt new file mode 100644 index 000..ac2c7cc --- /dev/null +++

Re: [PATCH v2 3/5] ARM: dts: keystone: Add usb phy devicetree bindings

2013-12-06 Thread Felipe Balbi
On Wed, Dec 04, 2013 at 03:10:09PM -0500, WingMan Kwok wrote: Added device tree support for TI's Keystone USB PHY driver and updated the Documentation with device tree binding information. Cc: Santosh Shilimkar santosh.shilim...@ti.com Signed-off-by: WingMan Kwok w-kw...@ti.com ---

Re: GadgetFS EP Polling

2013-12-06 Thread Alan Stern
On Fri, 6 Dec 2013, palesius . wrote: Just a shot in the dark here, but I'm working on a project where being able to poll endpoints on gadgetfs other than EP0 would be quite useful. I'm wondering whether they were not implemented because of a particular insoluble problem or just because no

Re: [PATCH 1/2] USB: gadget: s3c-hsotg: fix maxpacket size in s3c_hsotg_irq_enumdone

2013-12-06 Thread Felipe Balbi
Hi, On Fri, Dec 06, 2013 at 01:03:44PM +0100, Robert Baldyga wrote: This patch set maximum possible maxpacket value for each speed. Previous values didn't allow to use maxpacket sizes greater than 64 in full speed and 512 in high speed, although hardware is able to handle up to 1023 in fs and

Re: [PATCH v4 4/4] USB: OMAP1: Tahvo USB transceiver driver

2013-12-06 Thread Felipe Balbi
On Fri, Dec 06, 2013 at 04:13:07PM +0200, Aaro Koskinen wrote: Add Tahvo USB transceiver driver. Based on old code from linux-omap tree. The original driver was written by Juha Yrjölä, Tony Lindgren, and Timo Teräs. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi compile error: CC

BBB gadgetfs freeze patch

2013-12-06 Thread palesius .
In working on a project (http://github.com/dominicgs/USBProxy) we ran across an issue where io on endpoint 0 would cause the system to hang. We made the following change which resolved the problem for us. I'm not sure if this is the correct fix, or if the problem is specific to our platform

Re: [PATCH v2 2/2] arm: omap: remove *.auto* from device names given in usb_bind_phy

2013-12-06 Thread Felipe Balbi
Hi, On Fri, Dec 06, 2013 at 01:14:38PM +0100, Javier Martinez Canillas wrote: On Fri, Dec 6, 2013 at 1:06 PM, Kishon Vijay Abraham I kis...@ti.com wrote: Previously MUSB wrapper (OMAP) device used PLATFORM_DEVID_AUTO while creating MUSB core device. So in usb_bind_phy (binds the

Re: BBB gadgetfs freeze patch

2013-12-06 Thread Felipe Balbi
Hi, On Fri, Dec 06, 2013 at 04:08:21PM -0500, palesius . wrote: In working on a project (http://github.com/dominicgs/USBProxy) we ran across an issue where io on endpoint 0 would cause the system to hang. We made the following change which resolved the problem for us. I'm not sure if this

Re: BBB gadgetfs freeze patch

2013-12-06 Thread palesius .
when i say it hangs i mean the entire system locks up not just my process. I was connected over SSH (the physical ethernet not USB ethernet) and it stops responding to pings entirely. I also tried with it hooked up to a monitor and keyboard, and it is totally unresponsive to keypresses as well.

Re: BBB gadgetfs freeze patch

2013-12-06 Thread Alan Stern
On Fri, 6 Dec 2013, Felipe Balbi wrote: Hi, On Fri, Dec 06, 2013 at 04:08:21PM -0500, palesius . wrote: In working on a project (http://github.com/dominicgs/USBProxy) we ran across an issue where io on endpoint 0 would cause the system to hang. We made the following change which

Re: [PATCH v2 1/5] usb: dwc3: Add Keystone specific glue layer

2013-12-06 Thread Santosh Shilimkar
On Friday 06 December 2013 03:28 PM, Felipe Balbi wrote: Hi, On Wed, Dec 04, 2013 at 03:10:07PM -0500, WingMan Kwok wrote: Add Keystone platform specific glue layer to support USB3 Host mode. Cc: Santosh Shilimkar santosh.shilim...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Greg

Re: BBB gadgetfs freeze patch

2013-12-06 Thread palesius .
well, at least on this hardware it happened with great consistency (100% of the attempts, (at least 20)) immediately upon attempting to setup the device. i think it happened right after opening the data endpoints (but without any data needing to be sent to trigger it) On Fri, Dec 6, 2013 at 4:35

Re: [PATCH v2 2/5] usb: phy: Add keystone usb phy driver

2013-12-06 Thread Santosh Shilimkar
On Wednesday 04 December 2013 03:10 PM, WingMan Kwok wrote: Add Keystone platform USB PHY driver support. Current main purpose of this driver is to enable the PHY reference clock gate on the Keystone SoC. Otherwise it is a nop PHY. Cc: Santosh Shilimkar santosh.shilim...@ti.com Cc: Felipe

Re: [PATCH v2 3/5] ARM: dts: keystone: Add usb phy devicetree bindings

2013-12-06 Thread Santosh Shilimkar
On Friday 06 December 2013 03:30 PM, Felipe Balbi wrote: On Wed, Dec 04, 2013 at 03:10:09PM -0500, WingMan Kwok wrote: Added device tree support for TI's Keystone USB PHY driver and updated the Documentation with device tree binding information. Cc: Santosh Shilimkar santosh.shilim...@ti.com

Re: [PATCH v2 0/5] Kesytone II USB support

2013-12-06 Thread Santosh Shilimkar
Wingman, On Wednesday 04 December 2013 03:10 PM, WingMan Kwok wrote: Here is the updated version of the series which addresses comments from earlier version [1]. The PHY register programming is moved to a separate PHY driver. Series adds USB host support for Keystone SOCs. Keystone SOCs

[PATCH] staging: dwc2: don't issue traffic to LS devices in FS mode

2013-12-06 Thread Paul Zimmerman
From: Nick Hudson sk...@netbsd.org I fell over the problem reported in https://github.com/raspberrypi/linux/pull/390: Issuing low-speed packets when the root port is in full-speed mode causes the root port to stop responding. Explicitly fail when enqueuing URBs to a LS endpoint on a FS bus.

Re: [PATCH] usb: phy: am335x: Prevent GPIO reset line request

2013-12-06 Thread Ezequiel Garcia
On Fri, Dec 06, 2013 at 02:16:23PM -0600, Felipe Balbi wrote: On Sat, Nov 30, 2013 at 07:45:05PM -0300, Ezequiel Garcia wrote: On Thu, Nov 21, 2013 at 07:01:55AM -0600, Felipe Balbi wrote: On Thu, Nov 21, 2013 at 08:55:20AM -0300, Ezequiel Garcia wrote: On Thu, Nov 21, 2013 at 12:44:51PM

RE: [PATCH v2 1/5] usb: dwc3: Add Keystone specific glue layer

2013-12-06 Thread Paul Zimmerman
From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of Santosh Shilimkar Sent: Friday, December 06, 2013 1:40 PM On Friday 06 December 2013 03:28 PM, Felipe Balbi wrote: Hi, On Wed, Dec 04, 2013 at 03:10:07PM -0500, WingMan Kwok wrote: Add

Re: XHCI: Handling of Zero length packet in data stage

2013-12-06 Thread Sarah Sharp
Sorry for the very delayed response on this, I'm trying to catch up on my email from around Kernel Summit and my vacation. On Tue, Oct 08, 2013 at 10:19:11AM -0400, Alan Stern wrote: On Mon, 7 Oct 2013, Sarah Sharp wrote: i am using 3.10 kernel. Also i looked at tip i see same

Re: [GIT PULL] xhci: Regression fix for 3.13.

2013-12-06 Thread Mark Lord
On 13-12-06 10:25 AM, Greg Kroah-Hartman wrote: On Fri, Dec 06, 2013 at 12:55:23AM -0500, Mark Lord wrote: On 13-12-02 04:42 PM, Greg Kroah-Hartman wrote: On Mon, Dec 02, 2013 at 12:49:08PM -0800, Sarah Sharp wrote: The following changes since commit c24cb6c8b501ebdf1aacec7960110a9741a45ced:

Re: [RFC] usb: XHCI: Handle ZLP data properly in control transfers

2013-12-06 Thread Sarah Sharp
Hi Jack, Sorry for the extremely delayed reply, I've been trying to catch up on my patch queue. On Tue, Oct 22, 2013 at 12:33:27PM -0700, Jack Pham wrote: From: Hemant Kumar hema...@codeaurora.org USB control transfers can contain an optional IN data stage, in which case the xHCI driver

Re: [PATCH] staging: dwc2: don't issue traffic to LS devices in FS mode

2013-12-06 Thread Stephen Warren
On 12/06/2013 03:01 PM, Paul Zimmerman wrote: From: Nick Hudson sk...@netbsd.org I fell over the problem reported in https://github.com/raspberrypi/linux/pull/390: Issuing low-speed packets when the root port is in full-speed mode causes the root port to stop responding. Explicitly fail

RE: [PATCH v2 1/5] usb: dwc3: Add Keystone specific glue layer

2013-12-06 Thread Shilimkar, Santosh
(sorry for html reply) From: Paul Zimmerman [paul.zimmer...@synopsys.com] Sent: Friday, December 06, 2013 5:23 PM To: Shilimkar, Santosh; Balbi, Felipe; Kwok, WingMan Cc: linux-arm-ker...@lists.infradead.org; linux-usb@vger.kernel.org; Greg Kroah-Hartman

RE: [PATCH v2 1/5] usb: dwc3: Add Keystone specific glue layer

2013-12-06 Thread Paul Zimmerman
From: Shilimkar, Santosh [mailto:santosh.shilim...@ti.com] Sent: Friday, December 06, 2013 9:25 PM From: Paul Zimmerman [paul.zimmer...@synopsys.com] Sent: Friday, December 06, 2013 5:23 PM From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of