Re: [PATCH] usb: phy: rename all phy drivers to phy-$name.c

2013-03-10 Thread Felipe Balbi
Hi, On Fri, Mar 08, 2013 at 10:26:45AM -0700, Stephen Warren wrote: > On 03/08/2013 12:08 AM, Felipe Balbi wrote: > > On Thu, Mar 07, 2013 at 01:37:17PM -0700, Stephen Warren wrote: > >> On 03/07/2013 08:45 AM, Felipe Balbi wrote: > >>> this will make sure that we have sensible names for all phy >

Re: [PATCH 2/3] usb: phy: introduce ->set_vbus() method

2013-03-10 Thread Peter Chen
On Fri, Mar 08, 2013 at 05:56:11PM +0200, Felipe Balbi wrote: > Hi, > > On Fri, Mar 08, 2013 at 08:37:00PM +0800, Peter Chen wrote: > > On Fri, Mar 08, 2013 at 01:30:52PM +0200, Felipe Balbi wrote: > > > this method will be used to enable or disable > > > the charge pump. > > > > > > Whenever we

Re: About USBADRA bit at DEVICEADDR for chipidea driver

2013-03-10 Thread Peter Chen
On Fri, Mar 08, 2013 at 04:06:30PM +0200, Alexander Shishkin wrote: > Peter Chen writes: > > > On Fri, Mar 08, 2013 at 12:39:04PM +0200, Alexander Shishkin wrote: > >> Peter Chen writes: > >> > >> > Hi David > >> > >> Hi, > >> > >> > I notice at your code for hw_usb_set_address, there is a co

Re: RFC: [PATCH 1/3] usb: cdc_ncm: patch for VMware

2013-03-10 Thread Loic Domaigne
On Fri, Mar 08, 2013 at 04:28:59PM -0600, Dan Williams wrote: > On Fri, 2013-03-08 at 22:03 +0100, Loic Domaigne wrote: > > > > +/* maximum Rx URB size */ > > +/* > > + * in the original Linux driver, the rx urb size can be up to > > + * CDC_NCM_NTB_MAX_SIZE_RX. > > + * > > + * Under VMware (as o

Re: [PATCH] USB: EHCI: fix for leaking isochronous data

2013-03-10 Thread Alan Stern
On Sun, 10 Mar 2013, Soeren Moch wrote: > > On Wed, 20 Feb 2013, Soeren Moch wrote: > > > >> Ok. I use 2 em2840-based usb sticks (em28xx driver) attached to a > >> Marvell Kirkwood-SoC with a orion-ehci usb controller. These usb sticks > >> stream dvb data (digital TV) employing isochronous usb tr

REQUEST : Some help to write a new driver for LEAP motion device

2013-03-10 Thread LECOQ Vincent
Hello Dears, I have near me 2 piece of the Leap Motion device released as developpers release kits. (http://www.leapmotion.com/) The constructor give me only drivers for Microsoft ans Apple environements, and of course closed source. I ve have install a virtualbox with an windows environement a

Re: [PATCH] USB: EHCI: fix for leaking isochronous data

2013-03-10 Thread Soeren Moch
On 21.02.2013 19:54, Alan Stern wrote: I trust you won't mind if I put this on the public mailing list. In general, problems of this sort should be discussed in public. In addition to creating a permanent record in the various mailing list archives, it also gives other people a chance to learn

[RFC] net: cdc_ncm, cdc_mbim: allow user to prefer NCM for backwards compatibility

2013-03-10 Thread Bjørn Mork
Devices implementing NCM backwards compatibility according to section 3.2 of the MBIM v1.0 specification allow either NCM or MBIM on a single USB function, using different altsettings. The cdc_ncm and cdc_mbim drivers will both probe such functions, and must agree on a common policy for selecting

Re: [PATCH 4/7] usb: otg: twl4030-usb: poll for ID disconnect

2013-03-10 Thread Grazvydas Ignotas
On Sun, Mar 10, 2013 at 1:03 PM, Michael Trimarchi wrote: > Hi > > just one comment. > > On 10/03/13 02:07, Grazvydas Ignotas wrote: >> On pandora, STS_USB interrupt doesn't arrive on USB host cable disconnect >> for some reason while VBUS is driven by twl itself, but STS_HW_CONDITIONS >> is updat

Re: [PATCH 5/5] USB chipidea i.MX: use devm_usb_get_phy_by_phandle to get phy

2013-03-10 Thread Felipe Balbi
On Fri, Mar 08, 2013 at 05:39:53PM +0100, Marc Kleine-Budde wrote: > On 03/08/2013 05:33 PM, Felipe Balbi wrote: > > On Thu, Feb 28, 2013 at 11:57:04AM +0100, Marc Kleine-Budde wrote: > >> @@ -147,19 +146,20 @@ static int ci13xxx_imx_probe(struct platform_device > >> *pdev) > >>return

Re: [PATCH 3/5] USB chipidea: introduce dual role mode pdata flags

2013-03-10 Thread Felipe Balbi
Hi, On Fri, Mar 08, 2013 at 10:55:46PM +0200, Alexander Shishkin wrote: > + dr_mode = ci->platdata->dr_mode; > + if (dr_mode == USB_DR_MODE_UNKNOWN || dr_mode == > USB_DR_MODE_DUAL_ROLE) > + dr_mode = USB_DR_MODE_OTG; > + > /* initialize rol

[PATCH] usb: Use resource_size function

2013-03-10 Thread Paul Vlase
Signed-off-by: Paul Vlase --- drivers/usb/host/ehci-mv.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/ehci-mv.c b/drivers/usb/host/ehci-mv.c index 3065809..5cd9f96 100644 --- a/drivers/usb/host/ehci-mv.c +++ b/drivers/usb/host/ehci-mv.c @@ -225,7 +225,7

MBIM backwards compatibility and user vs kernel policy

2013-03-10 Thread Bjørn Mork
Hello, I just realized that our current strategy for MBIM backwards compatibility results in bad user experience by *forcing* the user to cdc_mbim if it is enabled at build time. There are legitimate reasons for a user to select cdc_ncm instead of cdc_mbim at runtime, and at the moment we prevent

Re: [PATCH 4/7] usb: otg: twl4030-usb: poll for ID disconnect

2013-03-10 Thread Michael Trimarchi
Hi just one comment. On 10/03/13 02:07, Grazvydas Ignotas wrote: > On pandora, STS_USB interrupt doesn't arrive on USB host cable disconnect > for some reason while VBUS is driven by twl itself, but STS_HW_CONDITIONS > is updated correctly. It does work fine when PHY is powered down though. > To