Skip to content

drivers: usb: uhc: Added dwc2 vendor quirks for esp32 [part3] #102965

Closed
roma-jam wants to merge 2 commits intozephyrproject-rtos:mainfrom
roma-jam-lab:pr-add-dwc2-uhc-vendor-quirks-esp32
Closed

drivers: usb: uhc: Added dwc2 vendor quirks for esp32 [part3] #102965
roma-jam wants to merge 2 commits intozephyrproject-rtos:mainfrom
roma-jam-lab:pr-add-dwc2-uhc-vendor-quirks-esp32

Conversation

@roma-jam
Copy link
Copy Markdown
Contributor

@roma-jam roma-jam commented Jan 27, 2026

Collective Pull-request

Contains the incoming features and all the prerequisites.

Description

Added vendor specific DWC2 quirks.

This feature enables the possibility to power up the DWC2 controller and read the configuration registers.

Changes

Updated

  • drivers/usb/uhc/uhc_dwc2_vendor_quirks.h

Related

@josuah
Copy link
Copy Markdown
Contributor

josuah commented Jan 27, 2026

How about also providing the esp32s3_devkitc_procpu.overlay and all other needed files for testing this directly?

This way other PRs on top of this do not need to do manual modifications to test this.

@josuah josuah linked an issue Jan 27, 2026 that may be closed by this pull request
@roma-jam roma-jam force-pushed the pr-add-dwc2-uhc-vendor-quirks-esp32 branch from 3af871b to 273b2e7 Compare January 28, 2026 08:25
@roma-jam
Copy link
Copy Markdown
Contributor Author

Hi @josuah

added that in the [part2], so it is automatically present in this PR as well.

Thanks.

@zephyrbot zephyrbot added the area: Samples Samples label Jan 28, 2026
@roma-jam roma-jam changed the title [WIP] drivers: usb: uhc: Added dwc2 vendor quirks for esp32 [part3] drivers: usb: uhc: Added dwc2 vendor quirks for esp32 [part3] Jan 28, 2026
@roma-jam roma-jam marked this pull request as draft January 29, 2026 08:59
@roma-jam roma-jam changed the title drivers: usb: uhc: Added dwc2 vendor quirks for esp32 [part3] [WIP] drivers: usb: uhc: Added dwc2 vendor quirks for esp32 [part3] Jan 29, 2026
@roma-jam roma-jam force-pushed the pr-add-dwc2-uhc-vendor-quirks-esp32 branch 3 times, most recently from af936d7 to 87381d4 Compare February 5, 2026 09:58
@roma-jam roma-jam force-pushed the pr-add-dwc2-uhc-vendor-quirks-esp32 branch from 87381d4 to a96116b Compare February 11, 2026 09:06
@roma-jam roma-jam changed the title [WIP] drivers: usb: uhc: Added dwc2 vendor quirks for esp32 [part3] drivers: usb: uhc: Added dwc2 vendor quirks for esp32 [part3] Feb 11, 2026
@roma-jam roma-jam marked this pull request as ready for review February 11, 2026 10:01
@roma-jam roma-jam force-pushed the pr-add-dwc2-uhc-vendor-quirks-esp32 branch 2 times, most recently from 46ce20d to 593b199 Compare February 19, 2026 12:39
@roma-jam roma-jam marked this pull request as draft February 19, 2026 19:46
@roma-jam roma-jam marked this pull request as ready for review March 2, 2026 13:20
@sylvioalves
Copy link
Copy Markdown
Contributor

Some of my comments in #102967 applies here as the code is the same (or partially the same).

Comment thread drivers/usb/uhc/Kconfig.dwc2 Outdated
Comment thread drivers/usb/uhc/Kconfig.dwc2 Outdated
Comment thread drivers/usb/uhc/uhc_dwc2_vendor_quirks.h
Comment thread drivers/usb/uhc/uhc_dwc2.c Outdated
Comment thread drivers/usb/uhc/uhc_dwc2_vendor_quirks.h Outdated
Comment thread drivers/usb/uhc/uhc_dwc2_vendor_quirks.h
Comment thread drivers/usb/uhc/uhc_dwc2.c
Comment thread drivers/usb/uhc/uhc_dwc2_vendor_quirks.h
Comment thread drivers/usb/uhc/uhc_dwc2.c Outdated
@roma-jam roma-jam force-pushed the pr-add-dwc2-uhc-vendor-quirks-esp32 branch from 593b199 to 013d430 Compare March 5, 2026 16:29
roma-jam added 2 commits March 9, 2026 11:41
Added:
- Driver API signatures without implementation
- DT miltiinstance definition of uhc dwc2
- Stubbed vendor quirks calls for esp32
- Added the esp32s3 overlay for usb shell example for testing purpose

Signed-off-by: Roman Leonov <jam_roma@yahoo.com>
- Added esp32 specific vendor PHY configuration
- Added specific esp32 IRQ configuration

Signed-off-by: Roman Leonov <jam_roma@yahoo.com>
@roma-jam roma-jam force-pushed the pr-add-dwc2-uhc-vendor-quirks-esp32 branch from 013d430 to 9b87edb Compare March 9, 2026 22:16
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Mar 9, 2026

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 9, 2026

This pull request has been marked as stale because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 7 days. Note, that you can always re-open a closed pull request at any time.

@github-actions github-actions Bot added the Stale label Apr 9, 2026
@roma-jam
Copy link
Copy Markdown
Contributor Author

roma-jam commented Apr 9, 2026

Please, remove the Stale label.

@sylvioalves sylvioalves removed the Stale label Apr 9, 2026
@sylvioalves
Copy link
Copy Markdown
Contributor

@roma-jam please ping back if there is pending reviews..

@roma-jam roma-jam marked this pull request as draft April 17, 2026 15:57
@roma-jam
Copy link
Copy Markdown
Contributor Author

Will address all the rest notes in the follow-up PR, which introduces the fixed state that might be tested on a hardware.

After applying all necessary changes will close this PR.

For the follow up, please refer to the #102967.

@roma-jam
Copy link
Copy Markdown
Contributor Author

All notes from this PR have been noted and considered in follow-up PR.
To proceed, please follow the #102967.

@roma-jam roma-jam closed this Apr 20, 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.

DWC2 USB Host controller (UHC)

5 participants