All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Li Yang-R58472" <LeoLi@freescale.com>
To: 山崎 精二 <yamazaki.seiji@kk.jp.panasonic.com>, linuxppc-dev@ozlabs.org
Subject: RE: USB does not work on mpc8347
Date: Wed, 1 Apr 2009 17:22:44 +0800	[thread overview]
Message-ID: <3A45394FD742FA419B760BB8D398F9ED2FAE0B@zch01exm26.fsl.freescale.net> (raw)
In-Reply-To: <20090401180230.04BE.YAMAZAKI.SEIJI@kk.jp.panasonic.com>

> -----Original Message-----
> From: linuxppc-dev-bounces+leoli=freescale.com@ozlabs.org 
> [mailto:linuxppc-dev-bounces+leoli=freescale.com@ozlabs.org] 
> On Behalf Of 山崎 精二
> Sent: Wednesday, April 01, 2009 5:14 PM
> To: linuxppc-dev@ozlabs.org
> Subject: USB does not work on mpc8347
> 
> Hi all,
> 
> I am running the Linux kernel 2.6.28.7 on my PPC8347 BRD.
> I have some problem.
> 
> One is USB does not work on mpc8347.
> platform_driver_probe(&udc_driver, fsl_udc_probe) is failed.
> struct is
> static struct platform_driver udc_driver = {
> 	.probe = fsl_udc_probe,
> 	.remove  = __exit_p(fsl_udc_remove),
> 	/* these suspend and resume are not usb suspend and resume */
> 	.suspend = fsl_udc_suspend,
> 	.resume  = fsl_udc_resume,
> 	.driver  = {
> //		.name = (char *)driver_name,
> 		.name		= "fsl-usb2-mph",

Why are you changing this?  Mph module can only be host, not the device mode supported by this driver.

> 		.owner = THIS_MODULE,
> 	},
> };
> I do not know why it fails.
> Do i have to do something ?

So what function did you try to test?  Host or device?  For host mode, you should look into the drivers/usb/host/ehci-fsl.c file.

- Leo

  reply	other threads:[~2009-04-01  9:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-01  9:13 USB does not work on mpc8347 山崎 精二
2009-04-01  9:22 ` Li Yang-R58472 [this message]
2009-04-22  7:23   ` Java Runtime Environment " yamazaki seiji
     [not found]   ` <200904300112.AA00771@cj3020122-b.jcom.home.ne.jp>
2009-04-30  3:06     ` USB does not work " Li Yang-R58472

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A45394FD742FA419B760BB8D398F9ED2FAE0B@zch01exm26.fsl.freescale.net \
    --to=leoli@freescale.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=yamazaki.seiji@kk.jp.panasonic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.