On 03/17/2016 09:35 PM, Phil Reid wrote: > G'day, > > Has anyone successful run the usb dwc2 from kenerl 4.5 on an socfpga. > Yes. I just tested on the devkit and USB is working fine: [ 0.655761] ffb40000.usb supply vusb_d not found, using dummy regulator [ 0.662384] ffb40000.usb supply vusb_a not found, using dummy regulator [ 0.943627] dwc2 ffb40000.usb: EPs: 16, dedicated fifos, 8064 entries in SPRAM [ 0.951145] dwc2 ffb40000.usb: DWC OTG Controller [ 0.955872] dwc2 ffb40000.usb: new USB bus registered, assigned bus number 1 [ 0.962908] dwc2 ffb40000.usb: irq 37, io mem 0x00000000 [ 0.968877] hub 1-0:1.0: USB hub found [ 0.972641] hub 1-0:1.0: 1 port detected [...] root@socfpga_cyclone5:~# uname -a Linux socfpga_cyclone5 4.5.0 #1 SMP Fri Mar 18 09:36:26 CDT 2016 armv7l GNU/Linux root@socfpga_cyclone5:~# [ 21.793687] usb 1-1: USB disconnect, device number 2 [ 24.173612] usb 1-1: new high-speed USB device number 3 using dwc2 > Inital I've had to remove the phys & phy-names property from the DT for > it to even probe. > Otherwise it was returning PROBE_DEFERED. > The 4.4 driver seems to be getting the same error but it continued > loading regardless. > What hardware are you using? Sockit, Atlas board, socrates, etc? > After fixing that and getting it to load its going into overcurrent fault. > Applying Dinh's patch from the Altera 4.4 tree > FogBugz #198256: Fix unnecessary USB overcurrent condition > hasn't help. The driver immediately goes into an overcurrent condition > at boot. I'm still trying to find a way to upstream this patch. Dinh -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html