RE: [PATCH v2 12/12] libusbg: Replace directory names with defines.

2013-12-23 Thread Krzysztof Opasiak
Hi, > -Original Message- > From: David Laight [mailto:david.lai...@aculab.com] > > From: Krzysztof Opasiak > > Replace strings, functions, configs strings placed > > everywhere in code with macro defintions STRINGS_DIR, > > FUNCTIONS_DIR and CONFIGS_DIR. > > I'm not convinced this is an i

Re: [PATCH v8 9/9] ARM: dts: add usb udc support to bcm281xx

2013-12-23 Thread Christian Daudt
On Thu, Dec 19, 2013 at 6:23 AM, Matt Porter wrote: > Adds USB OTG/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 Applied to armsoc/for-3.14/dt thanks

RE: gadgetfs USB2.0 Chapter 9 Tests: Test after "Addressed State" fails

2013-12-23 Thread roshan.jhalani
Hi, I spent some time on this issue. And it looks like the only possible solution to avoid USB disconnect from gadgetFs driver. In my trial, I avoided ep0_release/ep_release in every disconnect with function state update. With this CV passes without functionality impact. I don't know what was t

Re: [PATCH v2 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

2013-12-23 Thread Vivek Gautam
Hi All, On Wed, Dec 4, 2013 at 3:39 PM, Vivek Gautam wrote: > Add a new driver for the USB 3.0 PHY on Exynos5 series of SoCs. > The new driver uses the generic PHY framework and will interact > with DWC3 controller present on Exynos5 series of SoCs. > Thereby, removing old phy-samsung-usb3 drive

Re:usb: cdc-wdm:

2013-12-23 Thread Thomas Schäfer
Am 23.12.2013 08:41, schrieb Bjørn Mork: my QMI (MC7710, E392) and MBIM (MC7710, DWM-156) modems all work fine with v3.13-rc3 and IPv6, except for the Huawei E367 which doesn't support IPv6 PDPs at all (at least not with the firmware revision I have). None of the modems seem to respond to DHCPv

Re: usb: cdc-wdm:

2013-12-23 Thread Bjørn Mork
Thomas Schäfer writes: > Am 23.12.2013 08:41, schrieb Bjørn Mork: > my QMI (MC7710, E392) and MBIM (MC7710, DWM-156) modems all work >> fine with v3.13-rc3 and IPv6, except for the Huawei E367 which doesn't >> support IPv6 PDPs at all (at least not with the firmware revision I >> have). None of

[PATCH] usb/core: fix NULL pointer dereference in recursively_mark_NOTATTACHED

2013-12-23 Thread Du, ChangbinX
>From ee48b3736d437af79d4fe858cdf64f241c76c339 Mon Sep 17 00:00:00 2001 From: "Du, Changbin" Date: Wed, 18 Dec 2013 16:47:21 +0800 Subject: [PATCH] usb/core: fix NULL pointer dereference in recursively_mark_NOTATTACHED usb_hub_to_struct_hub() can return NULL if the hub without active configurati

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

2013-12-23 Thread Manu Gautam
On 12/20/2013 8:47 PM, Michal Nazarewicz wrote: > On Fri, Dec 20 2013, Manu Gautam wrote: > > I don't like this. Why are we failing if descriptors for given speed > are missing? If they are, we should fall back to lower speed. > > do { > ds = ep->descs[desc_idx]; > } w

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

2013-12-23 Thread Manu Gautam
Allow userspace to pass SuperSpeed descriptors and handle them in the driver accordingly. This change doesn't modify existing desc_header and thereby keeps the ABI changes backward compatible i.e. existing userspace drivers compiled with old header (functionfs.h) would continue to work with the upd

cuenta Advertencia.

2013-12-23 Thread CORREO
Su contraseña caducará en 3 días formulario llenar y enviar de inmediato para validar su dirección de e-mail. Nombre de Usuario: . Contraseña anterior: . Nueva Contraseña: gracias administrador del sistema Email secured by Check Point -- To unsubsc

Re: [PATCH v4] usb: gadget: Add UDC driver for Aeroflex Gaisler GRUSBDC

2013-12-23 Thread Andreas Larsson
On 12/19/2013 04:31 PM, Robert Baldyga wrote: Hi Andreas, According to changes in gadget API, which I did in this patch http://permalink.gmane.org/gmane.linux.usb.general/100108 you should initialize endpoints with ep_set_maxpacket_limit() function. I described needed changes in your code (in g

Re: [PATCH] usb/core: fix NULL pointer dereference in recursively_mark_NOTATTACHED

2013-12-23 Thread Alan Stern
On Mon, 23 Dec 2013, Du, ChangbinX wrote: > From ee48b3736d437af79d4fe858cdf64f241c76c339 Mon Sep 17 00:00:00 2001 > From: "Du, Changbin" > Date: Wed, 18 Dec 2013 16:47:21 +0800 > Subject: [PATCH] usb/core: fix NULL pointer dereference in > recursively_mark_NOTATTACHED > > usb_hub_to_struct_hub

Re: [PATCH] usb: dwc3: ep0: Handle variable-length Data Stage

2013-12-23 Thread Felipe Balbi
Hi, On Fri, Dec 20, 2013 at 04:38:01PM +0900, Anton Tikhomirov wrote: > > > + /* handle the case where we have to send a zero packet */ > > > + if ((epnum & 1) && ur->zero && > > > + (ur->length % ep0->endpoint.maxpacket == 0)) { > > > + int ret; > > > + > > > + ret = dwc3_ep0_

[PATCH] usb: phy: fsm-usb: staticize two functions

2013-12-23 Thread Felipe Balbi
those two functions are only used inside this file, we should make them static. Signed-off-by: Felipe Balbi --- drivers/usb/phy/phy-fsm-usb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/phy/phy-fsm-usb.c b/drivers/usb/phy/phy-fsm-usb.c index 65c3a72..7aa31

Re: gadgetfs USB2.0 Chapter 9 Tests: Test after "Addressed State" fails

2013-12-23 Thread Felipe Balbi
Hi, (avoid top-posting and break your lines at 80-chars) On Mon, Dec 23, 2013 at 08:29:01AM +, roshan.jhal...@broadcom.com wrote: > Hi, > > I spent some time on this issue. And it looks like the only possible > solution to avoid USB disconnect from gadgetFs driver. > In my trial, I avoided e

Re: [PATCH] usb: phy: fsm-usb: staticize two functions

2013-12-23 Thread Felipe Balbi
On Mon, Dec 23, 2013 at 10:12:15AM -0600, Felipe Balbi wrote: > those two functions are only used inside this > file, we should make them static. > > Signed-off-by: Felipe Balbi nevermind, there was already another patch, using that one instead. -- balbi signature.asc Description: Digital si

Re: [PATCH v8 3/9] usb: gadget: s3c-hsotg: enable build for other platforms

2013-12-23 Thread Felipe Balbi
On Thu, Dec 19, 2013 at 09:23:04AM -0500, Matt Porter wrote: > 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/

Re: [PATCH v8 3/9] usb: gadget: s3c-hsotg: enable build for other platforms

2013-12-23 Thread Tomasz Figa
On Monday 23 of December 2013 10:25:57 Felipe Balbi wrote: > On Thu, Dec 19, 2013 at 09:23:04AM -0500, Matt Porter wrote: > > Remove unused Samsung-specific machine include and Kconfig > > dependency on S3C. > > > > Signed-off-by: Matt Porter > > Reviewed-by: Markus Mayer > > Reviewed-by: Tim Kr

Re: [PATCH v2 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

2013-12-23 Thread Felipe Balbi
Hi, On Mon, Dec 23, 2013 at 02:41:15PM +0530, Vivek Gautam wrote: > On Wed, Dec 4, 2013 at 3:39 PM, Vivek Gautam wrote: > > Add a new driver for the USB 3.0 PHY on Exynos5 series of SoCs. > > The new driver uses the generic PHY framework and will interact > > with DWC3 controller present on Exyno

Re: [PATCH v7 00/14] Add power management support for mxs phy

2013-12-23 Thread Felipe Balbi
Hi, On Fri, Dec 20, 2013 at 03:51:56PM +0800, Peter Chen wrote: > Hi Felipe & Shawn, > > The serial adds power management support for MXS PHY, it includes: > > - Add one PHY API .set_wakeup, and related API implementation at mxs phy > driver > - misc changes and bug fixes for mxs phy to support

Re: [PATCH v8 3/9] usb: gadget: s3c-hsotg: enable build for other platforms

2013-12-23 Thread Matt Porter
On Mon, Dec 23, 2013 at 05:30:41PM +0100, Tomasz Figa wrote: > On Monday 23 of December 2013 10:25:57 Felipe Balbi wrote: > > On Thu, Dec 19, 2013 at 09:23:04AM -0500, Matt Porter wrote: > > > Remove unused Samsung-specific machine include and Kconfig > > > dependency on S3C. > > > > > > Signed-of

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

2013-12-23 Thread Felipe Balbi
On Mon, Dec 23, 2013 at 05:18:42PM +0530, Manu Gautam wrote: > Allow userspace to pass SuperSpeed descriptors and > handle them in the driver accordingly. > This change doesn't modify existing desc_header and thereby > keeps the ABI changes backward compatible i.e. existing > userspace drivers comp

[PATCH] usbnet: mcs7830: rework link state detection

2013-12-23 Thread Octavian Purdila
Even with the quirks in commit dabdaf0c (mcs7830: Fix link state detection) there are still spurious link-down events for some chips where the false link-down events count go over a few hundreds. This patch takes a more conservative approach and only looks at link-down events where the link-down s

Re: [PATCH v5] usb: gadget: Add UDC driver for Aeroflex Gaisler GRUSBDC

2013-12-23 Thread Felipe Balbi
Hi, On Mon, Dec 23, 2013 at 12:57:38PM +0100, Andreas Larsson wrote: > This adds an UDC driver for GRUSBDC USB Device Controller cores available in > the > GRLIB VHDL IP core library. The driver only supports DMA mode. > > Signed-off-by: Andreas Larsson You have a few Sparse Warnings: drivers

Re: [PATCH] usb: phy: fix driver dependencies

2013-12-23 Thread Felipe Balbi
On Thu, Dec 19, 2013 at 05:25:07PM -0600, Felipe Balbi wrote: > On Fri, Dec 20, 2013 at 08:15:09AM +1100, Stephen Rothwell wrote: > > Hi Felipe, > > > > On Thu, 19 Dec 2013 09:30:34 -0600 Felipe Balbi wrote: > > > > > > Actually, when I merged greg/usb-linus on top of my 'next', I got a > > > con

[PATCH] staging: usbip: add support for viewing imported devices

2013-12-23 Thread Valentina Manea
As of Matt Mooney's major refactoring in 2011, usbip port option was left out. Add support for this option in a manner similar to the old implementation. Sample output: Imported USB devices Port 00: at Full Speed(12Mbps) unknown vendor : unknown product (1687:6211)

[PATCH v9 8/9] phy: add Broadcom Kona USB2 PHY driver

2013-12-23 Thread Matt Porter
Add a driver for the internal Broadcom Kona USB 2.0 PHY found on the BCM281xx family of SoCs. Signed-off-by: Matt Porter --- drivers/phy/Kconfig | 6 ++ drivers/phy/Makefile| 1 + drivers/phy/phy-bcm-kona-usb2.c | 158 3 files

[PATCH v9 7/9] phy: add Broadcom Kona USB2 PHY DT binding

2013-12-23 Thread Matt Porter
Add a binding that describes the Broadcom Kona USB2 PHY found on the BCM281xx family of SoCs. Signed-off-by: Matt Porter Acked-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/phy/bcm-phy.txt | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 Documentatio

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

2013-12-23 Thread Matt Porter
Adds USB OTG/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 | 6 ++ arch/arm/boot/dts/bcm11351.dtsi| 18 ++

[PATCH v9 2/9] staging: dwc2: update DT binding to add generic clock/phy properties

2013-12-23 Thread Matt Porter
dwc2/s3c-hsotg require a single clock to be specified and optionally a generic phy. On the s3c-hsotg driver old style USB phy support is present as a fallback so the generic phy properties are optional. Signed-off-by: Matt Porter Acked-by: Kishon Vijay Abraham I --- Documentation/devicetree/bin

[PATCH v9 4/9] usb: gadget: s3c-hsotg: add snps,dwc2 compatible string

2013-12-23 Thread Matt Porter
Enable support for the dwc2 binding. Signed-off-by: Matt Porter --- drivers/usb/gadget/s3c-hsotg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/gadget/s3c-hsotg.c b/drivers/usb/gadget/s3c-hsotg.c index db797f2..cbfbf41 100644 --- a/drivers/usb/gadget/s3c-hsotg.c +++ b/drivers/

[PATCH v9 5/9] usb: gadget: s3c-hsotg: enable generic phy support

2013-12-23 Thread Matt Porter
Adds support for the generic PHY subsystem. Generic PHY support is probed and then the driver falls back to checking for an old style USB PHY and pdata if not found. Signed-off-by: Matt Porter --- drivers/usb/gadget/s3c-hsotg.c | 55 ++ 1 file changed, 39

[PATCH v9 1/9] phy: add phy_get_bus_width()/phy_set_bus_width() calls

2013-12-23 Thread Matt Porter
This adds a pair of APIs that allows the generic PHY subsystem to provide information on the PHY bus width. The PHY provider driver may use phy_set_bus_width() to set the bus width that the PHY supports. The controller driver may then use phy_get_bus_width() to fetch the PHY bus width in order to p

[PATCH v9 6/9] usb: gadget: s3c-hsotg: get phy bus width from phy subsystem

2013-12-23 Thread Matt Porter
Adds support for querying the phy bus width from the generic phy subsystem. Configure UTMI bus width in GUSBCFG based on this value. Signed-off-by: Matt Porter Acked-by: Kishon Vijay Abraham I --- drivers/usb/gadget/s3c-hsotg.c | 14 +- drivers/usb/gadget/s3c-hsotg.h | 1 + 2 files

[PATCH v9 3/9] usb: gadget: s3c-hsotg: enable build for other platforms

2013-12-23 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 | 8 drivers/usb/gadget/s3c-hsotg.c | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-) d

[PATCH v9 0/9] USB Device Controller support for BCM281xx

2013-12-23 Thread Matt Porter
Changes since v8: - Fix build issue in s3c-hsotg on !ARM by guarding with a "depends on ARM". Will fix by replacing use of readsl/writesl for 3.15 and dropping the Kconfig workaround.. Changes since v7: - Register phy provider with generic phy subsystem only aft

[PATCH] RFC: Allow to blacklist xhci_hcd module and use ports with EHCI

2013-12-23 Thread Holger Hans Peter Freyther
From: Holger Hans Peter Freyther xhci_hcd does not work with the Canon Lide scanners and has issues with the suspend/resume handling. My Acer Aspire S5 notebook only exposes USB3.0 ports and the distribution kernels generally have xhci_hcd enabled and I don't have any USB3.0 hardware either. I w

Re: [PATCH] staging: usbip: add support for viewing imported devices

2013-12-23 Thread Ilija Hadzic
On Mon, 23 Dec 2013, Valentina Manea wrote: As of Matt Mooney's major refactoring in 2011, usbip port option was left out. Add support for this option in a manner similar to the old implementation. Yeah, I guess most people (incluing myself) have been just happy with just cat-ing the files

Re: [PATCH v8 9/9] ARM: dts: add usb udc support to bcm281xx

2013-12-23 Thread Felipe Balbi
On Thu, Dec 19, 2013 at 09:23:10AM -0500, Matt Porter wrote: > Adds USB OTG/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 doesn't apply to my tree: ch

Re: xhci_hcd and Canon Lide 110 not playing well together

2013-12-23 Thread Alan Stern
On Mon, 23 Dec 2013, Matthias [ISO-8859-1] Bl�sing wrote: > I went ahead and did some runs (once I was able to reproduce the general > protection fault). The ehci port worked pretty fast (4 seconds from > start to GUI display), the xhci port took 7s in the best case to more > than one minute in th

Re: [PATCH v6] usb: gadget: Add UDC driver for Aeroflex Gaisler GRUSBDC

2013-12-23 Thread Felipe Balbi
Hi, On Mon, Dec 23, 2013 at 09:25:49PM +0100, Andreas Larsson wrote: > @@ -216,6 +216,13 @@ config USB_FOTG210_UDC > Say "y" to link the driver statically, or "m" to build a > dynamically linked module called "fotg210_udc". > > +config USB_GR_UDC > + tristate "Aeroflex Ga

[PATCH v2] staging: usbip: add support for viewing imported devices

2013-12-23 Thread Valentina Manea
As of Matt Mooney's major refactoring in 2011, usbip port option was left out. Add support for this option in a manner similar to the old implementation. Sample output: Imported USB devices Port 00: at Full Speed(12Mbps) unknown vendor : unknown product (1687:6211)

please read

2013-12-23 Thread Programa de Pós-graduação e Segurança Alimentar Nutricional - UFPR
i am william leung, i have a business proposal worth 24.5 million usd for you to handle for me, reply me via (williamleung...@wss-id.org) for more details. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH v7 06/14] usb: phy-mxs: Add anatop regmap

2013-12-23 Thread Shawn Guo
On Fri, Dec 20, 2013 at 03:52:02PM +0800, Peter Chen wrote: > It is needed by imx6 SoC series, but not for imx23 and imx28. > > Signed-off-by: Peter Chen > --- > drivers/usb/phy/phy-mxs-usb.c | 23 +-- > 1 files changed, 21 insertions(+), 2 deletions(-) > > diff --git a/dr

[PATCH] usb: gadget: at91_udc: fix build warning

2013-12-23 Thread Felipe Balbi
commit e117e742 (usb: gadget: add "maxpacket_limit" field to struct usb_ep) added a build warning to at91_udc when it passed the wrong argument to usb_ep_set_maxpacket_limit(). Fix this by passing correct argument. Signed-off-by: Felipe Balbi --- drivers/usb/gadget/at91_udc.c | 14 +++--

Re: gadgetfs USB2.0 Chapter 9 Tests: Test after "Addressed State" fails

2013-12-23 Thread Michal Nazarewicz
> On Mon, Dec 23, 2013 at 08:29:01AM +, roshan.jhal...@broadcom.com wrote: >> I spent some time on this issue. And it looks like the only possible >> solution to avoid USB disconnect from gadgetFs driver. >> In my trial, I avoided ep0_release/ep_release in every disconnect with >> function stat

Re: [PATCH v7 06/14] usb: phy-mxs: Add anatop regmap

2013-12-23 Thread Peter Chen
On Tue, Dec 24, 2013 at 08:15:00AM +0800, Shawn Guo wrote: > On Fri, Dec 20, 2013 at 03:52:02PM +0800, Peter Chen wrote: > > It is needed by imx6 SoC series, but not for imx23 and imx28. > > > > Signed-off-by: Peter Chen > > --- > > drivers/usb/phy/phy-mxs-usb.c | 23 +-- >

Re: [PATCH v7 06/14] usb: phy-mxs: Add anatop regmap

2013-12-23 Thread Shawn Guo
On Tue, Dec 24, 2013 at 09:20:11AM +0800, Peter Chen wrote: > > > @@ -226,6 +235,16 @@ static int mxs_phy_probe(struct platform_device > > > *pdev) > > > > > > platform_set_drvdata(pdev, mxs_phy); > > > > > > + if (mxs_phy->data->flags & MXS_PHY_HAS_ANATOP) { > > > + mxs_phy->regmap_

Re: [PATCH v7 10/14] usb: phy-mxs: add controller id

2013-12-23 Thread Shawn Guo
On Fri, Dec 20, 2013 at 03:52:06PM +0800, Peter Chen wrote: > It is used to access un-regulator registers according to > different controllers. > > Signed-off-by: Peter Chen > --- > drivers/usb/phy/phy-mxs-usb.c |8 > 1 files changed, 8 insertions(+), 0 deletions(-) > > diff --git

Re: [PATCH v7 10/14] usb: phy-mxs: add controller id

2013-12-23 Thread Peter Chen
On Tue, Dec 24, 2013 at 10:08:28AM +0800, Shawn Guo wrote: > On Fri, Dec 20, 2013 at 03:52:06PM +0800, Peter Chen wrote: > > It is used to access un-regulator registers according to > > different controllers. > > > > Signed-off-by: Peter Chen > > --- > > drivers/usb/phy/phy-mxs-usb.c |8

Re: [PATCH v7 10/14] usb: phy-mxs: add controller id

2013-12-23 Thread Shawn Guo
On Tue, Dec 24, 2013 at 09:34:47AM +0800, Peter Chen wrote: > On Tue, Dec 24, 2013 at 10:08:28AM +0800, Shawn Guo wrote: > > On Fri, Dec 20, 2013 at 03:52:06PM +0800, Peter Chen wrote: > > > It is used to access un-regulator registers according to > > > different controllers. > > > > > > Signed-of

Re: [PATCH v7 10/14] usb: phy-mxs: add controller id

2013-12-23 Thread Peter Chen
On Tue, Dec 24, 2013 at 10:25:17AM +0800, Shawn Guo wrote: > On Tue, Dec 24, 2013 at 09:34:47AM +0800, Peter Chen wrote: > > On Tue, Dec 24, 2013 at 10:08:28AM +0800, Shawn Guo wrote: > > > On Fri, Dec 20, 2013 at 03:52:06PM +0800, Peter Chen wrote: > > > > It is used to access un-regulator registe

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

2013-12-23 Thread Michal Nazarewicz
On Mon, Dec 23 2013, Manu Gautam wrote: > Allow userspace to pass SuperSpeed descriptors and > handle them in the driver accordingly. > This change doesn't modify existing desc_header and thereby > keeps the ABI changes backward compatible i.e. existing > userspace drivers compiled with old header

Re: [PATCH v7 10/14] usb: phy-mxs: add controller id

2013-12-23 Thread Shawn Guo
On Tue, Dec 24, 2013 at 10:09:17AM +0800, Peter Chen wrote: > > Yes. And with the DTS change being optional to kernel driver, the DTS > > and driver changes can be merged independently through two trees. So > > I just applied those two DTS patches. > > > > Including doc update or not? No. The

Re: [PATCH v2] staging: usbip: add support for viewing imported devices

2013-12-23 Thread Ilija Hadzic
This looks better, but there are still two minor issues: You have one trailing whtespace error. Please the scripts/checkpatch.pl script on the patch and correct the error. The title of the commit message should indicate that this is an userspace patch (this seems to be the convention that ot

RE: xHCI driver Bug report (Babble reported at enumeration for cam that works in Windows)

2013-12-23 Thread Marius Silaghi
This bug can be fixed by the patch I have just sent (if some maintainer will kindly apply it). I repeat the patch here: From: Marius C Silaghi This patch is generated against the last kernel version in the github kernel repository. Some older families of USB2 cameras (STC-XUSB) do not supp

[PATCH v8 04/12] usb: doc: phy-mxs: update binding for adding anatop phandle

2013-12-23 Thread Peter Chen
Add anatop phandle which is used to access anatop registers to control PHY's power and other USB operations. Signed-off-by: Peter Chen --- Documentation/devicetree/bindings/usb/mxs-phy.txt |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/Documentation/devicetree/bindings

[PATCH v8 02/12] usb: phy-mxs: Add platform judgement code

2013-12-23 Thread Peter Chen
The mxs-phy has several bugs and features at different versions, the driver code can get it through of_device_id.data. Signed-off-by: Peter Chen --- drivers/usb/phy/phy-mxs-usb.c | 58 ++-- 1 files changed, 49 insertions(+), 9 deletions(-) diff --git a/driv

[PATCH v8 03/12] usb: phy-mxs: Add auto clock and power setting

2013-12-23 Thread Peter Chen
The auto setting is used to open related power and clocks automatically after receiving wakeup signal. With this feature, the PHY's clock and power can be recovered correctly from low power mode, it is guaranteed by IC logic. Signed-off-by: Peter Chen --- drivers/usb/phy/phy-mxs-usb.c | 20 ++

[PATCH v8 00/12] Add power management support for mxs phy

2013-12-23 Thread Peter Chen
Hi Felipe & Shawn, The serial adds power management support for MXS PHY, it includes: - Add one PHY API .set_wakeup, and related API implementation at mxs phy driver - misc changes and bug fixes for mxs phy to support low power mode and wakeup. It is based on Greg's usb-next, 3.13-rc1. Changes

[PATCH v8 01/12] usb: doc: phy-mxs: Add more compatible strings

2013-12-23 Thread Peter Chen
Add "fsl,imx6q-usbphy" for imx6dq and imx6dl, add "fsl,imx6sl-usbphy" for imx6sl. Signed-off-by: Peter Chen --- Documentation/devicetree/bindings/usb/mxs-phy.txt |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/mxs-phy.txt b/Docume

[PATCH v8 05/12] usb: phy-mxs: Add anatop regmap

2013-12-23 Thread Peter Chen
It is needed by imx6 SoC series, but not for imx23 and imx28. Signed-off-by: Peter Chen --- drivers/usb/phy/phy-mxs-usb.c | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/drivers/usb/phy/phy-mxs-usb.c b/drivers/usb/phy/phy-mxs-usb.c index 0c6f3bc..12671c5 1

[PATCH v8 09/12] usb: phy: Add set_wakeup API

2013-12-23 Thread Peter Chen
This API is used to set wakeup enable at PHY registers, in that case, the PHY can be waken up from suspend due to external events, like vbus change, dp/dm change and id change. Signed-off-by: Peter Chen --- include/linux/usb/phy.h | 16 1 files changed, 16 insertions(+), 0 del

[PATCH v8 08/12] usb: phy-mxs: add controller id

2013-12-23 Thread Peter Chen
It is used to access un-regulator registers according to different controllers. Signed-off-by: Peter Chen --- drivers/usb/phy/phy-mxs-usb.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/usb/phy/phy-mxs-usb.c b/drivers/usb/phy/phy-mxs-usb.c index bf22970..c

[PATCH v8 06/12] usb: phy-mxs: change description of usb device speed

2013-12-23 Thread Peter Chen
Change "high speed" to "HS" Change "non-high speed" to "FS/LS" Implementation of notify_suspend and notify_resume will be different according to mxs_phy_data->flags. Signed-off-by: Peter Chen --- drivers/usb/phy/phy-mxs-usb.c |8 1 files changed, 4 insertions(+), 4 deletions(-) di

[PATCH v8 07/12] usb: phy-mxs: Enable IC fixes for related SoCs

2013-12-23 Thread Peter Chen
Two PHY bugs are fixed by IC logic, but these bits are not enabled by default, so we enable them at driver. The two bugs are: MXS_PHY_ABNORMAL_IN_SUSPEND and MXS_PHY_SENDING_SOF_TOO_FAST which are described at code. Signed-off-by: Peter Chen --- drivers/usb/phy/phy-mxs-usb.c | 23 +

[PATCH v8 10/12] usb: phy-mxs: Add implementation of set_wakeup

2013-12-23 Thread Peter Chen
When we need the PHY can be waken up by external signals, we can call this API. Besides, we call mxs_phy_disconnect_line at this API to close the connection between USB PHY and controller, after that, the line state from controller is SE0. Once the PHY is out of power, without calling mxs_phy_disco

[PATCH v8 12/12] usb: phy-mxs: Add sync time after controller clear phcd

2013-12-23 Thread Peter Chen
After clear portsc.phcd, PHY needs 200us stable time for switch 32K clock to AHB clock. Signed-off-by: Peter Chen --- drivers/usb/phy/phy-mxs-usb.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/drivers/usb/phy/phy-mxs-usb.c b/drivers/usb/phy/phy-mxs-usb.c in

[PATCH v8 11/12] usb: phy-mxs: Add system suspend/resume API

2013-12-23 Thread Peter Chen
We need this to keep PHY's power on or off during the system suspend mode. If we need to enable USB wakeup, then we must keep PHY's power being on during the system suspend mode. Otherwise, we need to keep PHY's power being off to save power. Signed-off-by: Peter Chen --- drivers/usb/phy/phy-mxs

[PATCH] usbcore: fix BABBLE failed enumeration of legacy USB2 devices on USB3 bus

2013-12-23 Thread Marius Silaghi
From: Marius C Silaghi This patch is generated against the last kernel version in the github kernel repository. Some older families of USB2 cameras (STC-XUSB) do not support querying only the first 8 bytes of their device descriptor and therefore fail at enumeration on USB3 HCDs, with babb

Re: [PATCH v2 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

2013-12-23 Thread Vivek Gautam
Hi Felipe, On Mon, Dec 23, 2013 at 10:18 PM, Felipe Balbi wrote: > Hi, > > On Mon, Dec 23, 2013 at 02:41:15PM +0530, Vivek Gautam wrote: >> On Wed, Dec 4, 2013 at 3:39 PM, Vivek Gautam >> wrote: >> > Add a new driver for the USB 3.0 PHY on Exynos5 series of SoCs. >> > The new driver uses the g