zephyr/drivers/clock_control
Marcin Niestroj fafaa58240 drivers: clock: stm32: support STM32_CLOCK_DIV()
Support specifying divided clock buses by introduction of
STM32_CLOCK_DIV(div) macro. This macro can be used in devicetree to define
clock source of peripherals.

HSE is selected in devicetree using:

   <&rcc STM32_SRC_HSE ...>;

HSE/2 can now be selected with:

   <&rcc (STM32_SRC_HSE | STM32_CLOCK_DIV(2)) ...>;

This allows to use clock_control_get_rate() API in peripherals in order to
get desired clock rate.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2024-12-11 08:00:03 +01:00
..
beetle_clock_control.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_agilex_ll.c
clock_agilex.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_adsp.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_agilex5_ll.c
clock_control_agilex5_ll.h
clock_control_agilex5.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_ambiq.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_arm_scmi.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_ast10x0.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_esp32.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_fixed_rate.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_gd32.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_ifx_cat1.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_litex.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_litex.h sys: util: define bits per byte, nibble, and nibbles per byte 2024-10-15 19:05:06 +01:00
clock_control_lpc11u6x.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_lpc11u6x.h
clock_control_max32.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_mchp_xec.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_mcux_ccm_rev2.c drivers: clock_control: update clock_control_mcux_ccm_rev2.c driver 2024-12-06 12:13:54 +01:00
clock_control_mcux_ccm.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_mcux_mcg.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_mcux_pcc.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_mcux_scg_k4.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_mcux_scg.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_mcux_sim.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_mcux_syscon.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_npcm.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_npcx.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_nrf2_common.c soc: nordic: Add LRCCONF management 2024-11-26 14:46:55 +00:00
clock_control_nrf2_common.h soc: nordic: Add LRCCONF management 2024-11-26 14:46:55 +00:00
clock_control_nrf2_fll16m.c drivers: clock_control: nrf: Place API into iterable section 2024-12-02 18:17:58 +01:00
clock_control_nrf2_hfxo.c drivers: clock_control: nrf: Place API into iterable section 2024-12-02 18:17:58 +01:00
clock_control_nrf2_hsfll.c drivers: clock_control: nrf: Place API into iterable section 2024-12-02 18:17:58 +01:00
clock_control_nrf2_lfclk.c drivers: clock_control: nrf: Place API into iterable section 2024-12-02 18:17:58 +01:00
clock_control_nrf_auxpll.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_nrf.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_numaker_scc.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_nxp_s32.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_pwm.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_r8a779f0_cpg_mssr.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_r8a7795_cpg_mssr.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_renesas_cpg_mssr.c
clock_control_renesas_cpg_mssr.h
clock_control_renesas_ra_cgc.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_rpi_pico.c drivers: clock_control: rpi_pico: Make pinctrl-0 optional 2024-12-05 12:29:33 +01:00
clock_control_rv32m1_pcc.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_sam_pmc.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_si32_ahb.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_si32_apb.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_si32_pll.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_silabs_series.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_smartbond.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_control_wch_rcc.c drivers: clock_control: Place API into iterable section 2024-11-29 21:46:34 +01:00
clock_stm32_ll_common.c drivers: clock: stm32: support STM32_CLOCK_DIV() 2024-12-11 08:00:03 +01:00
clock_stm32_ll_common.h drivers: clock control: stm32 pll clock config for I2S 2024-12-05 19:59:47 -05:00
clock_stm32_ll_h5.c drivers: clock: stm32: support STM32_CLOCK_DIV() 2024-12-11 08:00:03 +01:00
clock_stm32_ll_h7.c drivers: clock: stm32: support STM32_CLOCK_DIV() 2024-12-11 08:00:03 +01:00
clock_stm32_ll_mp1.c drivers: clock: stm32: support STM32_CLOCK_DIV() 2024-12-11 08:00:03 +01:00
clock_stm32_ll_u5.c drivers: clock: stm32: support STM32_CLOCK_DIV() 2024-12-11 08:00:03 +01:00
clock_stm32_ll_wb0.c drivers: clock: stm32: support STM32_CLOCK_DIV() 2024-12-11 08:00:03 +01:00
clock_stm32_ll_wba.c drivers: clock: stm32: support STM32_CLOCK_DIV() 2024-12-11 08:00:03 +01:00
clock_stm32_mco.c
clock_stm32_mux.c
clock_stm32c0.c
clock_stm32f0_f3.c
clock_stm32f1.c
clock_stm32f2_f4_f7.c drivers: clock control: stm32 pll clock config for I2S 2024-12-05 19:59:47 -05:00
clock_stm32g0_u0.c
clock_stm32g4.c
clock_stm32l0_l1.c
clock_stm32l4_l5_wb_wl.c
CMakeLists.txt drivers: add the ch32v00x clock controller 2024-11-26 14:41:46 +00:00
Kconfig drivers: add the ch32v00x clock controller 2024-11-26 14:41:46 +00:00
Kconfig.agilex5
Kconfig.ambiq
Kconfig.arm_scmi
Kconfig.aspeed
Kconfig.beetle
Kconfig.cavs
Kconfig.esp32
Kconfig.fixed
Kconfig.gd32
Kconfig.ifx_cat1
Kconfig.litex
Kconfig.lpc11u6x boards: nxp: Removing CONFIG_PINCTRL from the boards defconfig 2024-10-15 19:09:45 -04:00
Kconfig.max32
Kconfig.mcux_ccm
Kconfig.mcux_ccm_rev2
Kconfig.mcux_mcg
Kconfig.mcux_pcc
Kconfig.mcux_scg
Kconfig.mcux_sim
Kconfig.mcux_syscon boards: nxp: Removing CONFIG_PINCTRL from the boards defconfig 2024-10-15 19:09:45 -04:00
Kconfig.npcm drivers: clock_control: add npcm clock control driver 2024-11-16 15:06:25 -05:00
Kconfig.npcx
Kconfig.nrf soc: nordic: Fix the way of enabling clock control for nRF54H Series 2024-10-16 16:36:51 +01:00
Kconfig.nrf_auxpll
Kconfig.numaker
Kconfig.nxp_s32
Kconfig.pwm
Kconfig.rcar
Kconfig.renesas_ra_cgc
Kconfig.rpi_pico soc: raspberrypi: Drop PINCTRL from Kconfig.defconfig 2024-11-25 14:42:01 +01:00
Kconfig.rv32m1
Kconfig.sam
Kconfig.si32
Kconfig.silabs drivers: clock_control: silabs: Add clock control driver 2024-09-30 17:12:01 +01:00
Kconfig.smartbond
Kconfig.stm32 drivers: clock_control: stm32 mco driver get define from DTS 2024-12-05 19:59:47 -05:00
Kconfig.wch_rcc drivers: add the ch32v00x clock controller 2024-11-26 14:41:46 +00:00
Kconfig.xec
nrf_clock_calibration.c
nrf_clock_calibration.h