[PATCH v6 1/3] usb: dwc3: msm: Add device tree binding information

2013-10-07 Thread Ivan T. Ivanov
From: "Ivan T. Ivanov" MSM USB3.0 core wrapper consist of USB3.0 IP from Synopsys (SNPS) and HS, SS PHY's control and configuration registers. It could operate in device mode (SS, HS, FS) and host mode (SS, HS, FS, LS). Signed-off-by: Ivan T. Ivanov Acked-by: Stephen Warren --- .../devicetre

[PATCH v6 2/3] usb: phy: Add Qualcomm SS-USB and HS-USB drivers for DW PHY's

2013-10-07 Thread Ivan T. Ivanov
From: "Ivan T. Ivanov" These drivers handles control and configuration of the HS and SS USB PHY transceivers. They are part of the driver which manage Synopsys DesignWare USB3 controller stack inside Qualcomm SoC's. Signed-off-by: Ivan T. Ivanov --- drivers/usb/phy/Kconfig | 11 ++ d

[PATCH v6 0/3] DWC3 USB support for Qualcomm platform

2013-10-07 Thread Ivan T. Ivanov
From: "Ivan T. Ivanov" Hi, This is sixth version of MSM USB3 drivers patches. Changes since v5: * devicetree bindings descriptions fixes * Fixed NULL pointer dereferences in dev_prink's * Removed extra space in "sleep " clock name Changes since v4: * Substitute references to "wc3" with just "

[PATCH v6 3/3] usb: dwc3: Add Qualcomm DWC3 glue layer driver

2013-10-07 Thread Ivan T. Ivanov
From: "Ivan T. Ivanov" DWC3 glue layer is hardware layer around Synopsys DesignWare USB3 core. Its purpose is to supply Synopsys IP with required clocks, voltages and interface it with the rest of the SoC. Signed-off-by: Ivan T. Ivanov --- drivers/usb/dwc3/Kconfig|8 +++ drivers/usb/dw

Re: [PATCH v5 1/3] usb: dwc3: msm: Add device tree binding information

2013-10-07 Thread Ivan T. Ivanov
Hi Felipe, On Fri, 2013-10-04 at 09:31 -0500, Felipe Balbi wrote: > On Wed, Aug 21, 2013 at 04:29:44PM +0300, Ivan T. Ivanov wrote: > > From: "Ivan T. Ivanov" > > > > MSM USB3.0 core wrapper consist of USB3.0 IP from Synopsys > > (SNPS) and HS, SS PHY's control and configuration registers. > >

Re: [PATCH v7 09/10] usb: dwc3: omap: manage "usb_otg_ss_refclk960m" clock

2013-10-07 Thread Roger Quadros
On 10/04/2013 04:23 PM, Greg KH wrote: > On Fri, Oct 04, 2013 at 01:46:08PM +0300, Roger Quadros wrote: >> Greg, >> >> On 10/03/2013 06:41 PM, Greg KH wrote: >>> On Thu, Oct 03, 2013 at 05:54:14PM +0300, Roger Quadros wrote: On 10/03/2013 03:29 PM, Felipe Balbi wrote: > Hi, > > On

Re: [PATCH v6 2/3] usb: phy: Add Qualcomm SS-USB and HS-USB drivers for DW PHY's

2013-10-07 Thread Stanimir Varbanov
Hi Ivan, Few comments below. On 10/07/2013 10:44 AM, Ivan T. Ivanov wrote: > From: "Ivan T. Ivanov" > > These drivers handles control and configuration of the HS > and SS USB PHY transceivers. They are part of the driver > which manage Synopsys DesignWare USB3 controller stack > inside Qualcomm

Re: [PATCH v6 3/3] usb: dwc3: Add Qualcomm DWC3 glue layer driver

2013-10-07 Thread Stanimir Varbanov
Hi Ivan, Minor comments below. On 10/07/2013 10:44 AM, Ivan T. Ivanov wrote: > From: "Ivan T. Ivanov" > > DWC3 glue layer is hardware layer around Synopsys DesignWare > USB3 core. Its purpose is to supply Synopsys IP with required > clocks, voltages and interface it with the rest of the SoC. >

Re: [PATCH v5 10/15] usb/gadget: f_mass_storage: create fsg_common_run_thread for use in fsg_common_init

2013-10-07 Thread Andrzej Pietrasiewicz
W dniu 05.10.2013 15:18, Michal Nazarewicz pisze: On Thu, Oct 03 2013, Andrzej Pietrasiewicz wrote: fsg_common_init is a lengthy function. Factor a portion of it out. Signed-off-by: Andrzej Pietrasiewicz Signed-off-by: Kyungmin Park Acked-by: Michal Nazarewicz --- drivers/usb/gadget/f_

[PATCH 2/5] usb: gadget: s3c-hsotg: support configurable UTMI PHY width

2013-10-07 Thread Matt Porter
Extend dwc2 binding with an optional utmi phy width property. Enable the s3c-hsotg.c driver to use standard dwc2 binding and enable configuration of the UTMI phy width based on the property. Signed-off-by: Matt Porter Reviewed-by: Markus Mayer Reviewed-by: Tim Kryger --- Documentation/devicetr

[PATCH 4/5] usb: phy: add Broadcom Kona USB PHY driver

2013-10-07 Thread Matt Porter
Add a USB PHY driver for BCM281xx devices. This driver makes use of the Broadcom Kona USB control driver to control init/shutdown of the PHY. Signed-off-by: Matt Porter Reviewed-by: Markus Mayer Reviewed-by: Tim Kryger --- .../devicetree/bindings/usb/bcm-kona-usb-phy.txt | 10 +++ drivers/us

[PATCH 5/5] ARM: dts: add usb udc support to bcm281xx

2013-10-07 Thread Matt Porter
Adds USB OTG/Control/PHY and clock support to BCM281xx and enables UDC support on the bcm11351-brt and bcm28155-ap boards. Signed-off-by: Matt Porter Reviewed-by: Markus Mayer Reviewed-by: Tim Kryger --- arch/arm/boot/dts/bcm11351-brt.dts | 10 ++ arch/arm/boot/dts/bcm11351.dtsi| 2

[PATCH 3/5] usb: phy: add Broadcom Kona USB control driver

2013-10-07 Thread Matt Porter
Broadcom BCM281xx parts have a PHY control block that operates in conjunction with the DWC2 USB OTG. This driver exposes an API that allows control of power/reset for a connected USB PHY. Signed-off-by: Matt Porter Reviewed-by: Markus Mayer Reviewed-by: Tim Kryger --- .../devicetree/bindings/u

[PATCH 1/5] usb: gadget: s3c-hsotg: enable build for other platforms

2013-10-07 Thread Matt Porter
Remove unused Samsung-specific machine include and Kconfig dependency on S3C. Signed-off-by: Matt Porter Reviewed-by: Markus Mayer Reviewed-by: Tim Kryger --- drivers/usb/gadget/Kconfig | 7 +++ drivers/usb/gadget/s3c-hsotg.c | 2 -- 2 files changed, 3 insertions(+), 6 deletions(-) di

[PATCH 0/5] USB Device Controller support for BCM281xx

2013-10-07 Thread Matt Porter
This series adds USB Device Controller support for the Broadcom BCM281xx family of parts. BCM281xx contains a DWC2 OTG block and s3c-hsotg is used to support UDC operation. Parts 1-2 allows s3c-hsotg to build on non-Samsung platforms and adds support for a configurable UTMI PHY width. s3c-hsotg is

[PATCH] ARM: dts: omap3-beagle: Adapt USB OTG to generic PHY framework

2013-10-07 Thread Roger Quadros
The generic PHY framewrok expects different properties than the old USB PHY framework. Supply those properties. Fixes USB OTG port on beagle after the Generic PHY framework was merged in greg/usb-next. [1] [1] - https://lkml.org/lkml/2013/9/27/581 Signed-off-by: Roger Quadros --- arch/arm/boot

Re: [PATCH] sound: usb: add support for wireless USB devices

2013-10-07 Thread Takashi Iwai
At Tue, 1 Oct 2013 14:32:15 -0500, Thomas Pugliese wrote: > > This patch updates snd_usb_audio_create also support devices whose > speed == USB_SPEED_WIRELESS. > > Signed-off-by: Thomas Pugliese Thanks, applied now. (BTW, please add the maintainers explicitly to Cc at the next time.) Takas

Re: [PATCH] sound: usb: support wireless devices in snd_usb_parse_datainterval

2013-10-07 Thread Takashi Iwai
At Tue, 1 Oct 2013 14:32:57 -0500, Thomas Pugliese wrote: > > Hi, > This patch adds support for dev speed USB_SPEED_WIRELESS in > snd_usb_parse_datainterval which allows the usb sound core to create > ISO urbs with the correct number and size of buffers. > > Signed-off-by: Thomas Pugliese T

Re: [PATCH] usbnet: smsc95xx: Add device tree input for MAC address

2013-10-07 Thread Ming Lei
On Mon, Oct 7, 2013 at 1:31 AM, Dan Murphy wrote: > On 10/06/2013 10:05 AM, Ming Lei wrote: >> On Sat, Oct 5, 2013 at 2:25 AM, Dan Murphy wrote: >>> If the smsc95xx does not have a valid MAC address stored within >>> the eeprom then a random number is generated. The MAC can also >>> be set by uB

[PATCH 0/1] Possibly fix USB OTG on GTA04 and N900

2013-10-07 Thread Roger Quadros
Hi, USB OTG on these boards might be broken on Greg's usb-next branch [1] after the Generic PHY framework and associated patches were merged. This is a probable fix but I'm not able to test these boards. Please give it a try and your Ack if it works. Thanks. [1] - git://git.kernel.org/pub/scm/li

[PATCH 1/1] ARM: dts: omap3: Adapt USB OTG to generic PHY framework

2013-10-07 Thread Roger Quadros
The generic PHY framewrok expects different properties than the old USB PHY framework. Supply those properties. Fixes USB OTG port on GAT04 and N900 after the Generic PHY framework was merged in greg/usb-next. [1] [1] - https://lkml.org/lkml/2013/9/27/581 Signed-off-by: Roger Quadros --- arch/

Re: [PATCH] usbnet: smsc95xx: Add device tree input for MAC address

2013-10-07 Thread Dan Murphy
On 10/07/2013 06:42 AM, Ming Lei wrote: > On Mon, Oct 7, 2013 at 1:31 AM, Dan Murphy wrote: >> On 10/06/2013 10:05 AM, Ming Lei wrote: >>> On Sat, Oct 5, 2013 at 2:25 AM, Dan Murphy wrote: If the smsc95xx does not have a valid MAC address stored within the eeprom then a random number is

Re: [PATCH 1/1] ARM: dts: omap3: Adapt USB OTG to generic PHY framework

2013-10-07 Thread Sebastian Andrzej Siewior
On 10/07/2013 03:28 PM, Roger Quadros wrote: > The generic PHY framewrok expects different properties than the > old USB PHY framework. Supply those properties. > > Fixes USB OTG port on GAT04 and N900 after the Generic PHY framework was > merged in greg/usb-next. [1] Would it be much pain (and d

Re: how to trigger function in usb_device_pm_ops

2013-10-07 Thread yoma sophian
hi alan: 2013/10/2 Alan Stern : > On Wed, 2 Oct 2013, yoma sophian wrote: > >> hi alan: >> >> 2013/10/2 Alan Stern : >> > On Wed, 2 Oct 2013, yoma sophian wrote: >> > >> >> 1. in susped, we will gate our ehci clk >> >> in resumt, we need to release clk gating to let ehci control work. >> >> and ab

Re: [PATCH 1/1] ARM: dts: omap3: Adapt USB OTG to generic PHY framework

2013-10-07 Thread Roger Quadros
On 10/07/2013 04:40 PM, Sebastian Andrzej Siewior wrote: > On 10/07/2013 03:28 PM, Roger Quadros wrote: >> The generic PHY framewrok expects different properties than the >> old USB PHY framework. Supply those properties. >> >> Fixes USB OTG port on GAT04 and N900 after the Generic PHY framework wa

Re: how to trigger function in usb_device_pm_ops

2013-10-07 Thread Alan Stern
On Mon, 7 Oct 2013, yoma sophian wrote: > >> 1. When will platform register dev_pm_ops be called? Is it called > >> before or after usb_device_pm_ops ? > > > > The platform suspend routine is called after the USB suspend routine. > > The platform resume routine is called before the USB resume rout

[PATCH] usb: wusbcore: preserve endianness of cached descriptors

2013-10-07 Thread Thomas Pugliese
Do not overwrite the multi-byte fields of usb_wa_descriptor with their cpu format values after reading the descriptor. Leave the values as __le16 and swap on use. This is more consistent with other uses of USB descriptors. Signed-off-by: Thomas Pugliese --- drivers/usb/host/hwa-hc.c |

Re: New USB core API to change interval and max packet size

2013-10-07 Thread Hans de Goede
Hi, On 10/02/2013 08:39 PM, Sarah Sharp wrote: On Wed, Oct 02, 2013 at 10:22:52AM -0400, Alan Stern wrote: We should consider this before rushing into a new API. Yes, I agree. :) That's why I'd like to see some cases in the media drivers code where it could benefit from changing the inte

[PATCH 2/2] xhci: fix last valid endpoint when dropping an endpoint

2013-10-07 Thread Xenia Ragiadakou
The previous patch on the endpoint reset uses the already implemented function xhci_drop_endpoint() to reduce code duplication. However, the way that xhci updates the last valid endpoint in the Input Slot Context, when an endpoint is dropped, can lead to incosistent value for the last valid endpoin

[PATCH 1/2] xhci: fix reset for not halted endpoints

2013-10-07 Thread Xenia Ragiadakou
If a Reset Endpoint command is issued for an endpoint that is not in the Halted state, xHC does nothing. Since the current implementation of xhci_endpoint_reset() aborts any resets that address not halted endpoints, the synchronization between the host-side and device-side toggle or sequence number

[PATCH] usb: wusbcore: serialize access to the HWA data out endpoint

2013-10-07 Thread Thomas Pugliese
This patch serializes access to the HWA data transfer out (DTO) endpoint. This prevents a situation where two transfer requests being sent concurrently to separate downstream endpoints could interleave their transfer request and transfer data packets causing data corruption. The transfer proc

Re: [PATCH v5 10/15] usb/gadget: f_mass_storage: create fsg_common_run_thread for use in fsg_common_init

2013-10-07 Thread Michal Nazarewicz
On Mon, Oct 07 2013, Andrzej Pietrasiewicz wrote: > Thank you for reviewing the series. Can I put your "Acked-by" in the > corrected patches? Yes of course. I still have a few patches to review, and don't forget that I did not ack a few others. :P -- Best regards,

Re: [PATCH v5 11/15] usb/gadget: f_mass_storage: convert to new function interface with backward compatibility

2013-10-07 Thread Michal Nazarewicz
On Thu, Oct 03 2013, Andrzej Pietrasiewicz wrote: > Converting mass storage to the new function interface requires converting > the USB mass storage's function code and its users. > This patch converts the f_mass_storage.c to the new function interface. > The file is now compiled into a separate us

[PATCH] HID: logitech - lg2ff: Add IDs for Formula Vibration Feedback Wheel

2013-10-07 Thread Anssi Hannula
From: Elias Vanderstuyft Add USB IDs for Logitech Formula Vibration Feedback Wheel (046d:ca04). The lg2ff force feedback subdriver is used for vibration and HID_GD_MULTIAXIS is set to avoid deadzone like other Logitech wheels. Kconfig description etc are also updated accordingly. Signed-off-by

Re: [PATCH] HID: logitech - lg2ff: Add IDs for Formula Vibration Feedback Wheel

2013-10-07 Thread Anssi Hannula
07.10.2013 20:48, si...@mungewell.org kirjoitti: >> From: Elias Vanderstuyft >> >> Add USB IDs for Logitech Formula Vibration Feedback Wheel (046d:ca04). >> >> The lg2ff force feedback subdriver is used for vibration and >> HID_GD_MULTIAXIS is set to avoid deadzone like other Logitech wheels. >> >

[PATCH v2 0/5] usb: xhci: change default enumeration scheme and trivial cleanups

2013-10-07 Thread Dan Williams
Changes since v1 [1]: 1/ Patch 4: updated after testing (discussed here [2]) to disable new scheme enumeration for usb3 devices 2/ Patch 4: cleaned up a compile warning 3/ Patch 5: [new] when debugging it is nice to know if the failed command was a context setup "address device BSR=1" or an

[PATCH v2 2/5] usb: xhci: kill a conditional when toggling cycle

2013-10-07 Thread Dan Williams
Perform an unconditional toggle of the cycle bit with 'xor'. Signed-off-by: Dan Williams --- No change since v1 drivers/usb/host/xhci-ring.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index 6bfbd80ec2b9.

[PATCH v2 1/5] usb: hub_activate kill an 'else'

2013-10-07 Thread Dan Williams
Remove a few extra lines and make it clear that all implementations disable the port by sharing the same line of code. Acked-by: Alan Stern Signed-off-by: Dan Williams --- No change since v1 drivers/usb/core/hub.c | 11 --- 1 files changed, 4 insertions(+), 7 deletions(-) diff --gi

[PATCH v2 3/5] usb: xhci: remove the unused ->address field

2013-10-07 Thread Dan Williams
Only used for debug output, so we don't need to save it. Signed-off-by: Dan Williams --- No change since v1 drivers/usb/host/xhci.c | 10 ++ drivers/usb/host/xhci.h |2 -- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/x

modeswitch? LTE vodafone K5150 (hilink) 12d1 1f16 ; 12d1 1575 cdc_ether

2013-10-07 Thread Thomas Schäfer
Hi, The vodafone K5150 is a LTE device, default is "hilink" mode. This works under Linux 3.7 in the same way as it under windows vista does. [ 248.255172] usb 1-1: new high-speed USB device number 3 using ehci_hcd [ 248.518600] usb 1-1: New USB device found, idVendor=12d1, idProduct=1f16 [ 248.51

Re: [PATCH] HID: logitech - lg2ff: Add IDs for Formula Vibration Feedback Wheel

2013-10-07 Thread simon
> From: Elias Vanderstuyft > > Add USB IDs for Logitech Formula Vibration Feedback Wheel (046d:ca04). > > The lg2ff force feedback subdriver is used for vibration and > HID_GD_MULTIAXIS is set to avoid deadzone like other Logitech wheels. > > Kconfig description etc are also updated accordingly. >

[PATCH v2 5/5] xhci: clarify logging in xhci_setup_device

2013-10-07 Thread Dan Williams
Specify whether we are only performing the context setup portion of the 'address device' command, or the full operation issuing 'SetAddress' on the wire. Signed-off-by: Dan Williams --- New in v2 drivers/usb/host/xhci.c | 22 -- 1 files changed, 12 insertions(+), 10 delet

[PATCH v2 4/5] usb: xhci: change enumeration scheme to 'new scheme' by default

2013-10-07 Thread Dan Williams
Change the default enumeration scheme for xhci attached USB < 3 devices from: Reset SetAddress [xhci address-device BSR = 0] GetDescriptor(8) GetDescriptor(18) ...to: Reset [xhci address-device BSR = 1] GetDescriptor(64) Reset SetAddress [xhci address-device BSR = 0]

Re: [PATCH v2 4/5] usb: xhci: change enumeration scheme to 'new scheme' by default

2013-10-07 Thread Alan Stern
On Mon, 7 Oct 2013, Dan Williams wrote: > Change the default enumeration scheme for xhci attached USB < 3 devices > from: Careful about the distinction between USB-3 and SuperSpeed. They aren't synonymous. >Reset >SetAddress [xhci address-device BSR = 0] >GetDescriptor(8) >GetD

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

2013-10-07 Thread Sarah Sharp
On Thu, Oct 03, 2013 at 07:18:42PM -, hema...@codeaurora.org wrote: > > On Thu, Oct 03, 2013 at 06:00:50PM -, hema...@codeaurora.org wrote: > >> We have devices which require to send zero length packet in data stage > >> to > >> host in certain cases. We were not seeing any issue when we we

Re: [PATCH v5 12/15] usb/gadget: mass_storage: convert to new interface of f_mass_storage

2013-10-07 Thread Michal Nazarewicz
On Thu, Oct 03 2013, Andrzej Pietrasiewicz wrote: > Convert old mass_storage gadget to use the new interface of f_mass_storage > so that later the compatibility layer in f_mass_storage can be removed. > > Signed-off-by: Andrzej Pietrasiewicz > Signed-off-by: Kyungmin Park > --- > drivers/usb/gad

Re: [PATCH] HID: logitech - lg2ff: Add IDs for Formula Vibration Feedback Wheel

2013-10-07 Thread simon
> I don't really know what you need for the HID descriptors, but I thought > maybe I should post usbmon output when plugging in the wheel: I'm not sure I can do anything with that file. It would be great if you could dump/attach the report descriptor file. This can be found in the /sys folder stru

Re: [PATCH v2 4/5] usb: xhci: change enumeration scheme to 'new scheme' by default

2013-10-07 Thread Dan Williams
On Mon, Oct 7, 2013 at 12:41 PM, Alan Stern wrote: > On Mon, 7 Oct 2013, Dan Williams wrote: > >> Change the default enumeration scheme for xhci attached USB < 3 devices >> from: > > Careful about the distinction between USB-3 and SuperSpeed. They > aren't synonymous. Ok, my mistake, that should

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

2013-10-07 Thread Alan Stern
On Mon, 7 Oct 2013, Sarah Sharp wrote: > On Thu, Oct 03, 2013 at 07:18:42PM -, hema...@codeaurora.org wrote: > > > On Thu, Oct 03, 2013 at 06:00:50PM -, hema...@codeaurora.org wrote: > > >> We have devices which require to send zero length packet in data stage > > >> to > > >> host in cert

Re: modeswitch? LTE vodafone K5150 (hilink) 12d1 1f16 ; 12d1 1575 cdc_ether

2013-10-07 Thread Greg KH
On Mon, Oct 07, 2013 at 09:00:49PM +0200, Thomas Schäfer wrote: > Hi, > > The vodafone K5150 is a LTE device, default is "hilink" mode. > This works under Linux 3.7 in the same way as it under windows vista does. > > [ 248.255172] usb 1-1: new high-speed USB device number 3 using ehci_hcd > [ 248

[PATCH 0/3] Add USBHS support to Lager

2013-10-07 Thread Valentine Barshak
This patch set adds internal USB PHY support to RCAR Gen2 SoC, and also enables USBHS for the Lager board. The patches apply fine to the renesas-devel-20131004 tag of the renesas.git. The first patch also applies fine to the usb.git at kernel.org. It adds RCAR Gen2 phy driver, which is used to co

[PATCH 1/3] usb: phy: Add RCAR Gen2 USB phy

2013-10-07 Thread Valentine Barshak
This adds RCAR Gen2 USB phy support. The driver configures USB channels 0/2, which are shared between PCI USB hosts and USBHS/USBSS devices. It also controls internal USBHS phy. Signed-off-by: Valentine Barshak --- drivers/usb/phy/Kconfig | 13 ++ drivers/usb/phy/Makefil

[PATCH 2/3] arm: shmobile: r8a7790: Add USBHS clock support

2013-10-07 Thread Valentine Barshak
This adds USBHS clock support. Signed-off-by: Valentine Barshak --- arch/arm/mach-shmobile/clock-r8a7790.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-shmobile/clock-r8a7790.c b/arch/arm/mach-shmobile/clock-r8a7790.c index a64f965..7bb2796 100644 --- a/arch/arm/mach-sh

[PATCH 3/3] arm: shmobile: lager: Add USBHS support

2013-10-07 Thread Valentine Barshak
This adds USBHS PHY and registers USBHS device if the driver is enabled. Signed-off-by: Valentine Barshak --- arch/arm/mach-shmobile/board-lager.c | 106 +++ 1 file changed, 106 insertions(+) diff --git a/arch/arm/mach-shmobile/board-lager.c b/arch/arm/mach-shmo

Re: [PATCH 1/3] usb: phy: Add RCAR Gen2 USB phy

2013-10-07 Thread Valentine
On 10/08/2013 03:27 AM, Valentine Barshak wrote: This adds RCAR Gen2 USB phy support. The driver configures USB channels 0/2, which are shared between PCI USB hosts and USBHS/USBSS devices. It also controls internal USBHS phy. [snip] diff --git a/drivers/usb/phy/phy-rcar-gen2-usb.c b/drivers

Allocation failure of USB URB in interrupt

2013-10-07 Thread jonsm...@gmail.com
Is this USB driver out of DMA zone space? There seems to be plenty of memory around. How do you fix something like this? -- Forwarded message -- From: Stefan Monnier Date: Mon, Oct 7, 2013 at 6:44 PM Subject: [linux-sunxi] Re: Daily (or so) freezes of Mele A2000 To: linux-su...@go

Re: [PATCH v2 4/5] usb: xhci: change enumeration scheme to 'new scheme' by default

2013-10-07 Thread Williams, Dan J
Subject: usb: xhci: change enumeration scheme to 'new scheme' by default From: Dan Williams Change the default enumeration scheme for xhci attached non-SuperSpeed devices from: Reset SetAddress [xhci address-device BSR = 0] GetDescriptor(8) GetDescriptor(18) ...to: Reset [xh

Re: [PATCH 0/3] Add USBHS support to Lager

2013-10-07 Thread Simon Horman
On Tue, Oct 08, 2013 at 03:27:00AM +0400, Valentine Barshak wrote: > This patch set adds internal USB PHY support to RCAR Gen2 SoC, and > also enables USBHS for the Lager board. > > The patches apply fine to the renesas-devel-20131004 tag of the renesas.git. > > The first patch also applies fine

[PATCH 1/1] usb: chipidea: udc: Fix calling spin_lock_irqsave at sleep context

2013-10-07 Thread Peter Chen
Fixing the below dump: root@freescale ~$ modprobe g_serial g_serial gadget: Gadget Serial v2.4 g_serial gadget: g_serial ready BUG: sleeping function called from invalid context at /home/b29397/work/projects/upstream/usb/usb/drivers/base/power/runtime.c:952 in_atomic(): 1, irqs_disabled(): 128, p

Re: [PATCH 2/3] arm: shmobile: r8a7790: Add USBHS clock support

2013-10-07 Thread Kuninori Morimoto
Hi Valentine > @@ -296,6 +298,8 @@ static struct clk_lookup lookups[] = { > CLKDEV_DEV_ID("ee22.mmcif", &mstp_clks[MSTP305]), > CLKDEV_DEV_ID("sh_mmcif.1", &mstp_clks[MSTP305]), > CLKDEV_DEV_ID("sh_cmt.0", &mstp_clks[MSTP124]), > + CLKDEV_DEV_ID("renesas_usbhs", &mstp_cl

Re: [PATCH 1/3] usb: phy: Add RCAR Gen2 USB phy

2013-10-07 Thread Kuninori Morimoto
Hi Valentine Thank you for your patch > +/* Setup USB channels */ > +static void __rcar_gen2_usb_phy_setup(struct rcar_gen2_usb_phy_priv *priv) > +{ > + u32 val; > + > + clk_prepare_enable(priv->clk); > + > + /* Set USB channels in the USBHS UGCTRL2 register */ > + val = ioread32

Re: [PATCH 3/3] arm: shmobile: lager: Add USBHS support

2013-10-07 Thread Kuninori Morimoto
Hi Valentine > This adds USBHS PHY and registers USBHS device if the driver is enabled. > > Signed-off-by: Valentine Barshak > --- (snip) > +/* USBHS */ > +#if IS_ENABLED(CONFIG_USB_RENESAS_USBHS_UDC) > +static const struct resource usbhs_resources[] __initconst = { > + DEFINE_RES_MEM(0xe65

Re: [PATCH v2 1/1] usb: gadget: f_fs: Add support for SuperSpeed Mode

2013-10-07 Thread Manu Gautam
On 10/2/2013 10:06 AM, Manu Gautam wrote: > On 10/1/2013 8:07 PM, Felipe Balbi wrote: >> Hi, >> >> On Mon, Sep 30, 2013 at 02:31:50PM +0530, Manu Gautam wrote: >>> On 9/28/2013 1:52 AM, Paul Zimmerman wrote: > From: linux-usb-ow...@vger.kernel.org > [mailto:linux-usb-ow...@vger.kernel.org]