u-boot/drivers/usb/gadget/udc
Sherry Sun 8d94e184ff usb: udc: Introduce ->udc_set_speed() method
This patch was copied from kernel commit: 67fdfda4a99ed.

Sometimes, the gadget driver we want to run has max_speed lower than
what the UDC supports. In such situations, UDC might want to make sure
we don't try to connect on speeds not supported by the gadget
driver because that will just fail.

So here introduce a new optional ->udc_set_speed() method which can be
implemented by interested UDC drivers to achieve this purpose.

Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
2019-11-07 00:24:59 +01:00
..
Makefile dm: usb: gadget: Fix boot breakage on sunxi platforms 2019-01-10 18:53:03 +01:00
udc-core.c usb: udc: Introduce ->udc_set_speed() method 2019-11-07 00:24:59 +01:00
udc-uclass.c usb: udc-uclass: Fixed problem when no alias is defined in DT 2019-03-16 13:29:43 +01:00