> -----Original Message-----
> From: linuxppc-dev-bounces+leoli=freescale....@ozlabs.org 
> [mailto:linuxppc-dev-bounces+leoli=freescale....@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
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to