zephyr/drivers/clock_control
Sascha Silbe 7628bd9649 drivers: clock_control: stm32h7: disable PLL1 before configuring it
If the boot loader already switched the system clock to PLL1 we need
to switch back to HSI first and disable PLL1 before we can configure
PLL1. Otherwise the register writes will simply be ignored and we'll
end up with an inconsistent state.

Most of the code has been recycled from `clock_stm32_ll_common.c`.

Signed-off-by: Sascha Silbe <sascha-pgp@se-silbe.de>
Signed-off-by: Sascha Silbe <sascha-pgp@silbe.org>
2023-04-28 10:10:19 +02:00
..
beetle_clock_control.c include: add missing irq.h include 2022-10-11 18:05:17 +02:00
clock_agilex_ll.c
clock_agilex.c device: remove redundant init functions 2023-04-19 10:00:25 +02:00
clock_control_adsp.c intel_common: clean up & rename cavs_* to adsp_* 2022-11-28 17:45:20 -05:00
clock_control_ast10x0.c device: remove redundant init functions 2023-04-19 10:00:25 +02:00
clock_control_esp32.c clock: esp32s3: add peripheral initialization 2023-02-27 19:41:33 +01:00
clock_control_gd32.c device: remove redundant init functions 2023-04-19 10:00:25 +02:00
clock_control_ifx_cat1.c drivers: clock_control: Add Infineon CAT1 clock control driver 2023-03-01 11:44:57 +01:00
clock_control_litex.c
clock_control_litex.h
clock_control_lpc11u6x.c include: add missing kernel.h include 2022-10-11 18:05:17 +02:00
clock_control_lpc11u6x.h
clock_control_mchp_xec.c drivers: clock: Microchip XEC: Fix enum usage 2023-03-17 19:59:28 +01:00
clock_control_mcux_ccm_rev2.c device: remove redundant init functions 2023-04-19 10:00:25 +02:00
clock_control_mcux_ccm.c device: remove redundant init functions 2023-04-19 10:00:25 +02:00
clock_control_mcux_mcg.c device: remove redundant init functions 2023-04-19 10:00:25 +02:00
clock_control_mcux_pcc.c device: remove redundant init functions 2023-04-19 10:00:25 +02:00
clock_control_mcux_scg.c drivers: s/DT_CHILD(DT_DRV_INST(n), ...)/DT_INST_CHILD(n, ...) 2022-09-06 08:45:25 -07:00
clock_control_mcux_sim.c
clock_control_mcux_syscon.c device: remove redundant init functions 2023-04-19 10:00:25 +02:00
clock_control_npcx.c driver: PECI: npcx: add driver support for Nuvoton npcx family 2022-07-29 14:09:17 +02:00
clock_control_nrf.c drivers: clock_control_nrf: Fix link error with ASAN and no SHELL 2023-04-20 16:11:34 +02:00
clock_control_r8a7795_cpg_mssr.c device: remove redundant init functions 2023-04-19 10:00:25 +02:00
clock_control_renesas_cpg_mssr.c include: add missing kernel.h include 2022-10-11 18:05:17 +02:00
clock_control_renesas_cpg_mssr.h drivers: pwm: add Renesas R-Car driver 2022-09-07 15:50:49 +02:00
clock_control_rv32m1_pcc.c device: remove redundant init functions 2023-04-19 10:00:25 +02:00
clock_control_sam_pmc.c device: remove redundant init functions 2023-04-19 10:00:25 +02:00
clock_control_smartbond.c drivers: clock_control: smartbond: initial support 2023-04-05 15:09:04 +02:00
clock_stm32_ll_common.c drivers: clock_control: stm32 common: implement get_status api 2023-04-17 11:33:15 +02:00
clock_stm32_ll_common.h drivers: clock_control: stm32: Implement F412 PLL I2S Support 2023-03-01 08:56:05 +01:00
clock_stm32_ll_h5.c drivers: clock_control: stm32h5: Set HSI divider 2023-04-27 09:51:00 +02:00
clock_stm32_ll_h7.c drivers: clock_control: stm32h7: disable PLL1 before configuring it 2023-04-28 10:10:19 +02:00
clock_stm32_ll_mp1.c
clock_stm32_ll_u5.c drivers: clock_control: stm32: remove duplicate #include 2023-03-29 15:53:08 +00:00
clock_stm32_mux.c drivers: clock_control: stm32_mux: Fix src clock configuration 2022-11-10 09:30:09 +01:00
clock_stm32c0.c drivers: clock_control: add STM32C0 support 2023-03-14 17:35:37 +00:00
clock_stm32f0_f3.c drivers: clock_control: stm32f3: Enable PWR clock to access BDCR 2023-04-11 14:12:22 +02:00
clock_stm32f1.c drivers: clock_control: stm32: LSE fix in stm32f1x 2023-04-24 13:34:00 +02:00
clock_stm32f2_f4_f7.c drivers: clock_control: stm32: Implement F412 PLL I2S Support 2023-03-01 08:56:05 +01:00
clock_stm32g0.c
clock_stm32g4.c include: add missing sys/time_units.h include 2022-10-11 18:05:17 +02:00
clock_stm32l0_l1.c drivers/clock_control: stm32 common fix STM32_SRC_PLLCLK calculation 2022-07-27 18:44:49 +02:00
clock_stm32l4_l5_wb_wl.c include: add missing sys/time_units.h include 2022-10-11 18:05:17 +02:00
CMakeLists.txt drivers: clock_control: smartbond: initial support 2023-04-05 15:09:04 +02:00
Kconfig drivers: clock_control: smartbond: initial support 2023-04-05 15:09:04 +02:00
Kconfig.aspeed drivers: clock_control: add Aspeed AST10x0 clock control 2022-07-28 08:30:27 +02:00
Kconfig.beetle drivers: clock_control: Update drivers to use devicetree Kconfig symbol 2022-07-27 09:47:16 +02:00
Kconfig.cavs boards, dts: fix namespace for intel adsp cavs, ace 2022-09-14 07:23:08 -04:00
Kconfig.esp32 drivers: clock_control: Update drivers to use devicetree Kconfig symbol 2022-07-27 09:47:16 +02:00
Kconfig.gd32 drivers: clock_control: gd32: initial support 2022-09-06 09:57:25 +02:00
Kconfig.ifx_cat1 drivers: clock_control: Add Infineon CAT1 clock control driver 2023-03-01 11:44:57 +01:00
Kconfig.litex drivers: clock_control: Update drivers to use devicetree Kconfig symbol 2022-07-27 09:47:16 +02:00
Kconfig.lpc11u6x drivers: clock_control: Update drivers to use devicetree Kconfig symbol 2022-07-27 09:47:16 +02:00
Kconfig.mcux_ccm drivers: clock_control: Update drivers to use devicetree Kconfig symbol 2022-07-27 09:47:16 +02:00
Kconfig.mcux_ccm_rev2 drivers: clock_control: Update drivers to use devicetree Kconfig symbol 2022-07-27 09:47:16 +02:00
Kconfig.mcux_mcg drivers: clock_control: Update drivers to use devicetree Kconfig symbol 2022-07-27 09:47:16 +02:00
Kconfig.mcux_pcc drivers: clock_control: Update drivers to use devicetree Kconfig symbol 2022-07-27 09:47:16 +02:00
Kconfig.mcux_scg drivers: clock_control: Update drivers to use devicetree Kconfig symbol 2022-07-27 09:47:16 +02:00
Kconfig.mcux_sim drivers: clock_control: Update drivers to use devicetree Kconfig symbol 2022-07-27 09:47:16 +02:00
Kconfig.mcux_syscon drivers: clock_control: Update drivers to use devicetree Kconfig symbol 2022-07-27 09:47:16 +02:00
Kconfig.npcx drivers: clock_control: Update drivers to use devicetree Kconfig symbol 2022-07-27 09:47:16 +02:00
Kconfig.nrf lib: onoff: add a config for on-off and build conditionally 2022-10-03 10:18:15 +02:00
Kconfig.rcar drivers: clock_control: Update drivers to use devicetree Kconfig symbol 2022-07-27 09:47:16 +02:00
Kconfig.rv32m1 drivers: clock_control: Update drivers to use devicetree Kconfig symbol 2022-07-27 09:47:16 +02:00
Kconfig.sam drivers: clock: Add Atmel SAM PMC driver 2023-03-21 14:12:25 -07:00
Kconfig.smartbond drivers: clock_control: smartbond: initial support 2023-04-05 15:09:04 +02:00
Kconfig.stm32 drivers: clock control: stm32f4, stm32f7 driver requires LL_RCC 2023-04-24 13:32:29 +02:00
Kconfig.xec drivers: clock_control: Update drivers to use devicetree Kconfig symbol 2022-07-27 09:47:16 +02:00
nrf_clock_calibration.c drivers: clock_control: nrf: fix unused variable warning 2022-09-01 00:47:41 +09:00
nrf_clock_calibration.h