zephyr/drivers/clock_control
Krzysztof Chruscinski 03f4a648b1 drivers: clock_control: nrf: Fix waiting for LF clock
Algorithm for waiting for clock stabilization was failing in case when
it was waiting for clock availablity and clock was already available
before function was called. That is because nrfx_clock_is_running
was returning false because XTAL was already started but not yet
running.

Added a check for current LF source, if XTAL is picked that indicates
that RC is already running because of two stage startup procedure.

Added documentation of lfclk_spinwait with explanation of two stage
approach.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2020-09-22 09:58:19 +02:00
..
beetle_clock_control.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
clock_control_esp32.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
clock_control_esp32.h drivers: esp32/clock_control: Add Clock Driver 2020-06-16 09:00:51 -05:00
clock_control_lpc11u6x.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
clock_control_lpc11u6x.h drivers: clock_control: lpc11u6x: Add support for clock controller 2020-07-29 20:12:24 +02:00
clock_control_mcux_ccm.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
clock_control_mcux_mcg.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
clock_control_mcux_pcc.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
clock_control_mcux_scg.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
clock_control_mcux_sim.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
clock_control_npcx.c drivers: clk_ctrl: npcx: fixed 'line length exceeds 80 columns' warning. 2020-09-03 21:53:35 +02:00
clock_control_nrf.c drivers: clock_control: nrf: Fix waiting for LF clock 2020-09-22 09:58:19 +02:00
clock_control_rv32m1_pcc.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
clock_stm32_ll_common.c drivers: clock: stm32f7 needs power over-drive to reach 216Mhz 2020-09-03 14:45:24 -05:00
clock_stm32_ll_common.h
clock_stm32_ll_h7.c drivers: clock_control: stm32h7 use a macro to define VCO_INPUT_RANGE 2020-09-04 17:03:57 +02:00
clock_stm32_ll_mp1.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
clock_stm32f1.c drivers/clock_control: Remove useless CLOCK_STM32_PLL_XTPRE config 2020-07-02 08:14:45 -05:00
clock_stm32f2_f4_f7.c treewide: use full path to clock_control/stm32_clock_control.h header 2020-01-26 17:52:12 +01:00
clock_stm32f0_f3.c drivers: clock_control: stm32f0/f3: streamline PREDIV handling 2020-07-05 07:56:21 -04:00
clock_stm32g4.c driver: clock: stm32: boost voltage when clock exceeds 150MHz 2020-02-26 12:21:04 -06:00
clock_stm32g0.c treewide: use full path to clock_control/stm32_clock_control.h header 2020-01-26 17:52:12 +01:00
clock_stm32l4_l5_wb.c drivers: STM32 dualcore concurrent register access protection with HSEM 2020-07-09 11:27:56 +02:00
clock_stm32l0_l1.c drivers: clock_control: stm32: Enable SYSCFG on STM32L0 2020-06-09 14:44:25 +02:00
CMakeLists.txt drivers: clock_control: Rename nrf_power_clock to clock_control_nrf 2020-08-31 12:40:47 +02:00
Kconfig driver: clock: Add clock controller support in NPCX series. 2020-08-13 16:42:20 +02:00
Kconfig.beetle kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.esp32 drivers: esp32/clock_control: Add Clock Driver 2020-06-16 09:00:51 -05:00
Kconfig.lpc11u6x drivers: clock_control: lpc11u6x: Add support for clock controller 2020-07-29 20:12:24 +02:00
Kconfig.mcux_ccm kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_mcg kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_pcc kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_scg kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_sim kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.npcx driver: clock: Add clock controller support in NPCX series. 2020-08-13 16:42:20 +02:00
Kconfig.nrf drivers: clock_control: nrf: Improve waiting for LF clock 2020-09-10 21:31:01 +02:00
Kconfig.rv32m1 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32 drivers: clock_control: stm32h7: Add HSE,HSI,CSI,PLL sysclk opt. 2020-07-27 13:24:27 +02:00
Kconfig.stm32f1 drivers/clock_control: Remove useless CLOCK_STM32_PLL_XTPRE config 2020-07-02 08:14:45 -05:00
Kconfig.stm32f2_f4_f7 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32f0_f3 drivers: clock_control: stm32f0/f3: fix PREDIV options 2020-07-05 07:56:21 -04:00
Kconfig.stm32g0 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32g4 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32h7 drivers: clock_control: stm32h7 add HSI divisor support 2020-08-05 16:22:53 +02:00
Kconfig.stm32l4_l5_wb drivers/clock_control: Add clock_control on STM32L5 series 2020-05-08 00:34:34 -05:00
Kconfig.stm32l0_l1 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
nrf_clock_calibration.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
nrf_clock_calibration.h drivers: clock_control: nrf: Make use of related nrfx drivers 2020-08-31 12:40:47 +02:00