I am working on AM335X custom board. The kernel is v3.12 that released from SDK 7.0
If I use the use the EDMA mode of USB, I cannot get USB port working. (It works under PIO mode.)
root@arm:~# dmesg |grep -i usb
[ 0.312492] usbcore: registered new interface driver usbfs
[ 0.312744] usbcore: registered new interface driver hub
[ 0.313066] usbcore: registered new device driver usb
[ 1.433967] musb-hdrc musb-hdrc.0.auto: Enabled SW babble control
[ 1.440533] musb-hdrc musb-hdrc.0.auto: Falied to request rx1.
[ 1.446899] musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with stat us -517
[ 1.455545] platform musb-hdrc.0.auto: Driver musb-hdrc requests probe deferr al
[ 1.465874] musb-hdrc musb-hdrc.1.auto: Enabled SW babble control
[ 1.472673] musb-hdrc musb-hdrc.1.auto: Falied to request rx1.
[ 1.478871] musb-hdrc musb-hdrc.1.auto: musb_init_controller failed with stat us -517
[ 1.487209] platform musb-hdrc.1.auto: Driver musb-hdrc requests probe deferr al
[ 1.701464] usbcore: registered new interface driver usbhid
[ 1.707506] usbhid: USB HID core driver
[ 2.006879] musb-hdrc musb-hdrc.0.auto: Enabled SW babble control
[ 2.013676] musb-hdrc musb-hdrc.0.auto: Falied to request rx1.
[ 2.019875] musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with stat us -517
[ 2.028203] platform musb-hdrc.0.auto: Driver musb-hdrc requests probe deferr al
[ 2.036482] musb-hdrc musb-hdrc.1.auto: Enabled SW babble control
[ 2.043316] musb-hdrc musb-hdrc.1.auto: Falied to request rx1.
[ 2.049515] musb-hdrc musb-hdrc.1.auto: musb_init_controller failed with stat us -517
[ 2.057790] platform musb-hdrc.1.auto: Driver musb-hdrc requests probe deferr al
[ 2.079965] musb-hdrc musb-hdrc.0.auto: Enabled SW babble control
[ 2.086697] musb-hdrc musb-hdrc.0.auto: Falied to request rx1.
[ 2.092989] musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with stat us -517
[ 2.101225] platform musb-hdrc.0.auto: Driver musb-hdrc requests probe deferr al
[ 2.109539] musb-hdrc musb-hdrc.1.auto: Enabled SW babble control
[ 2.116199] musb-hdrc musb-hdrc.1.auto: Falied to request rx1.
[ 2.122463] musb-hdrc musb-hdrc.1.auto: musb_init_controller failed with stat us -517
[ 2.130692] platform musb-hdrc.1.auto: Driver musb-hdrc requests probe deferr al
[ 2.216605] musb-hdrc musb-hdrc.0.auto: Enabled SW babble control
[ 2.223823] musb-hdrc musb-hdrc.0.auto: Falied to request rx1.
[ 2.230049] musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with stat us -517
[ 2.275049] platform musb-hdrc.0.auto: Driver musb-hdrc requests probe deferr al
[ 2.285717] musb-hdrc musb-hdrc.1.auto: Enabled SW babble control
[ 2.309500] musb-hdrc musb-hdrc.1.auto: Falied to request rx1.
[ 2.315870] musb-hdrc musb-hdrc.1.auto: musb_init_controller failed with stat us -517
[ 2.324637] platform musb-hdrc.1.auto: Driver musb-hdrc requests probe deferr al
[ 2.334734] musb-hdrc musb-hdrc.0.auto: Enabled SW babble control
[ 2.341663] musb-hdrc musb-hdrc.0.auto: Falied to request rx1.
[ 2.349213] musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with stat us -517
[ 2.358083] platform musb-hdrc.0.auto: Driver musb-hdrc requests probe deferr al
[ 5.908160] musb-hdrc musb-hdrc.1.auto: Enabled SW babble control
[ 5.908289] musb-hdrc musb-hdrc.1.auto: Falied to request rx1.
[ 5.955785] musb-hdrc musb-hdrc.1.auto: musb_init_controller failed with stat us -517
[ 6.057073] platform musb-hdrc.1.auto: Driver musb-hdrc requests probe deferr al
[ 6.057816] musb-hdrc musb-hdrc.0.auto: Enabled SW babble control
[ 6.057941] musb-hdrc musb-hdrc.0.auto: Falied to request rx1.
[ 6.128113] musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with stat us -517
[ 6.205111] platform musb-hdrc.0.auto: Driver musb-hdrc requests probe deferr al
root@arm:~#
===
Here is my device tree setting
musb: usb@47400000 {
status = "okay";
control@44e10620 {
status = "okay";
};
usb-phy@47401300 {
status = "okay";
};
usb@47401000 {
status = "okay";
};
usb-phy@47401b00 {
status = "okay";
};
usb@47401800 {
status = "okay";
dr_mode = "host";
};
dma-controller@07402000 {
status = "okay";
};
};
Any ideas?
-Eric