Skip to content

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

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

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
Copy Markdown
Contributor

@josuah josuah commented Feb 22, 2026

Alternative to:

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
@josuah josuah marked this pull request as ready for review February 22, 2026 18:23
@zephyrbot zephyrbot added area: USB Universal Serial Bus area: Samples Samples labels Feb 22, 2026
@josuah josuah force-pushed the uhc_dwc2_quirks_a branch from 6890005 to 40817eb Compare March 5, 2026 16:55
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>
@josuah josuah force-pushed the uhc_dwc2_quirks_a branch from 40817eb to df2eaf2 Compare March 6, 2026 10:58
@josuah
Copy link
Copy Markdown
Contributor Author

josuah commented Mar 6, 2026

Anticipating that reviewers will prefer solutions that look like what was originally introduced, closing this PR in favor of this one:

@josuah josuah closed this Mar 6, 2026
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Mar 6, 2026

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