Skip to content

Commit

Permalink
drivers: clock: add stm32n6 clock
Browse files Browse the repository at this point in the history
Add STM32N6 clock driver.
Supported clocks are LSE, LSI, HSE, HSI, PLL1-4, IC1-20,
peripheral clock and CPU clock.

Signed-off-by: Guillaume Gautier <[email protected]>
  • Loading branch information
gautierg-st authored and pull[bot] committed Feb 21, 2025
1 parent 50848d7 commit 8000ca6
Show file tree
Hide file tree
Showing 6 changed files with 1,337 additions and 1 deletion.
2 changes: 2 additions & 0 deletions drivers/clock_control/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ elseif(CONFIG_SOC_SERIES_STM32H7RSX)
zephyr_library_sources(clock_stm32_ll_h7.c)
elseif(CONFIG_SOC_SERIES_STM32H5X)
zephyr_library_sources(clock_stm32_ll_h5.c)
elseif(CONFIG_SOC_SERIES_STM32N6X)
zephyr_library_sources(clock_stm32_ll_n6.c)
elseif(CONFIG_SOC_SERIES_STM32U5X)
zephyr_library_sources(clock_stm32_ll_u5.c)
elseif(CONFIG_SOC_SERIES_STM32WB0X)
Expand Down
3 changes: 2 additions & 1 deletion drivers/clock_control/Kconfig.stm32
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ menuconfig CLOCK_CONTROL_STM32_CUBE
default y
select USE_STM32_LL_UTILS
select USE_STM32_LL_RCC if (SOC_SERIES_STM32MP1X || SOC_SERIES_STM32H7X || \
SOC_SERIES_STM32H7RSX || SOC_SERIES_STM32F4X || SOC_SERIES_STM32F7X)
SOC_SERIES_STM32H7RSX || SOC_SERIES_STM32F4X || SOC_SERIES_STM32F7X || \
SOC_SERIES_STM32N6X)
select RUNTIME_NMI if ($(dt_nodelabel_enabled,clk_hse) && \
$(dt_nodelabel_has_prop,clk_hse,css-enabled))
help
Expand Down
Loading

0 comments on commit 8000ca6

Please sign in to comment.