Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport v4.0-branch] dts: st: stm32u5: restore correct clocks on multi-bit devices #86027

Open
wants to merge 1 commit into
base: v4.0-branch
Choose a base branch
from

Conversation

mathieuchopstm
Copy link
Collaborator

@mathieuchopstm mathieuchopstm commented Feb 19, 2025

Backport of #85874 to v4.0-branch.

Fixes: 57723cf
Fixes: #86019

USB side confirmed working on Nucleo-U5A5ZJ-Q thanks to samples/subsystem/usb/cdc_acm.
Before backport, the following error is observed instead of proper behavior:

[00:00:23.593,000] <err> usb_dc_stm32: PCD_Init failed, 1
[00:00:23.593,000] <err> cdc_acm_echo: Failed to enable USB

During the transition to STM32_CLOCK macro (in 57723cf), the `clocks`
property of peripherals requiring more than one bit to be set were
mistakenly modified. Commit 2c3294b
partially fixed these errors, but some nodes for the U5 series are still
wrong.

Restore `clocks` on affected devices in corresponding STM32U5 DTSI.

Fixes: 57723cf
Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
(cherry picked from commit 37bdc38)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: STM32 ST Micro STM32
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants