Skip to content

Comments

drivers: usb: uhc: vendor quirks (variant A)#104348

Open
josuah wants to merge 1 commit intozephyrproject-rtos:mainfrom
josuah:uhc_dwc2_quirks_a
Open

drivers: usb: uhc: vendor quirks (variant A)#104348
josuah wants to merge 1 commit intozephyrproject-rtos:mainfrom
josuah:uhc_dwc2_quirks_a

Conversation

@josuah
Copy link
Contributor

@josuah josuah commented Feb 22, 2026

Alternatives:

This is a complement/replacement for #102963 to propose a different infrastructure for setting vendor-specific sections of DWC2 host.

The same structure are proposed for DWC3 in #84544 and can be proposed to DWC2 device if interested.

  • removes the need for any function pointer altogether, more adapted for a single Linux kernel image used for many vendors
  • introduce a #define-based mechanism for overriding a default implementation

To build (for now, not much to run):

west build -b esp32s3_devkitc/esp32s3/procpu samples/subsys/usb/shell/ -DEXTRA_CONF_FILE=host_prj.conf

@josuah josuah force-pushed the uhc_dwc2_quirks_a branch 2 times, most recently from 8064463 to 6890005 Compare February 22, 2026 13:06
Added placeholder driver API functions and minimal quirks handling
for ESP32-S3, with support for the shell sample.

Signed-off-by: Roman Leonov <jam_roma@yahoo.com>
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Samples Samples area: USB Universal Serial Bus

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants