Skip to content

Commit ba13cdb

Browse files
committed
drivers: clock_control: add HSI_DIV on STM32L0
Enable support for HSI_DIV and its use as a clock source on STM32L0 SoCs. Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
1 parent 5a0898d commit ba13cdb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/zephyr/drivers/clock_control/stm32_clock_control.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,7 @@
485485
#define STM32_HSI_ENABLED 1
486486
#define STM32_HSI_FREQ DT_PROP(DT_NODELABEL(clk_hsi), clock_frequency)
487487
#elif DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(clk_hsi), st_stm32h7_hsi_clock, okay) \
488+
|| DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(clk_hsi), st_stm32l0_hsi_clock, okay) \
488489
|| DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(clk_hsi), st_stm32g0_hsi_clock, okay) \
489490
|| DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(clk_hsi), st_stm32c0_hsi_clock, okay) \
490491
|| DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(clk_hsi), st_stm32n6_hsi_clock, okay)

0 commit comments

Comments
 (0)