Re: usb_wwan regression in 3.6 kernel (bisected to bulk-urb allocation)

2014-04-03 Thread Johan Hovold
On Thu, Apr 03, 2014 at 08:49:40AM +0200, Rafał Miłecki wrote: > I recently wanted to use my ZTE MF636 modem 19d2:0031 and got NULL > pointer dereference in usb_wwan_write few seconds after plugging it. > This is 100% reproducible. > > BUG: unable to handle kernel NULL pointer dereference at 0

Re: usb_wwan regression in 3.6 kernel (bisected to bulk-urb allocation)

2014-04-03 Thread Rafał Miłecki
2014-04-03 9:18 GMT+02:00 Johan Hovold : > Thanks for the detailed report. Could you also provide the output of > > lsusb -vd 19d2:0031 Sure, it's attached. -- Rafał Bus 001 Device 005: ID 19d2:0031 ZTE WCDMA Technologies MSM MF110/MF627/MF636 Device Descriptor: bLength

[PATCH v2 1/2] usb: doc: udc-xilinx: Add devicetree bindings

2014-04-03 Thread Subbaraya Sundeep Bhatta
Add devicetree bindings for Xilinx axi udc driver. Signed-off-by: Subbaraya Sundeep Bhatta --- Changes for v2: - replaced xlnx,include-dma with xlnx,has-builtin-dma .../devicetree/bindings/usb/udc-xilinx.txt | 20 1 files changed, 20 insertions(+), 0 delet

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

2014-04-03 Thread Andrzej Pietrasiewicz
W dniu 03.04.2014 06:31, clanlab.proj pisze: Hi Andrzej, Btw, Can you help to test the another version of this patch which uses work queue instead of NAPI? I'll send you a copy of this patch later out of the mailing list. The patch was send to the list here. http://www.spinics.net/lists/linu

Re: usb_wwan regression in 3.6 kernel (bisected to bulk-urb allocation)

2014-04-03 Thread Bjørn Mork
Rafał Miłecki writes: > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber0 > bAlternateSetting 0 > bNumEndpoints 0 > bInterfaceClass 255 Vendor Specific Class > bInterfaceSub

Re: [PATCH] usb: xhci: Prefer endpoint context dequeue pointer over stopped_trb

2014-04-03 Thread Mathias Nyman
Hi On 04/03/2014 12:29 AM, Julius Werner wrote: Hi Mathias, The patch looks fine. Mathias is taking over for xHCI driver maintainership in 3.15. He's currently handling queuing bug fix patches for 3.14 while I finish queueing feature patches for 3.15. Mathias, will you test and queue this u

Re: [RFC PATCH 1/1] usb: udc-core: redo usb_gadget_probe_driver when the udc is ready

2014-04-03 Thread Robert Baldyga
On 04/03/2014 03:52 AM, Peter Chen wrote: > >> >> Hi Peter, >> >> On 04/02/2014 10:47 AM, Peter Chen wrote: >>> We have historic problem that the gadget will not work if the gadget >>> is build-in and the udc driver is defered probe due to some resources >>> are not ready. Below links are related

RE: [RFC PATCH 1/1] usb: udc-core: redo usb_gadget_probe_driver when the udc is ready

2014-04-03 Thread Peter Chen
> > On 04/03/2014 03:52 AM, Peter Chen wrote: > > > >> > >> Hi Peter, > >> > >> On 04/02/2014 10:47 AM, Peter Chen wrote: > >>> We have historic problem that the gadget will not work if the gadget > >>> is build-in and the udc driver is defered probe due to some > >>> resources are not ready. Be

Re: usb_wwan regression in 3.6 kernel (bisected to bulk-urb allocation)

2014-04-03 Thread Johan Hovold
On Thu, Apr 03, 2014 at 10:03:10AM +0200, Bjørn Mork wrote: > Rafał Miłecki writes: > > > Interface Descriptor: > > bLength 9 > > bDescriptorType 4 > > bInterfaceNumber0 > > bAlternateSetting 0 > > bNumEndpoints 0 >

[PATCH] USB: usb_wwan: fix handling of missing bulk endpoints

2014-04-03 Thread Johan Hovold
Fix regression introduced by commit 8e493ca1767d ("USB: usb_wwan: fix bulk-urb allocation") by making sure to require both bulk-in and out endpoints during port probe. The original option driver (which usb_wwan is based on) was written under the assumption that either endpoint could be missing, bu

Re: [PATCH] USB: usb_wwan: fix handling of missing bulk endpoints

2014-04-03 Thread Rafał Miłecki
2014-04-03 13:06 GMT+02:00 Johan Hovold : > Fix regression introduced by commit 8e493ca1767d ("USB: usb_wwan: fix > bulk-urb allocation") by making sure to require both bulk-in and out > endpoints during port probe. Ohh, that was quick! :) This patch works for me: [33050.103575] option 1-1.2:1.0:

about possible port reset when disconnect

2014-04-03 Thread vichy
hi all: I list my environment as below: 1. Arm platform with ehci support 2. plug in NTFS USB HD and play movie 3. plug out device suddenly. I found there will be possibly that driver will reset port even there is no device connected. I purposely add below code in ehci-hub.c when we try to do por

Re: [PATCH v7 0/4] libusbg: clean up and error handling

2014-04-03 Thread Matt Porter
On Fri, Jan 24, 2014 at 03:30:58PM +0100, Stanislaw Wadas wrote: > In reference to the message sent by Andrzej Pietrasiewicz > (about libusbg (formerly libgadget)) I would like to propose > some changes to libusbg. > > Creating directories is now performed after successful memory > allocation and

Re: [PATCH v5 00/12] libusbg: Cleanup, bug fix and refactoring.

2014-04-03 Thread Matt Porter
On Mon, Jan 27, 2014 at 05:30:12PM +0100, Krzysztof Opasiak wrote: > Dear Matt, > > Please excuse me my passivity after discussuon about libusbg some time ago. > I had to close some other issues before taking up this one. > > Recently I looked into code of libusbg, build it and found some errors

Re: [PATCH v2 00/26] Bug fixes, feature enhancements and API rework.

2014-04-03 Thread Matt Porter
On Wed, Feb 19, 2014 at 09:25:14PM +0100, Krzysztof Opasiak wrote: > Hi Matt, > > as we have spoken some time ago, I have prepared patches which > hides definitions of internal library structures. > > User shouldn't have access to internal libraries structures which he could > modify. To avoid th

Re: [PATCH v2 00/23] libusbg: Add error code propagation and attributes refreshing.

2014-04-03 Thread Matt Porter
On Mon, Mar 10, 2014 at 09:42:31AM +0100, Krzysztof Opasiak wrote: > Dear Matt, > > I have prepared next series of patches. This time I have added error > code propagation which you have palced at todo list. > > In this series I have also removed caching gadget/function/config > attributes in int

Re: about possible port reset when disconnect

2014-04-03 Thread Alan Stern
On Thu, 3 Apr 2014, vichy wrote: > hi all: > I list my environment as below: > 1. Arm platform with ehci support > 2. plug in NTFS USB HD and play movie > 3. plug out device suddenly. > > I found there will be possibly that driver will reset port even there > is no device connected. > I purposely

Re: [PATCH v3 6/6] libusbg: Update examples to new API functionality.

2014-04-03 Thread Matt Porter
On Tue, Mar 18, 2014 at 09:29:06PM +0100, Krzysztof Opasiak wrote: > Removing gadget/config/function/binding functionality > has been added to API so add example of how to use it. > > Signed-off-by: Krzysztof Opasiak > --- > examples/Makefile.am |3 +- > examples/gadget-vid-pid-r

Re: [PATCH v3 5/6] libusbg: Add remove gadget functionality.

2014-04-03 Thread Matt Porter
On Tue, Mar 18, 2014 at 09:29:05PM +0100, Krzysztof Opasiak wrote: > Add function which allow to remove USB gadget. > This functions also remove gadget from internal > library structures what means that after this > operation all pointers to removed gadget are invalid. > > Signed-off-by: Krzysztof

Re: [PATCH v2 5/5] libusbg: Use config ID and label instead of config name.

2014-04-03 Thread Matt Porter
On Wed, Apr 02, 2014 at 07:42:42PM +0200, Krzysztof Opasiak wrote: > Naming convention of Config FS should not be exposed > to user of library. All API functions should use > configuration ID (configuration number) as unique > identificator and configuration label as human > readable description.

RE: [PATCH v2 5/5] libusbg: Use config ID and label instead of config name.

2014-04-03 Thread Krzysztof Opasiak
> -Original Message- > From: Matt Porter [mailto:mpor...@linaro.org] > Sent: Thursday, April 03, 2014 3:22 PM > To: Krzysztof Opasiak > Cc: linux-usb@vger.kernel.org; Andrzej Pietrasiewicz; Karol > Lewandowski; Stanislaw Wadas; ty317@samsung.com; Marek > Szyprowski; Robert Baldyga > Sub

Re: about possible port reset when disconnect

2014-04-03 Thread vichy
hi Alan: 2014-04-03 20:52 GMT+08:00 Alan Stern : > On Thu, 3 Apr 2014, vichy wrote: > >> hi all: >> I list my environment as below: >> 1. Arm platform with ehci support >> 2. plug in NTFS USB HD and play movie >> 3. plug out device suddenly. >> >> I found there will be possibly that driver will re

Re: [PATCH] USB: usb_wwan: fix handling of missing bulk endpoints

2014-04-03 Thread Johan Hovold
On Thu, Apr 03, 2014 at 01:32:19PM +0200, Rafał Miłecki wrote: > 2014-04-03 13:06 GMT+02:00 Johan Hovold : > > Fix regression introduced by commit 8e493ca1767d ("USB: usb_wwan: fix > > bulk-urb allocation") by making sure to require both bulk-in and out > > endpoints during port probe. > > Ohh, th

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

2014-04-03 Thread Felipe Balbi
On Thu, Apr 03, 2014 at 09:34:46PM +0800, clanlab.proj wrote: > Hi Felipe > > On Thu, Apr 3, 2014 at 3:55 PM, Andrzej Pietrasiewicz > wrote: > > > W dniu 03.04.2014 06:31, clanlab.proj pisze: > > > >> Hi Andrzej, > >> > >> > > Btw, Can you help to test the another version of this patch which us

[RFC v5 0/4] xhci: re-work command queue management

2014-04-03 Thread Mathias Nyman
changes since v4: Handle command timeouts on a stopped command ring properly. A stopped ring can't be aborted and send "command ring stopped" events, if ring was stopped at command timeout call the command ring stopped handler manually. changes since v3: * Use GFP_ATOMIC i

Re: [PATCH libata/for-3.15-fixes] libata: drop COMPILE_TEST from AHCI_XGENE

2014-04-03 Thread Bartlomiej Zolnierkiewicz
Hi, On Wednesday, April 02, 2014 12:22:15 PM Tejun Heo wrote: > On Wed, Apr 02, 2014 at 11:53:57AM -0400, Tejun Heo wrote: > > Applied the following patch to libata/for-3.15-fixes. > > > > Thanks. > > --- 8< --- > > From 9c23f2cf7f6e107e85eef57fdf3049a93b6e157c Mon Sep 17 00:00:00 2001 >

[RFC v5 3/4] xhci: Use completion and status in global command queue

2014-04-03 Thread Mathias Nyman
Remove the per-device command list and handle_cmd_in_cmd_wait_list() and use the completion and status variables found in the command structure in the global command list. Signed-off-by: Mathias Nyman --- drivers/usb/host/xhci-hub.c | 11 -- drivers/usb/host/xhci-mem.c | 1 - drivers/usb/

[RFC v5 2/4] xhci: Add a global command queue

2014-04-03 Thread Mathias Nyman
Create a list to store command structures, add a structure to it every time a command is submitted, and remove it from the list once we get a command completion event matching the command. Callers that wait for completion will free their command structures themselves. The other command structures

[RFC v5 1/4] xhci: Use command structures when queuing commands on the command ring

2014-04-03 Thread Mathias Nyman
To create a global command queue we require that each command put on the command ring is submitted with a command structure. Functions that queue commands and wait for completion need to allocate a command before submitting it, and free it once completed. The following command queuing functions ne

[RFC v5 4/4] xhci: rework command timeout and cancellation,

2014-04-03 Thread Mathias Nyman
Use one timer to control command timeout. start/kick the timer every time a command is completed and a new command is waiting, or a new command is added to a empty list. If the timer runs out, then tag the current command as "aborted", and start the xhci command abortion process. Previously each

Re: about possible port reset when disconnect

2014-04-03 Thread vichy
hi Alan: >> Your log contains the explanation: >> >>> Platform-ehci Platform-ehci.0: port 1 reset >> >> This is where the reset starts. >> >>> Platform-ehci Platform-ehci.0: in port reset sequence, GetStatus >>> port:1 status 000100 0 ACK sig=se0 RESET >>> usb 4-1: USB disconnect, device number 20

Re: [PATCH libata/for-3.15-fixes] libata: drop COMPILE_TEST from AHCI_XGENE

2014-04-03 Thread Tejun Heo
Hello, On Thu, Apr 03, 2014 at 04:32:24PM +0200, Bartlomiej Zolnierkiewicz wrote: > > So, apparently, this isn't enough as this would allow enabling > > PHY_XGENE regardless of HAS_IOMEM or OF. From kconfig-language.txt, > > PHY_XGENE has the following dependencies: > > depends on HAS_IOM

Re: [PATCH v2 1/2] usb: doc: udc-xilinx: Add devicetree bindings

2014-04-03 Thread Felipe Balbi
On Thu, Apr 03, 2014 at 01:05:18PM +0530, Subbaraya Sundeep Bhatta wrote: > Add devicetree bindings for Xilinx axi udc driver. > > Signed-off-by: Subbaraya Sundeep Bhatta > --- > Changes for v2: > - replaced xlnx,include-dma with xlnx,has-builtin-dma > > .../devicetree/bindings/usb/udc-xi

Re: [PATCH] USB: usb_wwan: fix handling of missing bulk endpoints

2014-04-03 Thread Rafał Miłecki
2014-04-03 13:06 GMT+02:00 Johan Hovold : > Fix regression introduced by commit 8e493ca1767d ("USB: usb_wwan: fix > bulk-urb allocation") by making sure to require both bulk-in and out > endpoints during port probe. Tested-by: Rafał Miłecki -- To unsubscribe from this list: send the line "unsubsc

Re: [PATCH v2 2/2] usb: gadget: Add xilinx axi usb2 device support

2014-04-03 Thread Michal Simek
>> +struct xusb_udc { >> +struct usb_gadget gadget; >> +struct xusb_ep ep[8]; >> +struct usb_gadget_driver *driver; >> +struct cmdbuf ch9cmd; >> +u32 usb_state; >> +u32 remote_wkp; >> +unsigned int (*read_fn)(void __iomem *); >> +void (*write_fn)(void __iomem *, u32,

[PATCH v4 0/6] libusbg: Add remove gadget/config/func/binding functionality.

2014-04-03 Thread Krzysztof Opasiak
Dear Matt, In this series of patch I have added remove gadget, config, function, binding functionality which was missing since introduction of library. I have also added remove strings functionality which allow to remove gadget and configuration strings in given language. To show how to use new

[PATCH v4 2/6] libusbg: Add remove gadget/config strings functionality.

2014-04-03 Thread Krzysztof Opasiak
Add functions which allow to remove strings in gadget and configuration. Signed-off-by: Krzysztof Opasiak --- include/usbg/usbg.h | 16 +++ src/usbg.c | 56 +++ 2 files changed, 72 insertions(+) diff --git a/include/usbg/u

[PATCH v4 1/6] libusbg: Add remove binding functionality.

2014-04-03 Thread Krzysztof Opasiak
Add function which allow to remove binding between function and configuration. This functions also remove binding from internal library structures wht means that after this operation all pointers to removed binding are invalid. Signed-off-by: Krzysztof Opasiak --- include/usbg/usbg.h | 10

[PATCH v4 3/6] libusbg: Add remove configuration functionality.

2014-04-03 Thread Krzysztof Opasiak
Add function which allow to remove configuration. This functions also remove binding from internal library structures what means that after this operation all pointers to removed config are invalid. Signed-off-by: Krzysztof Opasiak --- include/usbg/usbg.h | 16 src/usbg.c

[PATCH v4 5/6] libusbg: Add remove gadget functionality.

2014-04-03 Thread Krzysztof Opasiak
Add function which allow to remove USB gadget. This functions also remove gadget from internal library structures what means that after this operation all pointers to removed gadget are invalid. Signed-off-by: Krzysztof Opasiak --- include/usbg/usbg.h |9 + src/usbg.c | 54

[PATCH v4 4/6] libusbg: Add remove function functionality.

2014-04-03 Thread Krzysztof Opasiak
Add function which allow to remove USB function. This functions also remove function from internal library structures what means that after this operation all pointers to removed function are invalid. Signed-off-by: Krzysztof Opasiak --- include/usbg/usbg.h |9 + src/usbg.c

[PATCH v4 6/6] libusbg: Update examples to new API functionality.

2014-04-03 Thread Krzysztof Opasiak
Removing gadget/config/function/binding functionality has been added to API so add example of how to use it. Signed-off-by: Krzysztof Opasiak --- examples/Makefile.am |3 +- examples/gadget-vid-pid-remove.c | 114 ++ include/usbg/usbg.h

RE: [PATCH v3 5/6] libusbg: Add remove gadget functionality.

2014-04-03 Thread Krzysztof Opasiak
> -Original Message- > From: Matt Porter [mailto:mpor...@linaro.org] > Sent: Thursday, April 03, 2014 3:02 PM > To: Krzysztof Opasiak > Cc: linux-usb@vger.kernel.org; Andrzej Pietrasiewicz; Karol > Lewandowski; Stanislaw Wadas; ty317@samsung.org; Marek > Szyprowski; Robert Baldyga > Sub

xhci: non-superspeed enumeration failure (was: Re: medtronic usb productId 0x8001: usbserial support, xhci enumeration)

2014-04-03 Thread Johan Hovold
Hi Mathias and Benjamin, Mathias, I understand you've got quite a lot on your plate with xhci at the moment, but have you had a change to look at this issue yet? It's an xhci-issue (possibly due to buggy hw) which seems related to the non-superspeed enumeration work that was made by Sarah and Dan

Re: [PATCH v2 1/1] usb: option driver, add support for Telit UE910v2

2014-04-03 Thread Johan Hovold
On Wed, Apr 02, 2014 at 11:19:48AM +0200, Daniele Palmas wrote: > option driver, added VID/PID for Telit UE910v2 modem Thanks for the update. > Signed-off-by: Daniele Palmas Cc: stable Signed-off-by: Johan Hovold > --- > drivers/usb/serial/option.c |2 ++ > 1 files changed, 2 insertions

Trouble getting event device created after usbhid attaches

2014-04-03 Thread Doug Clements
Hi all, I'm having trouble getting a few devices to work, and I'm not sure where to go next. As far as I can tell, the usbhid driver attaches to the device, but an event device never gets created. This is kernel 3.3.8 on a wifi pineapple. The distro is based off open-wrt (attitude-adjustment, t

Re: xhci_hcd: Error while assigning device slot ID

2014-04-03 Thread Sarah Sharp
On Thu, Apr 03, 2014 at 04:30:28PM +, Amund Hov wrote: > Dear kernel developers, > > I'm running into an interesting limitation with a NEC PD720200 USB 3.0 > host controller connected by PCIe. What I want to do is connect 13 > mass storage devices to each downstream port (of which there are tw

Re: about possible port reset when disconnect

2014-04-03 Thread Alan Stern
On Thu, 3 Apr 2014, vichy wrote: > I add more description. > in Below #1, since connect status is zero, handshake will fail with > return -ETIMEDOUT. > Then go to #2 error label. > and finally hub_port_status get -32, -EPIPE. > > 1. Platform-ehci Platform-ehci.0: port 1 reset error -110 > th

[PATCH v6 00/11] Add USB OTG HNP and SRP support on Chipidea usb driver

2014-04-03 Thread Li Jun
From: Li Jun This patchset adds USB OTG HNP and SRP support on chipidea usb driver, existing OTG port role swtich function by ID pin status kept unchanged, based on that, if select CONFIG_USB_OTG_FSM, OTG HNP and SRP will be supported. Reference to: "On-The-Go and Embedded Host Supplement to the

[PATCH v6 06/11] usb: chipidea: OTG fsm timers initialization.

2014-04-03 Thread Li Jun
From: Li Jun This patch adds OTG fsm timers initialization, which use controller's 1ms interrupt as timeout counter, also adds some local timers which are not in otg_fsm_timer list. Signed-off-by: Li Jun --- drivers/usb/chipidea/bits.h|1 + drivers/usb/chipidea/otg_fsm.c | 188 +++

[PATCH v6 03/11] usb: chipidea: host: init otg port number.

2014-04-03 Thread Li Jun
Init otg_port number of otg capable host to be 1 at host start. Signed-off-by: Li Jun --- drivers/usb/chipidea/host.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/usb/chipidea/host.c b/drivers/usb/chipidea/host.c index ffb4168..ee1088e 100644 --- a/dr

[PATCH v6 04/11] usb: chipidea: udc: driver update for OTG HNP.

2014-04-03 Thread Li Jun
Add b_hnp_enable request handling and enable gadget->is_otg Acked-by: Peter Chen Signed-off-by: Li Jun --- drivers/usb/chipidea/udc.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c index f58857d..cba7fd6

[PATCH v6 02/11] usb: chipidea: host: vbus control change for OTG HNP.

2014-04-03 Thread Li Jun
Leave vbus on/off hanlded by OTG fsm if in OTG mode. Signed-off-by: Li Jun --- drivers/usb/chipidea/host.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/usb/chipidea/host.c b/drivers/usb/chipidea/host.c index a8ac6c1..ffb4168 100644 --- a/drivers/usb/ch

[PATCH v6 01/11] usb: chipidea: usb OTG fsm initialization.

2014-04-03 Thread Li Jun
This patch adds OTG fsm related initialization when do otg init, add a seperate file for OTG fsm related utilities. Signed-off-by: Li Jun --- drivers/usb/chipidea/Makefile |1 + drivers/usb/chipidea/ci.h | 16 +++ drivers/usb/chipidea/otg.c |6 - drivers/usb/chipi

[PATCH v6 05/11] usb: chipidea: add OTG fsm operation functions implemenation.

2014-04-03 Thread Li Jun
Add OTG HNP and SRP operation functions implementation: - charge vbus - drive vbus - connection signaling - drive sof - start data pulse - add fsm timer - delete fsm timer - start host - start gadget Signed-off-by: Li Jun --- drivers/usb/chipidea/bits.h|9 ++ drivers/usb/chipidea/ci.h

[PATCH v6 09/11] usb: chipidea: debug: add debug file for OTG variables

2014-04-03 Thread Li Jun
From: Li Jun This patch adds a debug file for OTG vairables show. Signed-off-by: Li Jun --- drivers/usb/chipidea/debug.c | 84 ++ 1 file changed, 84 insertions(+) diff --git a/drivers/usb/chipidea/debug.c b/drivers/usb/chipidea/debug.c index 5b890c1..

[PATCH v6 11/11] Documentation: usb: add chipidea.txt for how to demo usb OTG HNP and SRP

2014-04-03 Thread Li Jun
From: Li Jun This patch adds a file chipidea.txt for how to demo chipidea usb OTG HNP and SRP functions via sysfs input files, any other possible information should be documented for chipidea usb driver in future can be added into this file. Signed-off-by: Li Jun --- Documentation/usb/chipidea

[PATCH v6 07/11] usb: chipidea: OTG HNP and SRP fsm implementation.

2014-04-03 Thread Li Jun
From: Li Jun USB OTG interrupt handling and fsm transitions according to USB OTG and EH 2.0. Signed-off-by: Li Jun --- drivers/usb/chipidea/core.c| 13 ++- drivers/usb/chipidea/otg.c |9 +- drivers/usb/chipidea/otg_fsm.c | 228 drivers/us

[PATCH v6 10/11] Documentation: ABI: usb: sysfs Description for chipidea USB OTG HNP and SRP

2014-04-03 Thread Li Jun
From: Li Jun This patch adds sysfs interface description for chipidea USB OTG HNP and SRP. Signed-off-by: Li Jun --- .../ABI/testing/sysfs-platform-chipidea-usb-otg| 56 1 file changed, 56 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-platform-chipidea-

[PATCH v6 08/11] usb: chipidea: add sys inputs for OTG fsm input.

2014-04-03 Thread Li Jun
From: Li Jun This patch adds sys input to control and show OTG fsm inputs by application, user can do host and preipheral role switch by change these inputs. Signed-off-by: Li Jun --- drivers/usb/chipidea/otg.c |2 + drivers/usb/chipidea/otg_fsm.c | 173 +++

Re: [PATCH v2 1/2] usb: doc: udc-xilinx: Add devicetree bindings

2014-04-03 Thread Michal Simek
On 04/03/2014 04:59 PM, Felipe Balbi wrote: > On Thu, Apr 03, 2014 at 01:05:18PM +0530, Subbaraya Sundeep Bhatta wrote: >> Add devicetree bindings for Xilinx axi udc driver. >> >> Signed-off-by: Subbaraya Sundeep Bhatta >> --- >> Changes for v2: >> - replaced xlnx,include-dma with xlnx,has-bu