Skip to content

Commit 87ba7a4

Browse files
committed
drivers: clock control: stm32H7RS has a PLL2 an PLL3 output for peripherals
Add the definitions of the PLL2 and PLL3 outputs for the stm32H7RS mcus Signed-off-by: Francois Ramu <[email protected]>
1 parent 5019823 commit 87ba7a4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/clock_control/clock_stm32_ll_h7.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,11 @@ int enabled_clock(uint32_t src_clk)
337337
((src_clk == STM32_SRC_PLL2_R) && IS_ENABLED(STM32_PLL2_R_ENABLED)) ||
338338
((src_clk == STM32_SRC_PLL3_P) && IS_ENABLED(STM32_PLL3_P_ENABLED)) ||
339339
((src_clk == STM32_SRC_PLL3_Q) && IS_ENABLED(STM32_PLL3_Q_ENABLED)) ||
340+
#if defined(CONFIG_SOC_SERIES_STM32H7RSX)
341+
((src_clk == STM32_SRC_PLL2_S) && IS_ENABLED(STM32_PLL2_S_ENABLED)) ||
342+
((src_clk == STM32_SRC_PLL2_T) && IS_ENABLED(STM32_PLL2_T_ENABLED)) ||
343+
((src_clk == STM32_SRC_PLL3_S) && IS_ENABLED(STM32_PLL3_S_ENABLED)) ||
344+
#endif
340345
((src_clk == STM32_SRC_PLL3_R) && IS_ENABLED(STM32_PLL3_R_ENABLED))) {
341346
return 0;
342347
}

0 commit comments

Comments
 (0)