u-boot-brain/drivers/usb/gadget
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
..
udc usb: udc: Introduce ->udc_set_speed() method 2019-11-07 00:24:59 +01:00
at91_udc.c usb: composite: Move bitmap related operations to ./include/linux/bitmap.h 2018-12-14 17:59:08 +01:00
at91_udc.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
atmel_usba_udc.c usb: composite: Move bitmap related operations to ./include/linux/bitmap.h 2018-12-14 17:59:08 +01:00
atmel_usba_udc.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bcm_udc_otg_phy.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bcm_udc_otg.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ci_udc.c usb: s/CONFIG_DM_USB/CONFIG_IS_ENABLED(DM_USB)/ 2018-11-26 21:19:03 +01:00
ci_udc.h ci_udc: Update the ci_udc driver to support bulk transfers 2015-05-29 12:41:04 +02:00
composite.c usb: composite: Fix max packet size for USB3.0 2018-12-14 17:59:10 +01:00
config.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
core.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
designware_udc.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
dwc2_udc_otg_phy.c usb: composite: Move bitmap related operations to ./include/linux/bitmap.h 2018-12-14 17:59:08 +01:00
dwc2_udc_otg_priv.h usb: dwc2_udc_otg: Read MAX_HW_ENDPOINT from HWCFG4 register 2019-04-21 10:26:52 +02:00
dwc2_udc_otg_regs.h usb: dwc2: fix gadget disconnect 2019-04-21 10:26:52 +02:00
dwc2_udc_otg_xfer_dma.c usb: dwc2: fix gadget disconnect 2019-04-21 10:26:52 +02:00
dwc2_udc_otg.c usb: dwc2: allow peripheral mode for OTG configuration 2019-06-19 16:56:11 +02:00
ep0.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ep0.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
epautoconf.c usb: gadget: Add match_ep() op to usb_gadget_ops 2019-11-07 00:24:59 +01:00
ether.c env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
f_dfu.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
f_dfu.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
f_fastboot.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
f_mass_storage.c usb: composite: Move bitmap related operations to ./include/linux/bitmap.h 2018-12-14 17:59:08 +01:00
f_rockusb.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
f_sdp.c env: Move env_set_hex() to env.h 2019-08-11 16:43:41 -04:00
f_thor.c gadget: f_thor: properly enable 3rd endpoint defined by the protocol 2019-10-31 12:12:31 +01:00
f_thor.h gadget: f_thor: update to support more than 4GB file as thor 5.0 2018-05-18 13:17:30 +02:00
fotg210.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
g_dnl.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
gadget_chips.h usb: gadget: Add bcdDevice for the DWC3 USB Gadget Controller 2018-08-21 16:21:37 +02:00
Kconfig usb: gadget: USB_ETHER requires network support 2018-04-08 23:00:58 -04:00
Makefile spl: Kconfig: Drop the _SUPPORT postfix from SPL_DFU 2019-01-26 08:13:54 -05:00
ndis.h USB: Add USB RNDIS gadget protocol 2011-02-19 20:32:37 +01:00
pxa25x_udc.c usb: composite: Move bitmap related operations to ./include/linux/bitmap.h 2018-12-14 17:59:08 +01:00
pxa25x_udc.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pxa27x_udc.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rndis.c net.h: Include linux/if_ether.h to avoid duplication 2018-10-10 12:28:52 -05:00
rndis.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
storage_common.c lib: Add hexdump 2018-06-13 07:49:12 -04:00
usbstring.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00