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

drivers: clock: fix STM32_PERIPH_BUS_MIN for STM32U0 #80471

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

arifbalik
Copy link
Contributor

@arifbalik arifbalik commented Oct 26, 2024

STM32_PERIPH_BUS_MIN value does not point to the minimum bus address in stm32u0_clock.h which is AHB1 and has value of 0x48. Instead IOP is used which has the value 0x4C this causes clock_control_on to fail when enabling anything clocked by AHB1

Fixes #80817

`STM32_PERIPH_BUS_MIN` is not the minimum bus address in `stm32u0_clock.h`

Signed-off-by: Arif Balik <arifbalik@outlook.com>
@JarmouniA JarmouniA added the platform: STM32 ST Micro STM32 label Oct 26, 2024
@JarmouniA JarmouniA added the bug The issue is a bug, or the PR is fixing a bug label Oct 26, 2024
@JarmouniA JarmouniA requested review from erwango and FRASTM October 28, 2024 15:00
@arifbalik
Copy link
Contributor Author

@FRASTM hey, do you think this will make into 4.0.0?

@JarmouniA
Copy link
Collaborator

@FRASTM hey, do you think this will make into 4.0.0?

@arifbalik For that to happen, you should file a bug issue.

@erwango erwango assigned erwango and unassigned nordic-krch Nov 4, 2024
@erwango erwango added the backport v3.7-branch Request backport to the v3.7-branch label Nov 4, 2024
@mmahadevan108 mmahadevan108 merged commit 10fa1ea into zephyrproject-rtos:main Nov 7, 2024
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Clock Control backport v3.7-branch Request backport to the v3.7-branch bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32
Projects
None yet
Development

Successfully merging this pull request may close these issues.

STM32 Clock Config: Peripheral bus min definition should start from AHB1 in clock config
7 participants