Re: [PATCH 4/4] usb: legacy/multi add supports OTG 2.0

2015-03-25 Thread Li Jun
On Thu, Mar 26, 2015 at 03:38:38AM +0800, Macpaul Lin wrote: > add supports OTG 2.0 for multi.c > > Signed-off-by: Macpaul Lin > --- > drivers/usb/gadget/legacy/multi.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/usb/gadget/legacy/multi.c > b/drivers/usb/gadget/legacy/m

Re: [PATCH 1/1] usb: chipidea: otg: remove mutex unlock and lock while stop and start role

2015-03-25 Thread Peter Chen
On Thu, Mar 26, 2015 at 01:36:19PM +0800, Li Jun wrote: > On Thu, Mar 26, 2015 at 11:50:11AM +0800, Chen Peter-B29397 wrote: > > > > > > > > This is to fix the problem of HNP you reported after apply my HNP polling > > > patchset, I verified with i.MX6DL and i.MX6SX SDB and it works ok(with > >

Re: [PATCH 1/1] usb: chipidea: otg: remove mutex unlock and lock while stop and start role

2015-03-25 Thread Li Jun
On Thu, Mar 26, 2015 at 11:50:11AM +0800, Chen Peter-B29397 wrote: > > > > > This is to fix the problem of HNP you reported after apply my HNP polling > > patchset, I verified with i.MX6DL and i.MX6SX SDB and it works ok(with each > > one as A or B device). > > > > --- > > drivers/usb/chipidea

Re: [PATCH RESEND] phy: exynos5-usbdrd: Add to support for Exynos5433 SoC

2015-03-25 Thread Vivek Gautam
On Thu, Mar 26, 2015 at 7:48 AM, Jaewon Kim wrote: > This patch adds driver data to support for Exynos5433 SoC. > The Exynos5433 has one USB3.0 Host and USB3.0 DRD(Dual Role Device). > Exynos5433 is simplar to Eyxnos7 but Exynos5433 have > one more USB3.0 Host controller. > > Signed-off-by: Jaewon

RE: [PATCH 1/1] usb: chipidea: otg: remove mutex unlock and lock while stop and start role

2015-03-25 Thread Peter Chen
> > This is to fix the problem of HNP you reported after apply my HNP polling > patchset, I verified with i.MX6DL and i.MX6SX SDB and it works ok(with each > one as A or B device). > > --- > drivers/usb/chipidea/otg_fsm.c | 4 > 1 file changed, 4 deletions(-) > > diff --git a/drivers/usb

[PATCH v2] usb: introduce OTG 2.0 related kernel feature and API.

2015-03-25 Thread Macpaul Lin
Introduce kernel feature CONFIG_USB_OTG20 and related gadget_is_otg20() API for supporting OTG20 compliant drivers. This patch also updated usb_otg_descritpor. Signed-off-by: Macpaul Lin --- drivers/usb/core/Kconfig | 9 + include/linux/usb/gadget.h | 24

[PATCH RESEND] phy: exynos5-usbdrd: Add to support for Exynos5433 SoC

2015-03-25 Thread Jaewon Kim
This patch adds driver data to support for Exynos5433 SoC. The Exynos5433 has one USB3.0 Host and USB3.0 DRD(Dual Role Device). Exynos5433 is simplar to Eyxnos7 but Exynos5433 have one more USB3.0 Host controller. Signed-off-by: Jaewon Kim Tested-by: Chanwoo Choi --- .../devicetree/bindings/phy

Re: [PATCH 1/3] phy: core: Add devm_of_phy_get_by_index to phy-core

2015-03-25 Thread Arun Ramamurthy
On 15-03-25 03:03 PM, Kishon Vijay Abraham I wrote: Hi, On Saturday 21 March 2015 02:59 AM, Arun Ramamurthy wrote: On 15-03-20 02:26 PM, Dmitry Torokhov wrote: Hi Arun, On Fri, Mar 20, 2015 at 02:07:08PM -0700, Arun Ramamurthy wrote: Adding devm_of_phy_get_by_index to get phys by supplyi

Re: [PATCH 1/3] phy: core: Add devm_of_phy_get_by_index to phy-core

2015-03-25 Thread Kishon Vijay Abraham I
Hi, On Saturday 21 March 2015 02:59 AM, Arun Ramamurthy wrote: > > > On 15-03-20 02:26 PM, Dmitry Torokhov wrote: >> Hi Arun, >> >> On Fri, Mar 20, 2015 at 02:07:08PM -0700, Arun Ramamurthy wrote: >>> Adding devm_of_phy_get_by_index to get phys by supplying an index >>> and not a phy name when m

[PATCH 1/1] usb: musb: dsps: fix build on i386 when COMPILE_TEST is set

2015-03-25 Thread Tony Lindgren
Commit 3e457371f436 ("usb: musb: Fix fifo reads for dm816x with musb_dsps") fixed a USB error on dm816x, but introduced a new build error on i386 when COMPILE_TEST is set: drivers/usb/musb/musb_dsps.c: In function ‘dsps_read_fifo32’: drivers/usb/musb/musb_dsps.c:624:3: error: implicit declaration

[PATCH] Documentation: usb: serial: fixed how to provide vendor and product id

2015-03-25 Thread Marek Belisko
From: "H. Nikolaus Schaller" While trying to test the Pyra GSM/GPS/3G module I had reconfigured the USB interface by mistake and therefore needed to run a different USB driver than CSC-ACM. It turned out that I need the "usbserial" driver. This file is an official description how to use it: Docu

[PATCH] usbnet: Fix tx_bytes statistic running backward in cdc_ncm

2015-03-25 Thread Bjørn Mork
From: Ben Hutchings cdc_ncm disagrees with usbnet about how much framing overhead should be counted in the tx_bytes statistics, and tries 'fix' this by decrementing tx_bytes on the transmit path. But statistics must never be decremented except due to roll-over; this will thoroughly confuse user-

[PATCH 1/4] usb: introduce OTG 2.0 related kernel feature and API.

2015-03-25 Thread Macpaul Lin
Introduce kernel feature CONFIG_USB_OTG20 and related gadget_is_otg20() API for supporting OTG20 compliant drivers. This patch also updated usb_otg_descritpor. Signed-off-by: Macpaul Lin --- drivers/usb/core/Kconfig | 9 + include/linux/usb/gadget.h | 24

[PATCH 2/4] usb: add ADP, HNP, and SRP feature options to gadget structure.

2015-03-25 Thread Macpaul Lin
Add ADP, HNP, and SRP feature options to gadget structure. Signed-off-by: Macpaul Lin --- include/linux/usb/gadget.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h index e598677..d6d8454 100644 --- a/include/linux/usb/gadget.h

[PATCH 3/4] usb: add options to identify the capabilities of OTG devices

2015-03-25 Thread Macpaul Lin
Add independent options for identify the capabilities of ADP/SRP/HNP feature for OTG devices. Signed-off-by: Macpaul Lin --- drivers/usb/gadget/composite.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c index

[PATCH 4/4] usb: legacy/multi add supports OTG 2.0

2015-03-25 Thread Macpaul Lin
add supports OTG 2.0 for multi.c Signed-off-by: Macpaul Lin --- drivers/usb/gadget/legacy/multi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/gadget/legacy/multi.c b/drivers/usb/gadget/legacy/multi.c index 39d27bb..0f4005e 100644 --- a/drivers/usb/gadget/legacy/multi.c ++

RE: [PATCH] usb: musb: add softconnect for host mode

2015-03-25 Thread Liu, Bin
Hi, > -Original Message- > From: Tal Shorer [mailto:tal.sho...@gmail.com] > Sent: Tuesday, March 24, 2015 4:50 PM > To: Liu, Bin > Cc: linux-usb@vger.kernel.org; Balbi, Felipe > Subject: Re: [PATCH] usb: musb: add softconnect for host mode > > Mostly out of curiosity, why a debugfs interf

Re: [PATCH] usb: add OTG 2.0 definition and support into gadget function

2015-03-25 Thread Macpaul Lin
Hi Peter, 2015-03-25 19:59 GMT+08:00 Peter Chen : >> +config USB_OTG20 >> + bool "OTG20 support (EXPERIMENTAL)" ... >> + Select this only if your board support OTG 20's hardware >> requirements. ... >> +#ifdef CONFIG_USB_OTG20 >> + case USB_DT_OTG: >> +

Re: [PATCH] hid: add quirk for PIXART OEM mouse used by HP

2015-03-25 Thread Jiri Kosina
On Wed, 25 Mar 2015, Jiri Kosina wrote: > > This mouse is also known under other IDs. It > > needs the quirk or will disconnect in runlevel 1 or 3. > > > > Signed-off-by: Oliver Neukum > > CC: sta...@vger.kernel.org > > What tree is this against? I don't have USB_VENDOR_ID_HP in my tree. Ah, o

Re: [PATCH] hid: add quirk for PIXART OEM mouse used by HP

2015-03-25 Thread Jiri Kosina
On Wed, 25 Mar 2015, Oliver Neukum wrote: > This mouse is also known under other IDs. It > needs the quirk or will disconnect in runlevel 1 or 3. > > Signed-off-by: Oliver Neukum > CC: sta...@vger.kernel.org What tree is this against? I don't have USB_VENDOR_ID_HP in my tree. > --- > drivers/

[PATCH] hid: add quirk for PIXART OEM mouse used by HP

2015-03-25 Thread Oliver Neukum
This mouse is also known under other IDs. It needs the quirk or will disconnect in runlevel 1 or 3. Signed-off-by: Oliver Neukum CC: sta...@vger.kernel.org --- drivers/hid/hid-ids.h | 1 + drivers/hid/usbhid/hid-quirks.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/hid

Re: [PATCH] USB: ftdi_sio: Use jtag quirk for SNAP Connect E10

2015-03-25 Thread Johan Hovold
On Wed, Mar 25, 2015 at 08:51:26AM -0500, Doug Goldstein wrote: > On Wed, Mar 25, 2015 at 3:44 AM, Johan Hovold wrote: > > On Mon, Mar 23, 2015 at 08:34:48PM -0500, Doug Goldstein wrote: > >> This patch uses the existing CALAO Systems ftdi_8u2232c_probe in order > >> to avoid attaching a TTY to th

Re: Delivery Status Notification (Failure)

2015-03-25 Thread Alan Stern
On Tue, 24 Mar 2015, Cristian wrote: > Hello Developers of linux USB: > > My report: > https://bugzilla.kernel.org/show_bug.cgi?id=95441 I read your bugzilla entry. It doesn't say what the problem is. All it does is list a few lines from the kernel log (and output from lspci). Alan Stern P

[PATCH] HID: add HP OEM mouse to quirk ALWAYS_POLL

2015-03-25 Thread Oliver Neukum
This mouse needs QUIRK_ALWAYS_POLL Signed-off-by: Oliver Neukum CC: sta...@vger.kernel.org --- drivers/hid/hid-ids.h | 3 +++ drivers/hid/usbhid/hid-quirks.c | 1 + 2 files changed, 4 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 9c47867..7ace715 10064

Re: Errata for Freescale root-hub TT?

2015-03-25 Thread Alan Stern
On Wed, 25 Mar 2015, Peter Chen wrote: > > > How do you know the frame has filled already at that time? The software > > > makes sure it fills frame in time before next time frame? > > > > I'm not sure I understand the question. > > > > The USB analyzer log showed something like this (this is a

Re: [PATCH] USB: ftdi_sio: Use jtag quirk for SNAP Connect E10

2015-03-25 Thread Doug Goldstein
On Wed, Mar 25, 2015 at 3:44 AM, Johan Hovold wrote: > On Mon, Mar 23, 2015 at 08:34:48PM -0500, Doug Goldstein wrote: >> This patch uses the existing CALAO Systems ftdi_8u2232c_probe in order >> to avoid attaching a TTY to the JTAG port as this board is based on the >> CALAO Systems reference des

RE: [PATCH] usb: add OTG 2.0 definition and support into gadget function

2015-03-25 Thread Peter Chen
> > Add OTG 2.0 descriptors and enable the gadget function. > This change has been tested with USB-IF Compliance PET TEST: OTG-B > VBUS.mpet testing item. > > Signed-off-by: Macpaul Lin > --- > drivers/usb/core/Kconfig | 9 + > drivers/usb/gadget/composite.c| 12

Re: [PATCH] usb: add OTG 2.0 definition and support into gadget function

2015-03-25 Thread Li Jun
On Wed, Mar 25, 2015 at 06:04:17PM +0800, Macpaul Lin wrote: > Add OTG 2.0 descriptors and enable the gadget function. > This change has been tested with USB-IF Compliance > PET TEST: OTG-B VBUS.mpet testing item. > > Signed-off-by: Macpaul Lin > --- > drivers/usb/core/Kconfig | 9

[PATCH 1/1] usb: chipidea: otg: remove mutex unlock and lock while stop and start role

2015-03-25 Thread Li Jun
Wrongly release mutex lock during otg_statemachine may result in re-enter otg_statemachine, which is not allowed, we should do next state transtition after previous one completed. Signed-off-by: Li Jun Hi Peter This is to fix the problem of HNP you reported after apply my HNP polling patchset,

Re: [PATCH v4 0/8] add HNP polling support for usb otg fsm

2015-03-25 Thread Li Jun
On Wed, Mar 25, 2015 at 02:43:43PM +0800, Chen Peter-B29397 wrote: > > > On Wed, Mar 25, 2015 at 02:03:51PM +0800, Peter Chen wrote: > > > > > > Hi Jun, > > > > > > The above three patches are in Greg's next tree, after I apply your > > > chipidea fix [1] for pullup dp, it still some other proble

Re: [PATCH v2 00/14] usb: generic resume timeout

2015-03-25 Thread Greg KH
On Thu, Mar 19, 2015 at 11:30:50AM -0500, Felipe Balbi wrote: > On Mon, Feb 23, 2015 at 12:39:40PM -0600, Felipe Balbi wrote: > > Hi all, > > > > here's v2 of usb generic timeout patchset. Rebased on > > v4.0-rc1 and tested on AM437x SK, and BBB. > > > > skipped boards: > > > > . AM57x x15 has p

[PATCH] usb: add OTG 2.0 definition and support into gadget function

2015-03-25 Thread Macpaul Lin
Add OTG 2.0 descriptors and enable the gadget function. This change has been tested with USB-IF Compliance PET TEST: OTG-B VBUS.mpet testing item. Signed-off-by: Macpaul Lin --- drivers/usb/core/Kconfig | 9 + drivers/usb/gadget/composite.c| 12 drivers/usb/gad

Re: [PATCH] USB: ftdi_sio: Use jtag quirk for SNAP Connect E10

2015-03-25 Thread Johan Hovold
On Mon, Mar 23, 2015 at 08:34:48PM -0500, Doug Goldstein wrote: > This patch uses the existing CALAO Systems ftdi_8u2232c_probe in order > to avoid attaching a TTY to the JTAG port as this board is based on the > CALAO Systems reference design and needs the same fix up. Thanks for the patch. Could

Re: [PATCH] usb: Enable LPM for USB 2.01+ full-speed devices

2015-03-25 Thread Oliver Neukum
On Wed, 2015-03-25 at 12:23 +0530, rtat...@codeaurora.org wrote: > From: Rupesh Tatiya > > USB 2.01+ full-speed devices can have extended descriptor as well > and can support LPM. Yes, they in theory can, but what happens if they are actually asked to do so? On how many devices have you tested t