zephyr/drivers/clock_control
Thomas Stranger 844277f4aa drivers/clock_control: fix: stm32wb series has only a single msi range
stm32wb only has a single msi clock range, in contrast to wl, l4, l5
which have a second range that is active after exit from standby mode.
This difference must be taken account of in the driver.

This commit abstracts __LL_RCC_CALC_MSI_FREQ macro such that all series
can be supported, additionally the switch to the msirange
(LL_RCC_MSI_EnableRangeSelection) is now only executed on series
that support it.

As a result stm32wb socs can use msi as sysclock.
The same should be done for stm32l0, but this commit series limits
the scope of socs to avoid getting too bloated.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2021-05-06 07:36:05 -05:00
..
beetle_clock_control.c
clock_control_esp32.c
clock_control_esp32.h
clock_control_litex.c
clock_control_litex.h
clock_control_lpc11u6x.c
clock_control_lpc11u6x.h
clock_control_mcux_ccm.c
clock_control_mcux_mcg.c
clock_control_mcux_pcc.c
clock_control_mcux_scg.c
clock_control_mcux_sim.c
clock_control_mcux_syscon.c
clock_control_npcx.c
clock_control_nrf.c
clock_control_rcar_cpg_mssr.c
clock_control_rv32m1_pcc.c
clock_stm32_ll_common.c drivers/clock_control: fix: stm32wb series has only a single msi range 2021-05-06 07:36:05 -05:00
clock_stm32_ll_common.h
clock_stm32_ll_h7.c
clock_stm32_ll_mp1.c
clock_stm32f1.c
clock_stm32f2_f4_f7.c
clock_stm32f0_f3.c
clock_stm32g4.c
clock_stm32g0.c
clock_stm32l4_l5_wb_wl.c
clock_stm32l0_l1.c
CMakeLists.txt
Kconfig
Kconfig.beetle
Kconfig.esp32
Kconfig.litex
Kconfig.lpc11u6x
Kconfig.mcux_ccm
Kconfig.mcux_mcg
Kconfig.mcux_pcc
Kconfig.mcux_scg
Kconfig.mcux_sim
Kconfig.mcux_syscon
Kconfig.npcx
Kconfig.nrf
Kconfig.rcar
Kconfig.rv32m1
Kconfig.stm32 drivers/clock_control: stm32h7_m4: Don't rely on rcc "clocks" property 2021-05-05 16:34:37 -05:00
Kconfig.stm32f1
Kconfig.stm32f2_f4_f7
Kconfig.stm32f0_f3
Kconfig.stm32g0
Kconfig.stm32g4
Kconfig.stm32h7
Kconfig.stm32l4_l5_wb_wl
Kconfig.stm32l0_l1
nrf_clock_calibration.c
nrf_clock_calibration.h