USB does not work on mpc8347

Li Yang-R58472 LeoLi at freescale.com
Wed Apr 1 20:22:44 EST 2009


> -----Original Message-----
> From: linuxppc-dev-bounces+leoli=freescale.com at ozlabs.org 
> [mailto:linuxppc-dev-bounces+leoli=freescale.com at ozlabs.org] 
> On Behalf Of 山崎 精二
> Sent: Wednesday, April 01, 2009 5:14 PM
> To: linuxppc-dev at 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



More information about the Linuxppc-dev mailing list