Skip to content

Conversation

marwaiehm-st
Copy link
Contributor

@marwaiehm-st marwaiehm-st commented Jul 17, 2025

These commits remove the calls to LL_AHB2_GRP1_DisableClockStopSleep() for the OTG HS and USBPHY clocks in both usb_dc_stm32.c and udc_stm32.c for STM32U5 series SoCs

Fixes #93265.

Prevent disabling OTG HS and USBPHY clocks
during sleep on STM32U5 series

Disabling these clocks during sleep mode
was causing USB device initialization issues

Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <[email protected]>
Prevent disabling OTG HS and USBPHY clocks
during sleep on STM32U5 series

Disabling these clocks during sleep mode
was causing USB device initialization issues

Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <[email protected]>
Copy link

@marwaiehm-st marwaiehm-st marked this pull request as ready for review July 18, 2025 07:53
@zephyrbot zephyrbot added area: USB Universal Serial Bus platform: STM32 ST Micro STM32 labels Jul 18, 2025
@erwango erwango added the backport v4.2-branch Request backport to the v4.2-branch label Jul 22, 2025
@cfriedt cfriedt merged commit 8b355e9 into zephyrproject-rtos:main Jul 22, 2025
37 checks passed
@marwaiehm-st marwaiehm-st added backport v4.2-branch Request backport to the v4.2-branch and removed backport v4.2-branch Request backport to the v4.2-branch labels Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: USB Universal Serial Bus backport v4.2-branch Request backport to the v4.2-branch platform: STM32 ST Micro STM32
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stm32u5x: clock disable in sleep mode fix causing USB HS device initialization stalls
6 participants