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
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/zephyr/dt-bindings/clock/stm32u0_clock.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
#include "stm32_common_clocks.h"

/** Bus gatting clocks */
#define STM32_CLOCK_BUS_IOP 0x4C
#define STM32_CLOCK_BUS_AHB1 0x48
#define STM32_CLOCK_BUS_IOP 0x4C
#define STM32_CLOCK_BUS_APB1 0x58
#define STM32_CLOCK_BUS_APB1_2 0x60

#define STM32_PERIPH_BUS_MIN STM32_CLOCK_BUS_IOP
#define STM32_PERIPH_BUS_MIN STM32_CLOCK_BUS_AHB1
#define STM32_PERIPH_BUS_MAX STM32_CLOCK_BUS_APB1_2

Check notice on line 18 in include/zephyr/dt-bindings/clock/stm32u0_clock.h

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

You may want to run clang-format on this change

include/zephyr/dt-bindings/clock/stm32u0_clock.h:18 -#define STM32_PERIPH_BUS_MIN STM32_CLOCK_BUS_AHB1 +#define STM32_PERIPH_BUS_MIN STM32_CLOCK_BUS_AHB1

Check notice on line 18 in include/zephyr/dt-bindings/clock/stm32u0_clock.h

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

You may want to run clang-format on this change

include/zephyr/dt-bindings/clock/stm32u0_clock.h:18 -#define STM32_PERIPH_BUS_MIN STM32_CLOCK_BUS_AHB1 +#define STM32_PERIPH_BUS_MIN STM32_CLOCK_BUS_AHB1

/** Domain clocks */
/* RM0503, clock configuration register (RCC_CCIPR) */
Expand Down
Loading