]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
usb: dwc3: gadget: Fix full speed mode
authorRoger Quadros <rogerq@ti.com>
Tue, 3 Jan 2017 12:32:09 +0000 (14:32 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 3 Jan 2017 12:33:48 +0000 (14:33 +0200)
commit9418ee15f718939aa7e650fd586d73765eb21f20
treeca2e0828560c0c2a5e5f183634c735b14960325e
parent7b01738112608ce47083178ae2b9ebadf02d32cc
usb: dwc3: gadget: Fix full speed mode

DCFG.DEVSPD == 0x3 is not valid and we need to set
DCFG.DEVSPD to 0x1 for full speed mode. Same goes for
DSTS.CONNECTSPD.

Old databooks had 0x3 for full speed in 48MHz mode for
USB1.1 transceivers which was never supported. Newer databooks
don't mention 0x3 at all.

Cc: John Youn <John.Youn@synopsys.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/core.h
drivers/usb/dwc3/gadget.c