Skip to content

Commit c7e621b

Browse files
committed
drivers: clock_control: simplify CLOCK_STM32_PLL_PREDIV1 config
Remove SoCs part dependency of CLOCK_STM32_PLL_PREDIV1 config since it will only be used on parts having an HSE oscillator, ignored otherwise. Signed-off-by: Neil Armstrong <[email protected]>
1 parent 53bf2eb commit c7e621b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

drivers/clock_control/Kconfig.stm32

+6-2
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,15 @@ config CLOCK_STM32_PLL_PREDIV
106106

107107
config CLOCK_STM32_PLL_PREDIV1
108108
int "PREDIV1 Prescaler"
109-
depends on CLOCK_STM32_PLL_SRC_HSE && (SOC_STM32F091XB || SOC_STM32F091XC)
109+
depends on CLOCK_STM32_PLL_SRC_HSE
110110
default 1
111111
range 1 16
112112
help
113-
PREDIV is PLLSCR clock signal prescaler, present on STM32F091xB, STM32F091xC.
113+
PREDIV is PLLSCR clock signal prescaler, present on STM32F0 SoC having
114+
an HSE Oscillator available like the stm32f04xx, stm32f07xx,
115+
stm32f09xx and stm32f030xc parts. If configured on a non supported
116+
part, the HSI oscillator will be used a default PLL source and this
117+
config will be ignored.
114118
Allowed values: 1 - 16.
115119

116120
config CLOCK_STM32_PLL_MULTIPLIER

0 commit comments

Comments
 (0)