ectly passed to gadget layer.
Signed-off-by: Kim Liu <[EMAIL PROTECTED]>
Signed-off-by: Li Yang <[EMAIL PROTECTED]>
Cc: David Brownell <[EMAIL PROTECTED]>
---
drivers/usb/gadget/fsl_usb2_udc.c | 77 +++-
1 files changed, 41 insertions(+), 36 del
Hi Dave,
We are using Ethernet gadget to communicate with Windows host with RNDIS mode.
We tried to use NFS on the simulated network, but keep getting "no response"
error when transmitting big files. As you mentioned in the ether.c that RNDIS
mode is buggy, it's better to use host driver from
Hi Stan,
This is the quoted message from a colleague worked for Lineo.
"I do not remember a uclinux bsp for 2.4.23 that supported usb serial
and ethernet. If they know of a specific bsp that had the usb
functionality that they want we could possibly find it for them.
-- Coray"
- Leo
> -O
Fix a bug that PORT_TYPE and PORT_WIDTH aren't masked correctly in portsc.
Signed-off-by: Christopher Cason <[EMAIL PROTECTED]>
Signed-off-by: Li Yang <[EMAIL PROTECTED]>
---
drivers/usb/gadget/fsl_usb2_udc.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --
Signed-off-by: Li Yang <[EMAIL PROTECTED]>
---
drivers/usb/gadget/fsl_usb2_udc.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/gadget/fsl_usb2_udc.c
b/drivers/usb/gadget/fsl_usb2_udc.c
index d5d7689..bb90a1d 100644
--- a/drivers/usb/gadget/fsl_usb2
x27;t enable OTG protocol
support.
Signed-off-by: Li Yang <[EMAIL PROTECTED]>
Cc: David Brownell <[EMAIL PROTECTED]>
---
Respin to apply on 2.6.22-rc4. Address David's comment on Kconfig.
Greg,
Please replace the patch in your queue named
usb-ehci_fsl-update-for-mpc831x-support.pa
Currently the driver is expecting max ep number in platform
data which isn't passing this information. This patch fix
the problem by reading it from DCCPARAMS(Device Controller
Capability Parameters) register. The change also need some
reordering of the probe code.
Signed-off-by: Li
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
Behalf Of
> [EMAIL PROTECTED]
> Sent: Tuesday, May 29, 2007 5:11 PM
> To: [EMAIL PROTECTED]
> Subject: USB Host at full speed
>
> Hello ALL,
>
> I m currently trying to force the USB host controller from MPC8349
Here is the patch to fix it.
From: Li Yang <[EMAIL PROTECTED]>
Date: Mon, 21 May 2007 13:08:57 +0800
Subject: [PATCH] ehci-fsl: fix cache coherency problem on system with large
memory
The patch fix bug http://bugzilla.kernel.org/show_bug.cgi?id=7482.
It sets USB snooping on 4G spa
> -Original Message-
> From: David Brownell [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 18, 2007 6:49 PM
> To: Andrew Morton
> Cc: Stefan Meyer; linux-usb-devel@lists.sourceforge.net; Alan Stern;
Greg KH;
> [EMAIL PROTECTED]; Natalie Protasevich; Li Yang-r58472
> S
x27;t enable OTG protocol
support.
Signed-off-by: Li Yang <[EMAIL PROTECTED]>
---
Select USB_EHCI_ROOT_HUB_TT when USB_EHCI_FSL is selected.
drivers/usb/host/Kconfig|7 +++
drivers/usb/host/ehci-fsl.c | 10 +++---
drivers/usb/host/ehci-hcd.c |2 +-
3 files changed, 15 inser
> > > diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
> > > index 6271187..8da3185 100644
> > > --- a/drivers/usb/host/Kconfig
> > > +++ b/drivers/usb/host/Kconfig
> > > @@ -72,6 +72,12 @@ config USB_EHCI_BIG_ENDIAN_MMIO
> > > depends on USB_EHCI_HCD
> > > default n
> > >
> > >
> -Original Message-
> From: David Brownell [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 11, 2007 4:03 PM
> To: Li Yang-r58472
> Cc: [EMAIL PROTECTED]; linux-usb-devel@lists.sourceforge.net
> Subject: Re: [PATCH] ehci_fsl update for MPC831x support
>
> On Wednes
x27;t enable OTG protocol
support.
Signed-off-by: Li Yang <[EMAIL PROTECTED]>
---
drivers/usb/host/Kconfig|6 ++
drivers/usb/host/ehci-fsl.c | 10 +++---
drivers/usb/host/ehci-hcd.c |2 +-
3 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/host/Kconfi
This patch changes udc to use endpoint number from Device Controller
Capability Parameters register instead of being passed from platform
code.
Signed-off-by: Li Yang <[EMAIL PROTECTED]>
---
drivers/usb/gadget/fsl_usb2_udc.c | 59 +---
drivers/usb/
Change PORT_WIDTH bit for UMTI_WIDE mode and fix a compile warning
introduced in last revision.
Signed-off-by: Li Yang <[EMAIL PROTECTED]>
---
drivers/usb/gadget/fsl_usb2_udc.c |8 +---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/gadget/fsl_usb2_ud
> -Original Message-
> From: Timur Tabi [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 27, 2007 5:26 AM
> To: Li Yang-r58472
> Cc: linux-usb-devel@lists.sourceforge.net
> Subject: Re: [resend PATCH v2 1/3]USB: add Freescale high-speed USB
SOC device
> contr
Sorry, please ignore this patch. I forgot to change the free_buffer
function.
- Leo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Li
Yang
> Sent: Friday, April 20, 2007 3:52 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]; S
Add MAINAINERS and CREDITS entry for Freescale Highspeed USB device
driver.
Signed-off-by: Li Yang <[EMAIL PROTECTED]>
---
CREDITS |8
MAINTAINERS |7 +++
2 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/CREDITS b/CREDITS
index 6bd8ab8..276ae8c
Update gadget_chip.c, ether.c for newly added Freescale Highspeed USB
device driver.
Signed-off-by: Li Yang <[EMAIL PROTECTED]>
---
drivers/usb/gadget/ether.c|3 +++
drivers/usb/gadget/gadget_chips.h |8
2 files changed, 11 insertions(+), 0 deletions(-)
diff -
> > I mean if usb_ep_alloc_buffer() is required and only used in
allocating
> > buffer to be processed by ep_queue() and done(). We can choose to
use
> > one of the ways you mentioned above, not both. In this case, I
preferred
> > to choose the second way for better performance.
>
> But it's not
> -Original Message-
> From: David Brownell [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 20, 2007 12:53 PM
> To: Li Yang-r58472
> Cc: linux-usb-devel@lists.sourceforge.net; [EMAIL PROTECTED]; Schmid
> Bruce-R62923
> Subject: Re: [linux-usb-devel] [PATCH 1/3]US
> -Original Message-
> From: David Brownell [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 20, 2007 11:20 AM
> To: linux-usb-devel@lists.sourceforge.net
> Cc: Li Yang-r58472; [EMAIL PROTECTED]; Schmid Bruce-R62923
> Subject: Re: [linux-usb-devel] [PATCH 1/3]USB: add Fr
Hi Dave,
> -Original Message-
> From: David Brownell [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 20, 2007 2:24 AM
> To: Li Yang-r58472
> Cc: [EMAIL PROTECTED]; linux-usb-devel@lists.sourceforge.net; Schmid
> Bruce-R62923
> Subject: Re: [PATCH 1/3]USB: add Freesca
Add MAINAINERS and CREDITS entry for Freescale Highspeed USB device
driver.
Signed-off-by: Li Yang <[EMAIL PROTECTED]>
---
CREDITS |8
MAINTAINERS |7 +++
2 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/CREDITS b/CREDITS
index 6bd8ab8..276ae8c
Update Kconfig, Makefile, gadget_chip.c, ether.c for newly added Freescale
Highspeed USB device driver.
Signed-off-by: Li Yang <[EMAIL PROTECTED]>
---
drivers/usb/gadget/Kconfig| 21 +
drivers/usb/gadget/Makefile |1 +
drivers/usb/gadget/e
> -Original Message-
> From: David Brownell [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 19, 2007 3:03 PM
> To: Li Yang-r58472
> Cc: linux-usb-devel@lists.sourceforge.net; [EMAIL PROTECTED]
> Subject: Re: [linux-usb-devel] [PATCH] Fix gadget
> -Original Message-
> From: David Brownell [mailto:[EMAIL PROTECTED]
> Sent: Saturday, March 17, 2007 6:38 AM
> To: linux-usb-devel@lists.sourceforge.net
> Cc: Li Yang-r58472; [EMAIL PROTECTED]
> Subject: Re: [linux-usb-devel] [PATCH] Fix gadget
igned-off-by: Li Yang <[EMAIL PROTECTED]>
---
diff --git a/drivers/usb/gadget/serial.c b/drivers/usb/gadget/serial.c
index e552668..0911bc4 100644
--- a/drivers/usb/gadget/serial.c
+++ b/drivers/usb/gadget/serial.c
@@ -1692,14 +1692,7 @@ static int gs_setup_class(struct usb_gadget *gadget,
> >>> +static int fsl_udc_suspend(struct platform_device *pdev,
> > pm_message_t state);
> >>> +static int fsl_udc_resume(struct platform_device *pdev);
> >>> +static void fsl_ep_fifo_flush(struct usb_ep *_ep);
> >>> +
> >>> +#ifdef CONFIG_PPC32
> >>
> >> Any reason we need to protect these with CO
> -Original Message-
> From: Kumar Gala [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 08, 2007 7:57 AM
> To: Li Yang-r58472
> Cc: [EMAIL PROTECTED]; Schmid Bruce-R62923;
> linux-usb-devel@lists.sourceforge.net
> Subject: Re: [PATCH 1/2] USB: add Freescale high
Add FSL_USB2_DR_OTG mode support to ehci-fsl driver.
Signed-off-by: Li Yang <[EMAIL PROTECTED]>
---
drivers/usb/host/ehci-fsl.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c
index 1a915e9..8d90017
> Hi,
> I want to make flash as a usb device by using USB OTG. and
> my BSP's kernel version is 2.4.20.
> it only support network function driver and mouse function
> driver, no usb mass storage function driver .
>
> can anyone show me some document about otg protocol or same
> sample about
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
Behalf Of
> Uros Borovsak
> Sent: Monday, July 31, 2006 4:14 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Host USB on MPC8247
>
> Thanks for reply,
>
> I made a mistake while typing the message.
>
> In reality I w
On 7/20/06, Kumar Gala <[EMAIL PROTECTED]> wrote:
>
> On Jul 20, 2006, at 8:36 AM, Li Yang wrote:
>
> > On 7/20/06, Kumar Gala <[EMAIL PROTECTED]> wrote:
> >>
> >> On Jul 20, 2006, at 6:42 AM, Li Yang-r58472 wrote:
> >>
> >> >
On 7/20/06, Kumar Gala <[EMAIL PROTECTED]> wrote:
>
> On Jul 20, 2006, at 6:42 AM, Li Yang-r58472 wrote:
>
> > Another one in header file.
> >
> > ---
> > diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h
> > index 679c1cd..8da2774 10064
Sent: Friday, July 14, 2006 9:52 PM
> To: Li Yang-r58472
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
> linux-usb-devel@lists.sourceforge.net
> Subject: Re: [linux-usb-devel] [PATCH] Fix Freescale high-speed USB
hostdependency
>
> Acked-by: Kumar Gala <[EMAIL PROTECTED]>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
Of Kumar
> Gala
> Sent: Thursday, July 20, 2006 4:09 AM
> To: Li Yang-r58472
> Cc: [EMAIL PROTECTED]; linux-usb-devel@lists.sourceforge.net
> Subject: Re: [PATCH] Add USB to MPC
> -Original Message-
> From: Pete Zaitcev [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 20, 2006 3:19 AM
> To: Li Yang-r58472
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED];
> linux-usb-devel@lists.sourceforge.net; [EMAIL PROTECTED]
> Subject: Re: [li
On 7/19/06, Dan Malek <[EMAIL PROTECTED]> wrote:
>
> On Jul 19, 2006, at 9:14 AM, Kumar Gala wrote:
>
> > This is an incorrect assumption. Its more often that people dont
> > post their ports to the Linux kernel for acceptance. We will
> > accept any port that is willing to work with the communit
> -Original Message-
> From: Kumar Gala [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 18, 2006 9:53 PM
> To: Li Yang-r58472
> Cc: Dan Malek; [EMAIL PROTECTED];
linux-usb-devel@lists.sourceforge.net
> Subject: Re: [PATCH] Add USB to MPC8349 PB platform support
>
>
> -Original Message-
> From: Kumar Gala [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 18, 2006 5:39 AM
> To: Dan Malek
> Cc: Li Yang-r58472; [EMAIL PROTECTED];
linux-usb-devel@lists.sourceforge.net
> Subject: Re: [PATCH] Add USB to MPC8349 PB platform support
>
>
> -Original Message-
> From: David Brownell [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 18, 2006 6:58 AM
> To: linux-usb-devel@lists.sourceforge.net
> Cc: Hollis Blanchard; Kumar Gala; [EMAIL PROTECTED]; Li
Yang-r58472
> Subject: Re: [linux-usb-devel] [PATCH] Add
hange the mode(MPH/DR), which requires
a re-burn of bootloader. It's better that we make sure it's correctly
configured here.
>
> - k
>
> On Jul 14, 2006, at 6:52 AM, Li Yang wrote:
>
> > This adds USB platform support to MPC8349 PB. It works with the
> > fsl_usb2
The high-speed USB SOC only exists on MPC834x family not MPC83xx family.
Signed-off-by: Li Yang <[EMAIL PROTECTED]>
---
drivers/usb/host/ehci-hcd.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index
7
This adds USB platform support to MPC8349 PB. It works with the fsl_usb2_udc
driver.
Signed-off-by: Li Yang <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/83xx/Kconfig | 4 ++
arch/powerpc/platforms/83xx/mpc834x_sys.c | 72 +
arch/powerpc/platform
No, I didn't use SA_INTERRUPT. I don't see the necessity of masking
interrupts. We can use spin_lock to protect critical regions.
Best Regards,
Leo
> -Original Message-
> From: Sujith Sankar [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 27, 2006 5:02 PM
> T
Actually we had done a driver for ARC OTG controller, which is still not very
stable. We used shared interrupt handlers.
Best Regards,
Leo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Sujith
> Sankar
> Sent: Thursday, April 27, 2006 4:47 PM
>
> -Original Message-
> From: rakesh kn [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 04, 2006 3:59 PM
> To: Li Yang-r58472
> Subject: Re: [linux-usb-devel] EHCI - OTG Transceiver (ULPI ) Issues
>
> Hi Leo,
> Thanks for ur reply. It was informative.
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of rakesh kn
> Sent: Tuesday, April 04, 2006 12:12 PM
> To: linux-usb-devel@lists.sourceforge.net
> Subject: [linux-usb-devel] EHCI - OTG Transceiver (ULPI ) Issues
>
> H i
>
> ARC controller Core is havi
> -Original Message-
> From: David Brownell [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 09, 2006 2:05 AM
> To: Li Yang-r58472
> Cc: linux-usb-devel@lists.sourceforge.net
> Subject: Re: OTG HNP problem with EHCI
>
> On Wednesday 08 March 2006 5:12
Hi,
While I dug deeper in the HNP process with EHCI host, I found there is a
conflict. The OTG spec defines that, in HNP, default-a device always supplies
the vbus power even in peripheral mode. And thus default-b device will work in
host mode with port power off. Here is the problem, if I d
OTG operations
>
> >On Tuesday 28 February 2006 7:44 pm, Li Yang-r58472 wrote:
> > > Thanks Dave,
> > >
> > > So the current application of HNP is only to correct wrongly connected
> >cable?
> >
> >That's not what I said, but it _is_ the onl
> -Original Message-
> From: David Brownell [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 01, 2006 12:59 PM
> To: Li Yang-r58472
> Cc: linux-usb-devel@lists.sourceforge.net
> Subject: Re: Question about OTG operations
>
> On Tuesday 28 February 2006 7:44
at do you think of the future of USB OTG? How can we drive
it from the software point of view?
Best Regards,
Leo
> -Original Message-
> From: David Brownell [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 01, 2006 6:04 AM
> To: Li Yang-r58472
> Cc: linux-usb-devel@lists
Hi,
Here is the patch we have in Freescale released BSP. I post it here in case
anyone may need it without the BSP. It's for kernel 2.6.11, and won't have big
problem for newer kernel, I think. The patch is not done by myself, and maybe
submitted later formally after merge with OTG and clean
u to get a whole Freescale
BSP.
Best Regards,
Leo
-Original Message-
From: KRONSTORFER Horst [mailto:[EMAIL PROTECTED]
Sent: Friday, December 16, 2005 7:46 PM
To: Li Yang-r58472
Cc: linux-usb-devel@lists.sourceforge.net
Subject: RE: [linux-usb-devel] Freescale MPC83XX USB Host Suppo
The USB host support for MPC8349 is already done and included in freescale
released BSP. But the patch is not submitted to the community yet. However,
MPC836x use totally different USB controller and doesn't have a working Linux
driver now. I don't know which one you refer to by using MPC83xx
Hi all,
As there is not too much document and reference code available around, I have
some confusion regarding OTG driver architecture in Linux. Here is my
understanding. Please correct me if I am wrong, and more clarification is
appreciated.
There will be three separate drivers: host, clien
Hi,
The memory mappings for MPC8349 USB MPH and DR modules were reversed.
Signed-off-by: Li Yang <[EMAIL PROTECTED]>
Signed-off-by: Jiang Bo <[EMAIL PROTECTED]>
---
--- arch/ppc/syslib/mpc83xx_devices.c.orig 2005-08-04 16:37:20.0
+0800
+++ arch/ppc/syslib/mpc83xx_devi
> -Original Message-
> From: Alan Stern [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 14, 2005 10:01 PM
> To: Li Yang-r58472
> Cc: linux-usb-devel@lists.sourceforge.net
> Subject: RE: [linux-usb-devel] question about mass storage gadget
>
> On Thu, 14 Jul 20
> -Original Message-
> From: Alan Stern [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 13, 2005 10:21 PM
> To: Li Yang-r58472
> Cc: linux-usb-devel@lists.sourceforge.net
> Subject: Re: [linux-usb-devel] question about mass storage gadget
>
> On Wed, 13 Jul 20
Hi,
While I was working on a device controller driver tested with mass storage, I
got a question regarding on the stall condition. For mass storage device, the
driver stalls the bulk-in ep when there is an error processing CBW. Then the
host will send clear_feature to clear the halt conditio
Hi,
I tried to get my hands on USB gadget driver recently, but there are things I
can't figure out through documents I can get. There is a length field in the
usb_request structure. It is filled by upper gadget layer (fs, serial, etc.).
However, I can't find maximum limit for this field, or
64 matches
Mail list logo