On 2026-05-07T09:27:07, Jens Wiklander <[email protected]> wrote: > usb: dwc3: import from kernel v4.12 > > Sync Linux kernel dwc3 changes from v4.11 to v4.12. > > The following files are preserved accross the import: > Makefile Kconfig dwc3-meson-g12a.c dwc3-meson-gxl.c dwc3-omap.c > dwc3-uniphier.c dwc3-generic.h dwc3-generic.c dwc3-generic-sti.c > dwc3-layerscape.c ti_usb_phy.c > > Skipping unused files: > debugfs.c drd.c dwc3-exynos.c dwc3-haps.c dwc3-imx8mp.c dwc3-keystone.c > dwc3-octeon.c dwc3-of-simple.c dwc3-pci.c dwc3-qcom.c dwc3-qcom-legacy.c > dwc3-rtk.c dwc3-st.c dwc3-xilinx.c host.c trace.c trace.h ulpi.c > > Note that this is a raw import and doesn't build. > A fixup commit at the end of the series fixes that. > > List of commits: git log --oneline v4.11..v4.12 > Commits imported: > 018047a1dba7 usb: dwc3: keystone: check return value > d325a1de49d6 usb: dwc3: gadget: Prevent losing events in event cache > f1d6826cae30 usb: dwc3: gadget: Fix ISO transfer performance > 682179592e48 usb: dwc3: pci: add Intel Cannonlake PCI IDs > 8f28472a739e Merge tag 'usb-4.12-rc1' of > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb > 2bd804017435 Merge tag 'gpio-v4.12-1' of > git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio > ba7756d08212 Merge tag 'usb-for-v4.12' of > git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-next > 9840354ff429 usb: dwc3: Add dual-role support > 41ce1456e1db usb: dwc3: core: make dwc3_set_mode() work properly > b202c42cbf81 usb: dwc3: debugfs: remove unnecessary | operator > 6b3261a27428 usb: dwc3: core: add current_dr_role member > d6e5a549cc4d usb: dwc3: simplify ZLP handling > 4199c5f8bccd usb: dwc3: ep0: improve handling of unaligned OUT requests > d686a5ff6a2d usb: dwc3: ep0: pass dep as argument to internal functions > 7d5e650a5fdb usb: dwc3: ep0: use immediate SETUP on TRB > b5c7ed5cca82 usb: dwc3: expose dwc3_trb_type_string() > 90abb425d949 usb: dwc3: debugfs: return strings that match tracepoints > 26c9f3e391d1 usb: dwc3: debugfs: make use of dwc3_gadget_link_string() > 2df301cd3d71 usb: dwc3: debugfs: downcase OTG on 'mode' file > ff3f0789b3dc usb: dwc3: use BIT() macro where possible > aad7c2596495 usb: dwc3: trace: change format for string to cmd trace > af771d731b8e usb: dwc3: gadget: Fix starting microframe for ISOC > 3a932b0f50f4 usb: dwc3: exynos: change goto labels to meaningful names > f3bcfc7e68f0 usb: dwc3: remove dwc3_gadget_init_hw_endpoints > 47d3946ea220 usb: dwc3: refactor gadget endpoint count calculation > 8261bd4e91e2 usb: dwc3: make macros safe to expression arguments > 05428ba983e6 usb: dwc3: remove dwc3_log_msg trace class > 1966b8657d05 usb: dwc3: make sure UX_EXIT_PX is cleared > e47ff590cc57 Merge 4.11-rc4 into usb-next > 4a56e413b50c usb: dwc3: pci: Switch to devm_acpi_dev_add_driver_gpios() > 2c93e790e825 usb: add CONFIG_USB_PCI for system have both PCI HW and non-PCI > based USB HW > > Signed-off-by: Jens Wiklander <[email protected]> > > drivers/usb/dwc3/core.c | 109 +++++++++++++------ > drivers/usb/dwc3/core.h | 261 > ++++++++++++++++++++++++---------------------- > drivers/usb/dwc3/debug.h | 28 +++++ > drivers/usb/dwc3/ep0.c | 151 ++++++++++++--------------- > drivers/usb/dwc3/gadget.c | 218 +++++++++++++------------------------- > drivers/usb/dwc3/gadget.h | 20 ++-- > 6 files changed, 392 insertions(+), 395 deletions(-)
Reviewed-by: Simon Glass <[email protected]>

