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 --- drivers/usb/atm/usbatm.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/atm/usbatm.c b/drivers/us

Re: [PATCHv3] usb: chipidea: add support for USB OTG controller on TI-NSPIRE

2013-12-06 Thread Peter Chen
On Wed, Dec 04, 2013 at 03:02:56PM +0800, Peter Chen wrote: > On Mon, Nov 25, 2013 at 02:53:37PM +1100, dt.ta...@gmail.com wrote: > > From: Daniel Tang > > > > The USB controller in TI-NSPIRE calculators are based off either Freescale's > > USB OTG controller or the USB controller found in the IM

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

2013-12-06 Thread Peter Chen
From: Chris Ruehl 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 Signed-off-by: Peter Chen --- drivers/usb/chipidea/core.c |3 ++- 1 files changed, 2 insertions(+), 1 delet

[PATCH 2/4] usb: chipidea: imx: avoid unnecessary probe defer every time

2013-12-06 Thread Peter Chen
The ci_hdrc_imx's probe needs usbmisc_imx to be loadded beforehand, so it is better we load usbmisc_imx first. Signed-off-by: Peter Chen --- drivers/usb/chipidea/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/chipidea/Makefile b/drivers/usb/chipide

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

2013-12-06 Thread Peter Chen
From: Alexander Shiyan 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 Signed-off-by: Peter Chen --- drivers/usb/chipidea/usbmisc_imx.c |4 1 files change

[PATCH 0/4] Chipidea Patches for 3.14

2013-12-06 Thread Peter Chen
Hi Greg, Below four patches are for usb-next, thanks. Alexander Shiyan (2): usb: chipidea: usbmisc: Add support for i.MX27/i.MX31 CPUs usb: chipidea: usbmisc: Add support for i.MX51 CPU Chris Ruehl (1): usb: chipidea: Reallocate regmap only if lpm is detected Peter Chen (1): usb: chipid

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

2013-12-06 Thread Peter Chen
From: Alexander Shiyan This adds i.MX27 and i.MX31 as the next user of the usbmisc driver. Tested-by: Chris Ruehl Signed-off-by: Alexander Shiyan Signed-off-by: Peter Chen --- drivers/usb/chipidea/usbmisc_imx.c | 42 1 files changed, 42 insertions(+), 0

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/shr

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 [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 u

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

2013-12-06 Thread Marc Kleine-Budde
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 used it makes no sense to allocate a seperate >> memory block for it, this pa

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 al

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 a

[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 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 equals to 2 and the

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

2013-12-06 Thread Peter Chen
On Fri, Dec 06, 2013 at 10:14:33AM +0100, Marc Kleine-Budde wrote: > 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 > >> streamline

[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 --- 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 --- changes since v1: -

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

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

[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 Signed-off-by: Kyungmin Park --- .../devicetree/bindings/phy/samsung-usbphy.txt |1 + drivers/phy/Kconfig|8 + drivers/phy/Makefile

[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 Signed-off-by: Kyungmin Park --- .../devicetree/bindings/arm/samsung/pmu.txt|2 ++ arch/arm/boot/dts/exynos4.dtsi | 31 arch/arm/boot/dts/exynos4

[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 Signed-off-by: Kyungmin Park --- arch/arm/boot/dts/exynos5250.dtsi | 33 + 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/arch/arm/boot/dts/ex

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 th

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

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 > Signed-off-by: Kyungmin Park > --

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 > Signed-off-by: Kyungmin Park > --- > .../devicetree/bindings/usb/samsung-hsotg.txt |4 +

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 > > Add support for the Samsung's S5PV210 SoC to the Exynos USB PHY driver. > > Signed-off-by: Mateusz Krawczuk > [k.deb...@samsung.com: cleanup and commit description] > [k.deb...@samsung.com: make changes a

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 > Signed-off-by: Kyungmin Park > --- > .../devicetree/bindings/phy/samsung-usbphy.txt |1 + > drivers/phy/Kconf

[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 b

[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 Signed-off-by: Kyungmin Park

[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 R&D Institute Poland Robert Ba

[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 re

[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 advance

[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

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 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. Since with us

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

[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 Acked-by: Tony Lindgren --- arch/arm/mach-omap1/include/mach/usb.h | 38 +--- include/linux/platform_data/usb-omap1.h | 51 + 2 files chang

[PATCH v4 3/4] USB: OMAP1: OTG controller driver

2013-12-06 Thread Aaro Koskinen
Transceivers need to manage OTG controller state on OMAP1 to enable switching between peripheral and host modes. Provide a driver for that. Signed-off-by: Aaro Koskinen --- drivers/usb/phy/Kconfig| 10 +++ drivers/usb/phy/Makefile | 1 + drivers/usb/phy/phy-omap-otg.c | 169

[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 --- 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 8c7764ddd284..43b5ce139c37 100644 --- a/inclu

[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 --- Documentation/ABI/testing/sysfs-platform-tahvo-usb | 16 + drivers/usb/phy/Kconfig

Re: [PATCH v3 07/10] drivers: phy: usb3/pipe3: Adapt pipe3 driver to Generic PHY Framework

2013-12-06 Thread Roger Quadros
Hi Kishon, On 11/25/2013 12:01 PM, Kishon Vijay Abraham I wrote: > Adapted omap-usb3 PHY driver to Generic PHY Framework and moved phy-omap-usb3 > driver in drivers/usb/phy to drivers/phy and also renamed the file to > phy-ti-pipe3 since this same driver will be used for SATA PHY and > PCIE PHY. >

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 port

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 > > Signed-off

[PATCH] USB: fix coccinelle warnings

2013-12-06 Thread oliver
From: Fengguang Wu 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 information: This makes an effo

[PATCH] Revert "USB: quirks: add touchscreen that is dazzeled by remote wakeup"

2013-12-06 Thread oliver
From: Oliver Neukum This reverts commit 614ced91fc6fbb5a1cdd12f0f1b6c9197d9f1350. The units on this was seen were prototypes and the issue is not seen on younger units. Signed-off-by: Oliver Neukum --- drivers/usb/core/quirks.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/usb/

Re: [PATCH 2/4 V2] ARM: mx28: Add USB PHY overcurrent pinmux

2013-12-06 Thread Michael Grzeschik
Hi Peter, On Tue, Nov 26, 2013 at 12:08:03PM +, Peter Chen wrote: > > The GPIO is working for this pin. But also the DIGCTL register bits > > helped here. Now the OC event triggers if the pin gets pulled to 3V3. > > > > I am currently looking for a good place to enable the DIGCTL bits. > > I

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.1

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 mailto:duncan.sa...@gmail.com>> wrote: On 06/

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 > > >> c24cb6

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 frame

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 Exyn

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 worki

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

2013-12-06 Thread Kamil Debski
Hi, > From: Kamil Debski [mailto:k.deb...@samsung.com] > Sent: Friday, December 06, 2013 5:28 PM > > 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 0

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

2013-12-06 Thread Greg KH
On Fri, Dec 06, 2013 at 11:37:34AM -0500, Dave Mielke wrote: > 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

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.1

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// >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 already d

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

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

2013-12-06 Thread Dave Mielke
[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, this community doesn't believe in being helpful. -- Dave Mielke

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 l

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 > > >> c24cb6c8

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

2013-12-06 Thread David Miller
From: Greg Kroah-Hartman 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 12:49:08PM -0800, Sarah Sh

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, t

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 > > 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-Hartma

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 09:34 -0800] >Please realize what you are asking for here. Basically you are saying, >"I don't want to use your code, so please help debug my reimplementation >of your code without being able to see it at all because I need the >help." Our code is comple

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 > > > 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:2

[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 2d51f3cd11f414c56a8

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 > > > > Date: Fri, 6 Dec 2013 09:29:47 -0800 > > > > > > > On Fri, Dec 06, 2013 at 09

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 i

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_gadg

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/201

Re: [PATCH v2 1/7] usb: dwc3: get "usb_phy" only if the platform indicates the presence of PHY's

2013-12-06 Thread Felipe Balbi
On Tue, Dec 03, 2013 at 12:39:50PM +0200, Heikki Krogerus wrote: > Hi, > > On Thu, Oct 17, 2013 at 09:54:26AM -0500, Felipe Balbi wrote: > > On Wed, Oct 16, 2013 at 04:27:26PM +0300, Roger Quadros wrote: > > > On 10/16/2013 04:10 PM, Kishon Vijay Abraham I wrote: > > > Do you know if there are use

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 siz

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 Nazar

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 looks good -- balbi signature.asc Description: Digital signature

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 unfortun

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; > >

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 > Cc: Felipe Balbi > Cc: Greg Kroah-Hartman > Signed-off-by: WingMan Kwok > --- > drivers/usb/dwc3/Kconfig |7 ++ >

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 > Cc: Felipe Balbi > 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 > +++ b/Documentation/devicetree/bindi

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 > Signed-off-by: WingMan Kwok > --- > .../devicetree/bindings/usb/keystone-p

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 >

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 compile error: CC [M] drivers/usb

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 Beag

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 wrote: > > Previously MUSB wrapper (OMAP) device used PLATFORM_DEVID_AUTO while > > creating > > MUSB core device. So in usb_bind_phy (binds the controller with

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 th

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. Thi

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

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 >> Cc: Felipe Balbi >> Cc: Greg Kroah-Hartman >> Signed-off-by:

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 P

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 > Cc: Felipe Balbi > Cc: Greg Kr

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 >> Signed-off-by

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 SOC

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

2013-12-06 Thread Paul Zimmerman
From: Nick Hudson 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." with my dwc2 tes

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 1

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: >

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 implement

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 c24cb6c8b501ebdf1aacec796011

  1   2   >