[PATCH 0/3] ARM: at91: at91sam9n12ek: enable usb gadget support

2015-02-09 Thread Bo Shen
This patch series enable the usb gadget support on at91sam9n12ek board. On at91sam9n12 SoC which integrate the full speed udc device. Bo Shen (3): USB: gadget: at91_udc: add at91sam9n12 support ARM: at91: dt: at91sam9n12: add udp device node ARM: at91: dt: at91sam9n12ek: enable udp

[PATCH 3/3] ARM: at91: dt: at91sam9n12ek: enable udp

2015-02-09 Thread Bo Shen
Enable usb device port on at91sam9n12ek board. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/boot/dts/at91sam9n12ek.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts index 13bb24e..3e572e5 100644

[PATCH 2/3] ARM: at91: dt: at91sam9n12: add udp device node

2015-02-09 Thread Bo Shen
Add usb device node for at91sam9n12. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/boot/dts/at91sam9n12.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi index 68eb9ad..6120e03 100644 ---

[PATCH 1/3] USB: gadget: at91_udc: add at91sam9n12 support

2015-02-09 Thread Bo Shen
Add at91sam9n12 SoC support. Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/usb/gadget/udc/at91_udc.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/usb/gadget/udc/at91_udc.c b/drivers/usb/gadget/udc/at91_udc.c index c862656..f4c785f 100644 ---

Re: [PATCH] usb: isp1760: use msecs_to_jiffies for time conversion

2015-02-09 Thread Laurent Pinchart
Hi Nicholas, Thank you for the patch. On Friday 06 February 2015 05:08:53 Nicholas Mc Guire wrote: This is only an API consolidation and should make things more readable it replaces var * HZ / 1000 by msecs_to_jiffies(var). Signed-off-by: Nicholas Mc Guire hof...@osadl.org Acked-by:

Re: [PATCH 1/2] usb: gadget: udc-core: independent registration of gadgets and gadget drivers

2015-02-09 Thread Peter Chen
On Sun, Feb 08, 2015 at 09:04:32PM +0200, Ruslan Bilovol wrote: Hi Alan, On Thu, Jan 29, 2015 at 5:56 PM, Alan Stern st...@rowland.harvard.edu wrote: On Thu, 29 Jan 2015, Ruslan Bilovol wrote: Change behavior during registration of gadgets and gadget drivers in udc-core. Instead of

Re: [PATCH 3/3] ARM: at91: dt: at91sam9n12ek: enable udp

2015-02-09 Thread Sylvain Rochet
Hello Bo, On Mon, Feb 09, 2015 at 05:02:52PM +0800, Bo Shen wrote: Enable usb device port on at91sam9n12ek board. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/boot/dts/at91sam9n12ek.dts | 5 + 1 file changed, 5 insertions(+) diff --git

Re: [PATCH] usb-storage: support for more than 8 LUNs

2015-02-09 Thread Alan Stern
On Mon, 9 Feb 2015, Oliver Neukum wrote: This is necessary to make some storage arrays work. Some storage devices have more than 8 LUNs. In addition you can hook up a WideSCSI bus to USB. In these cases even level 2 devices can have more than 8 devices. For them it is necessary to simply

Re: intensive IO on usb-storage device causing system lock

2015-02-09 Thread Enrico Mioso
Hello guys. Now that 3.19 is out there - I would like to know if I can domething more to help improve the situation regarding this bug - send some more info. I might eventually try to debug the problem differently but I will need some more spare time to do so. Thank you for all the help and

Re: [PATCH] usb-storage: support for more than 8 LUNs

2015-02-09 Thread Oliver Neukum
On Mon, 2015-02-09 at 11:10 -0500, Alan Stern wrote: On Mon, 9 Feb 2015, Oliver Neukum wrote: This is necessary to make some storage arrays work. Some storage devices have more than 8 LUNs. In addition you can hook up a WideSCSI bus to USB. In these cases even level 2 devices can

Re: [PATCH v2 4/4] usb: phy: add phy-hi6220-usb

2015-02-09 Thread Zhangfei Gao
On 9 February 2015 at 22:26, zhangfei zhangfei@linaro.org wrote: On 02/09/2015 10:11 AM, Peter Chen wrote: +static void hi6220_detect_work(struct work_struct *work) +{ + struct hi6220_priv *priv = + container_of(work, struct hi6220_priv, work.work); + int

Re: [PATCH V5 6/8] USB: f81232: clarify f81232_ioctl()

2015-02-09 Thread Peter Hung
Hello, Johan Hovold 於 2015/2/9 下午 04:42 寫道: The value you should be returning is jiffies_to_msecs(port-port.closing_wait) / 10, unless the value is ASYNC_CLOSING_WAIT_NONE in which case you simply return that, and similarly for close_delay. I'll try to fix it, or reuse default value next

Re: How to downgrade super speed device

2015-02-09 Thread Alan Stern
On Tue, 10 Feb 2015, Huang Rui wrote: On Mon, Feb 09, 2015 at 10:59:42AM -0500, Alan Stern wrote: On Mon, 9 Feb 2015, Huang Rui wrote: Hi, Do you have any trick to downgrade one USB3 capacity device from super speed mode to high speed mode on xhci port via host side?

Re: [PATCH 1/3] USB: gadget: at91_udc: add at91sam9n12 support

2015-02-09 Thread Bo Shen
=f0bceab4e3b528e799aba8fda8d2936fcfd41f1f Thanks for you information. Missing this patch, check the next-20150209, it is here. I will base on next-20150209, so this patch no need anymore, only need to change the dts(i) file now. Thanks again. u32 txvc = at91_udp_read(udc

[PATCH v2 1/2] ARM: at91: dt: at91sam9n12: add udp device node

2015-02-09 Thread Bo Shen
Add usb device node for at91sam9n12. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: None arch/arm/boot/dts/at91sam9n12.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi index

[PATCH v2 2/2] ARM: at91: dt: at91sam9n12ek: enable udp

2015-02-09 Thread Bo Shen
Enable usb device port on at91sam9n12ek board. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - Add pinctrl for usb1 vbus sense. arch/arm/boot/dts/at91sam9n12ek.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts

[PATCH v2 0/2] ARM: at91: dt: at91sam9n12ek: enable udp device

2015-02-09 Thread Bo Shen
This patch series enable usb device support on at91sam9n12ek board. Changes in v2: - Base on next-20150209 (so, remove the modification of udc driver). - Add pinctrl for usb1 vbus sense. Bo Shen (2): ARM: at91: dt: at91sam9n12: add udp device node ARM: at91: dt: at91sam9n12ek: enable udp

RE: [PATCH 0/2] ARM: shmobile: r8a7790: add for USB-DMAC

2015-02-09 Thread yoshihiro shimoda
Hi Simon-san, On Mon, Feb 09, 2015 at 08:41:18AM +, yoshihiro shimoda wrote: Subject: [PATCH 0/2] ARM: shmobile: r8a7790: add for USB-DMAC Oops, I mistook this subject of cover-letter. However, actual patches are correct. Thanks, I think it would be best if you resubmitted

Re: How to downgrade super speed device

2015-02-09 Thread Alan Stern
On Mon, 9 Feb 2015, Huang Rui wrote: Hi, Do you have any trick to downgrade one USB3 capacity device from super speed mode to high speed mode on xhci port via host side? Connect it to the host by a USB-2 cable. Alan Stern -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 1/2] usb: gadget: udc-core: independent registration of gadgets and gadget drivers

2015-02-09 Thread Alan Stern
On Sun, 8 Feb 2015, Ruslan Bilovol wrote: Hi Alan, On Thu, Jan 29, 2015 at 5:56 PM, Alan Stern st...@rowland.harvard.edu wrote: On Thu, 29 Jan 2015, Ruslan Bilovol wrote: Change behavior during registration of gadgets and gadget drivers in udc-core. Instead of previous approach when

Re: Identifying Synopsys USB3 Controller on Baytrail Device

2015-02-09 Thread Felipe Balbi
Hi, On Sun, Feb 08, 2015 at 02:51:16PM -0700, Joseph Kogut wrote: I have an Intel Valleyview/Baytrail based device (specifically a Dell Venue 8 Pro 5830) that I'd like to be able to use the Linux Gadget subsystem on, but it seems that the controller isn't currently supported. I'm running the

Re: [PATCH 2/2] usb: musb: Fix getting a generic phy for musb_dsps

2015-02-09 Thread Bin Liu
On Mon, Feb 9, 2015 at 12:39 PM, Tony Lindgren t...@atomide.com wrote: * Bin Liu binml...@gmail.com [150206 10:21]: Tony, On Fri, Feb 6, 2015 at 11:23 AM, Tony Lindgren t...@atomide.com wrote: * George Cherian george.cher...@ti.com [150206 05:05]: Hi Tony, You also need to add similar

Re: [PATCH] usb-storage: support for more than 8 LUNs

2015-02-09 Thread Alan Stern
On Mon, 9 Feb 2015, Oliver Neukum wrote: On Mon, 2015-02-09 at 11:10 -0500, Alan Stern wrote: On Mon, 9 Feb 2015, Oliver Neukum wrote: This is necessary to make some storage arrays work. Some storage devices have more than 8 LUNs. In addition you can hook up a WideSCSI bus to

RE: [PATCH 1/2] usb: gadget: udc-core: independent registration of gadgets and gadget drivers

2015-02-09 Thread Alan Stern
On Mon, 9 Feb 2015, Krzysztof Opasiak wrote: Why bother matching by name? Why not simply take the first available UDC? Because you may have more than one udc. This would allow to pick one by name just like using configfs interface. Clearly it would be more flexible to allow the user

[PATCH 1/3] usb: chipidea: otg: remove unnecessary B_SESS_VLD timer

2015-02-09 Thread Li Jun
From: Li Jun b47...@freescale.com Since BSV irq is enabled for B-device all the time, so B_SESS_VLD timer is not required, and also no need to check BSV status when B_ASE0_BRST timer timeout. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/chipidea/otg_fsm.c | 31

[PATCH 3/3] usb: chipidea: use hrtimer for otg fsm timers

2015-02-09 Thread Li Jun
From: Li Jun b47...@freescale.com Current otg fsm timers are using controller 1ms irq and count it, this patch is to replace it with hrtimer solution, use one hrtimer for all otg timers. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/chipidea/ci.h | 10 +-

[PATCH 2/3] usb: otg-fsm: move 2 otg fsm timers definition to otg_fsm_timer

2015-02-09 Thread Li Jun
From: Li Jun b47...@freescale.com B_DATA_PLS(data-line pulse time) and B_SSEND_SRP(session end to SRP init) are also from OTGEH 2.0 Specification and they are not chipidea specific. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/chipidea/otg_fsm.c |8

[PATCH v2 1/1] usb: chipidea: support runtime power management for otg fsm mode

2015-02-09 Thread Li Jun
From: Li Jun b47...@freescale.com This patch adds runtime power management support for otg fsm mode, since A-device in a_idle state cannot detect data pulse irq after suspended, here enable wakeup by connection before suspend to make it can be resumed by DP; and handle wakeup from that state like

[PATCH 0/4] usb: renesas_usbhs: add support for USB-DMAC

2015-02-09 Thread Yoshihiro Shimoda
This patch set is based on Felipe's usb.git / testing/next branch. (commit id = 6461d69d12508fe166be5c6c31d5a9da02a4dfb5) To use the USB-DMAC, we have to add some device nodes for USB-DMAC in dts file. If we don't have such device nodes, this driver will use PIO. Yoshihiro Shimoda (4): usb:

[PATCH 3/4] usb: renesas_usbhs: fix the sequence in xfer_work()

2015-02-09 Thread Yoshihiro Shimoda
This patch fixes the setup sequence in xfer_work(). Otherwise, sometimes a usb transaction will get stuck. Signed-off-by: Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com --- drivers/usb/renesas_usbhs/fifo.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 2/4] usb: renesas_usbhs: add the channel number in dma-names

2015-02-09 Thread Yoshihiro Shimoda
To connect the channel of USB-DMAC to USBHS DnFIFO number, this patch adds this channel/FIFO number in dma-names. Otherwise, this driver needs to add analysis code for device tree. Signed-off-by: Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com --- .../devicetree/bindings/usb/renesas_usbhs.txt

[PATCH 4/4] usb: renesas_usbhs: add support for USB-DMAC

2015-02-09 Thread Yoshihiro Shimoda
Some Renesas SoCs have the USB-DMAC. It is able to terminate transfers when a short packet is received, even if less bytes than the transfer counter size have been received. Also, it is able to send a short packet even if the packet size is not multiples of 8bytes. Since the previous code has

[PATCH 1/4] usb: renesas_usbhs: fix spinlock recursion by usbhsf_dma_complete()

2015-02-09 Thread Yoshihiro Shimoda
The usbhsf_pkt_handler(pipe, USBHSF_PKT_DMA_DONE) in usbhsf_dma_complete() will call the complete function of a usb gadget driver finally. According to the gadget.h, The function will always be called with interrupts disabled. So, this patch adds a local_irq_save/local_irq_restore in the

[PATCH 0/2] ARM: shmobile: r8a7790: add for USB-DMAC

2015-02-09 Thread Yoshihiro Shimoda
This patch set is based on renesas.git / renesas-devel-20150202-v3.19-rc7 tag. (commit id = bcfb200689185c6f7c5357c832d1d8fcea80c80c) This patch set is related to the usb-dmac driver. Now I submitted some patches: http://thread.gmane.org/gmane.linux.drivers.devicetree/109578/ Yoshihiro Shimoda

[PATCH 1/2] ARM: shmobile: r8a7790: add USB-DMAC device nodes

2015-02-09 Thread Yoshihiro Shimoda
Signed-off-by: Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com --- arch/arm/boot/dts/r8a7790.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi index 24de994..737b578 100644 ---

[PATCH 2/2] ARM: shmobile: r8a7791: Enable DMA for HSUSB

2015-02-09 Thread Yoshihiro Shimoda
Add DMA properties to the HSUSB node. Signed-off-by: Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com --- arch/arm/boot/dts/r8a7791.dtsi |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi index 9343548..9c6d174 100644 ---

[PATCH 0/2] ARM: shmobile: r8a7790: add for USB-DMAC

2015-02-09 Thread Yoshihiro Shimoda
This patch set is based on renesas.git / renesas-devel-20150202-v3.19-rc7 tag. (commit id = bcfb200689185c6f7c5357c832d1d8fcea80c80c) This patch set is related to the usb-dmac driver. Now I submitted some patches: http://thread.gmane.org/gmane.linux.drivers.devicetree/109578/ Yoshihiro Shimoda

Re: [PATCH v2 1/3] usb: XHCI: platform: Move the Marvell quirks after the enabling the clocks

2015-02-09 Thread Maxime Ripard
On Wed, Feb 04, 2015 at 05:04:18AM -0800, Greg Kroah-Hartman wrote: On Wed, Feb 04, 2015 at 10:35:22AM +0100, Maxime Ripard wrote: Hi Mathias, Greg, On Mon, Jan 19, 2015 at 02:01:12PM +0100, Maxime Ripard wrote: The commit 973747928514 (usb: host: xhci-plat: add support for the Armada

[PATCH 1/2] ARM: shmobile: r8a7791: add USB-DMAC device nodes

2015-02-09 Thread Yoshihiro Shimoda
Signed-off-by: Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com --- arch/arm/boot/dts/r8a7791.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi index afba8af..9343548 100644 ---

[PATCH 2/2] ARM: shmobile: r8a7790: Enable DMA for HSUSB

2015-02-09 Thread Yoshihiro Shimoda
Add DMA properties to the HSUSB node. Signed-off-by: Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com --- arch/arm/boot/dts/r8a7790.dtsi |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi index 737b578..8dd62fb 100644 ---

Re: [PATCH v2 1/3] usb: XHCI: platform: Move the Marvell quirks after the enabling the clocks

2015-02-09 Thread Greg Kroah-Hartman
On Mon, Feb 09, 2015 at 09:22:50AM +0100, Maxime Ripard wrote: On Wed, Feb 04, 2015 at 05:04:18AM -0800, Greg Kroah-Hartman wrote: On Wed, Feb 04, 2015 at 10:35:22AM +0100, Maxime Ripard wrote: Hi Mathias, Greg, On Mon, Jan 19, 2015 at 02:01:12PM +0100, Maxime Ripard wrote: The

Re: [PATCH v2 1/1] usb: chipidea: support runtime power management for otg fsm mode

2015-02-09 Thread Peter Chen
On Mon, Feb 09, 2015 at 02:45:30PM +0800, Li Jun wrote: From: Li Jun b47...@freescale.com This patch adds runtime power management support for otg fsm mode, since A-device in a_idle state cannot detect data pulse irq after suspended, here enable wakeup by connection before suspend to make it

RE: [PATCH 0/2] ARM: shmobile: r8a7790: add for USB-DMAC

2015-02-09 Thread yoshihiro shimoda
Subject: [PATCH 0/2] ARM: shmobile: r8a7790: add for USB-DMAC Oops, I mistook this subject of cover-letter. However, actual patches are correct. Best regards, Yoshihiro Shimoda -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to

Re: [PATCH V5 6/8] USB: f81232: clarify f81232_ioctl()

2015-02-09 Thread Johan Hovold
On Mon, Feb 09, 2015 at 02:59:12PM +0800, Peter Hung wrote: Hello, Sergei Shtylyov 於 2015/2/6 下午 08:21 寫道: We extract TIOCGSERIAL section in f81232_ioctl() to f81232_get_serial_info() to make it clarify You're also changing 'ser.baud_rate' from 460800 to 115200. And explicitly

[PATCH v3 1/1] usb: chipidea: support runtime power management for otg fsm mode

2015-02-09 Thread Li Jun
From: Li Jun b47...@freescale.com This patch adds runtime power management support for otg fsm mode, since A-device in a_idle state cannot detect data pulse irq after suspended, here enable wakeup by connection before suspend to make it can be resumed by DP; and handle wakeup from that state like

[PATCH v3 2/5] Documentation: dt-bindings: add dt binding info for hi6220

2015-02-09 Thread Zhangfei Gao
Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- .../devicetree/bindings/usb/hi6220-usb.txt | 49 ++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/hi6220-usb.txt diff --git

[PATCH v3 5/5] usb: phy: add phy-hi6220-usb

2015-02-09 Thread Zhangfei Gao
Add usb phy controller for hi6220 platform Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- drivers/usb/phy/Kconfig | 9 ++ drivers/usb/phy/Makefile | 1 + drivers/usb/phy/phy-hi6220-usb.c | 308 +++ 3 files changed, 318

[PATCH v3 4/5] usb: phy: load usb phy earlier

2015-02-09 Thread Zhangfei Gao
Since phy is definitely used in usb controller, load the phy earlier to make boot time shorter. Signed-off-by: Zhangfei Gao zhangfei@linaro.org Acked-by: Peter Chen peter.c...@freescale.com --- drivers/usb/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v3 3/5] usb: dwc2: platform: add hi6220 support

2015-02-09 Thread Zhangfei Gao
Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- drivers/usb/dwc2/platform.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/drivers/usb/dwc2/platform.c b/drivers/usb/dwc2/platform.c index ae095f0..f7c67db 100644 --- a/drivers/usb/dwc2/platform.c +++

Re: [PATCH 0/2] Fix 2 otg fsm mode issues for chipidea usb driver

2015-02-09 Thread Peter Chen
On Mon, Feb 09, 2015 at 09:23:57PM +0800, Li Jun wrote: From: Li Jun b47...@freescale.com Hi Peter, The 2 patches are to fix the problems I found in otg fsm mode. The 1st patch is to fix one system hang issue in otg fsm mode if runtime PM is enabled, but can not cover vbus glitch case you

Re: [PATCH 2/2] usb: chipidea: udc: do not run udc directly when start udc in otg fsm mode

2015-02-09 Thread Peter Chen
On Mon, Feb 09, 2015 at 09:23:59PM +0800, Li Jun wrote: From: Li Jun b47...@freescale.com For A-device, when load gadget driver, we should not run udc either as this will be controlled by otg fsm. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/chipidea/udc.c |5 +++-- 1

[PATCH v3 1/5] Documentation: dt-bindings: add dt binding info for hi6220 dwc2

2015-02-09 Thread Zhangfei Gao
Add necessary dwc2 binding documentation for Hisilicon soc: hi6220 Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- Documentation/devicetree/bindings/usb/dwc2.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt

[PATCH v3 0/5] add usb support for hi6220

2015-02-09 Thread Zhangfei Gao
v3: fix typo and add -EPROBE_DEFER of regulator, pointed by Peter v2: address comments from Sergei and Peter add hi6220_phy_setup(false) code v1: hi6220 usb controller is inherited from dwc2 add phy accordingly support otg gadget/host Zhangfei Gao (5): Documentation: dt-bindings: add dt

RE: [PATCH 1/2] usb: gadget: udc-core: independent registration of gadgets and gadget drivers

2015-02-09 Thread Krzysztof Opasiak
Hi, (... snip ...) You don't need all this stuff. What's the point of keeping track of names? If there are any unbound gadget drivers pending, a newly registered UDC should bind to the first one available. It's because gadget driver may be bound to usb_gadget in two ways:

Re: [PATCH 2/2] usb: musb: Fix getting a generic phy for musb_dsps

2015-02-09 Thread Tony Lindgren
* George Cherian george.cher...@ti.com [150208 22:02]: Hi Tony, On 02/06/2015 10:53 PM, Tony Lindgren wrote: * George Cherian george.cher...@ti.com [150206 05:05]: Hi Tony, You also need to add similar things in dsps_musb_reset(); Otherwise you might not recover from a BABBLE condition.

Re: [PATCH 2/2] usb: musb: Fix getting a generic phy for musb_dsps

2015-02-09 Thread Tony Lindgren
* Bin Liu binml...@gmail.com [150206 10:21]: Tony, On Fri, Feb 6, 2015 at 11:23 AM, Tony Lindgren t...@atomide.com wrote: * George Cherian george.cher...@ti.com [150206 05:05]: Hi Tony, You also need to add similar things in dsps_musb_reset(); Otherwise you might not recover from a

RE: [PATCH 1/2] usb: gadget: udc-core: independent registration of gadgets and gadget drivers

2015-02-09 Thread Krzysztof Opasiak
-Original Message- From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- ow...@vger.kernel.org] On Behalf Of Krzysztof Opasiak Sent: Monday, February 09, 2015 7:06 PM To: 'Alan Stern'; 'Ruslan Bilovol'; 'Peter Chen' Cc: linux-usb@vger.kernel.org; linux-ker...@vger.kernel.org;

Re: How to downgrade super speed device

2015-02-09 Thread Huang Rui
On Mon, Feb 09, 2015 at 10:59:42AM -0500, Alan Stern wrote: On Mon, 9 Feb 2015, Huang Rui wrote: Hi, Do you have any trick to downgrade one USB3 capacity device from super speed mode to high speed mode on xhci port via host side? Connect it to the host by a USB-2 cable. If

RE: PROBLEM: USB isochronous urb leak on EHCI driver

2015-02-09 Thread Alan Stern
On Mon, 9 Feb 2015, Michael Tessier wrote: Okay; I did my homeworks. We've loaded kernel V3.16 (Oct 14th, 2015) on an i.MX51 plattform and the problem is still there. Unless an important change occured in V3.19, it appears that the latest kernel is not the solution for us. So we're still not

Re: [PATCH 1/3] USB: gadget: at91_udc: add at91sam9n12 support

2015-02-09 Thread Alexandre Belloni
Hi Bo, On 09/02/2015 at 17:02:50 +0800, Bo Shen wrote : Add at91sam9n12 SoC support. Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/usb/gadget/udc/at91_udc.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/usb/gadget/udc/at91_udc.c

How to downgrade super speed device

2015-02-09 Thread Huang Rui
Hi, Do you have any trick to downgrade one USB3 capacity device from super speed mode to high speed mode on xhci port via host side? Thanks, Rui -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 3/3] ARM: at91: dt: at91sam9n12ek: enable udp

2015-02-09 Thread Bo Shen
Hi Sylvain, On 02/09/2015 06:04 PM, Sylvain Rochet wrote: Hello Bo, On Mon, Feb 09, 2015 at 05:02:52PM +0800, Bo Shen wrote: Enable usb device port on at91sam9n12ek board. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/boot/dts/at91sam9n12ek.dts | 5 + 1 file changed, 5

Re: [PATCH v2 1/1] usb: chipidea: support runtime power management for otg fsm mode

2015-02-09 Thread Li Jun
On Mon, Feb 09, 2015 at 03:22:17PM +0800, Peter Chen wrote: On Mon, Feb 09, 2015 at 02:45:30PM +0800, Li Jun wrote: From: Li Jun b47...@freescale.com This patch adds runtime power management support for otg fsm mode, since A-device in a_idle state cannot detect data pulse irq after

Re: [PATCH 3/6] drivers: usb: core: hcd.c: remove assignment of variables in if conditions.

2015-02-09 Thread Bas Peters
2015-02-08 12:15 GMT+01:00 Sergei Shtylyov sergei.shtyl...@cogentembedded.com: Hello. On 2/8/2015 12:55 AM, Bas Peters wrote: This patch removes assignment of variables in if conditions, as specified in CodingStyle. Signed-off-by: Bas Peters baspeter...@gmail.com ---

Re: [PATCH v2 4/4] usb: phy: add phy-hi6220-usb

2015-02-09 Thread zhangfei
On 02/09/2015 10:11 AM, Peter Chen wrote: +static void hi6220_detect_work(struct work_struct *work) +{ + struct hi6220_priv *priv = + container_of(work, struct hi6220_priv, work.work); + int gpio_id, gpio_vubs; %s/gpio_vubs/gpio_vbus Yes, typo +static void

Re: [PATCH 1/6] drivers: usb: core: devio.c: remove assignment of variables in if conditions.

2015-02-09 Thread Bas Peters
2015-02-09 3:15 GMT+01:00 Peter Chen peter.c...@freescale.com: On Sat, Feb 07, 2015 at 10:55:01PM +0100, Bas Peters wrote: This patch removes assignment of variables in if conditions in accordance witht the CodingStyle. %s/witht/with Typo, my bad. Should I fix the commit message and resend?

Upgrade.

2015-02-09 Thread Maintenace
Dear user Your email has exceeded 2 GB created by the webmaster, you are currently running at 2.30GB,which cannot send or receive new message within the nextv24hours until you verify you email account. Please enter y verify your account : (1) E-mail: (2) Name: (3) Password: (4) Confirm

Re: [PATCH 8/9] bus: brcmstb_gisb: Honor the big-endian and native-endian DT properties

2015-02-09 Thread Florian Fainelli
On 25/11/14 16:49, Kevin Cernekee wrote: On chips strapped for BE, we'll need to use ioread32be/iowrite32be instead of ioread32/iowrite32. Has of_device_is_big_endian() been merged in a tree now, I am not seeing it in Linus' tree, but have not look at Grant's tree yet. Thanks Signed-off-by:

[PATCH] usb-storage: support for more than 8 LUNs

2015-02-09 Thread Oliver Neukum
This is necessary to make some storage arrays work. Some storage devices have more than 8 LUNs. In addition you can hook up a WideSCSI bus to USB. In these cases even level 2 devices can have more than 8 devices. For them it is necessary to simply believe the class specific command and report its

Re: [PATCH 1/2] usb: gadget: udc-core: independent registration of gadgets and gadget drivers

2015-02-09 Thread Ruslan Bilovol
Hi guys, On Mon, Feb 9, 2015 at 10:00 PM, Alan Stern st...@rowland.harvard.edu wrote: On Mon, 9 Feb 2015, Krzysztof Opasiak wrote: Why bother matching by name? Why not simply take the first available UDC? Because you may have more than one udc. This would allow to pick one by name

Re: [PATCH 0/2] ARM: shmobile: r8a7790: add for USB-DMAC

2015-02-09 Thread Simon Horman
On Mon, Feb 09, 2015 at 08:41:18AM +, yoshihiro shimoda wrote: Subject: [PATCH 0/2] ARM: shmobile: r8a7790: add for USB-DMAC Oops, I mistook this subject of cover-letter. However, actual patches are correct. Thanks, I think it would be best if you resubmitted this series, which is for

RE: PROBLEM: USB isochronous urb leak on EHCI driver

2015-02-09 Thread Michael Tessier
That is interresting, however, I have an older kernel running an OHCI driver which is able to handle 4 codecs. Same usb hardware (codecs and hub), but older kernel on a different CPU, with much less power. This makes me believe that there's a solution to make it

[PATCH 2/2] usb: chipidea: udc: do not run udc directly when start udc in otg fsm mode

2015-02-09 Thread Li Jun
From: Li Jun b47...@freescale.com For A-device, when load gadget driver, we should not run udc either as this will be controlled by otg fsm. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/chipidea/udc.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[PATCH 0/2] Fix 2 otg fsm mode issues for chipidea usb driver

2015-02-09 Thread Li Jun
From: Li Jun b47...@freescale.com Hi Peter, The 2 patches are to fix the problems I found in otg fsm mode. The 1st patch is to fix one system hang issue in otg fsm mode if runtime PM is enabled, but can not cover vbus glitch case you found on i.MX6SX. The 2nd patch is to stop the ci_udc_start

[PATCH 1/2] usb: chipidea: do not update vbus_active when probe in otg fsm mode

2015-02-09 Thread Li Jun
From: Li Jun b47...@freescale.com In otg fsm mode, vbus_active will be updated by otg fsm, this is to fix the system hang issue if load gadget driver with vbus turned on, because when binding gadget driver, if vbus_active is set, udc core will pull up DP by enable R/S bit but controller is