drivers: clock_control: stm32g0: Enable the Q divisor on g0X1 variants
The PLL Q divisor does not exist on stm32g0X0 variants. It should only be configured for g0X1 variants. Signed-off-by: Eric Hay <EHay@sierrawireless.com>
This commit is contained in:
parent
31fca27d83
commit
e51b24b429
@ -30,6 +30,15 @@ config CLOCK_STM32_PLL_P_DIVISOR
|
||||
help
|
||||
PLL P VCO divisor, allowed values: 2-32.
|
||||
|
||||
config CLOCK_STM32_PLL_Q_DIVISOR
|
||||
int "PLL Q Divisor"
|
||||
depends on CLOCK_STM32_SYSCLK_SRC_PLL && (SOC_STM32G031XX || SOC_STM32G071XX)
|
||||
default 2
|
||||
range 2 8
|
||||
help
|
||||
PLL Q VCO divisor, allowed values: 2-8.
|
||||
Limited to STM32G0X1 variants.
|
||||
|
||||
config CLOCK_STM32_PLL_R_DIVISOR
|
||||
int "PLL R Divisor"
|
||||
depends on CLOCK_STM32_SYSCLK_SRC_PLL
|
||||
|
||||
@ -13,12 +13,4 @@ config NUM_IRQS
|
||||
int
|
||||
default 30
|
||||
|
||||
config CLOCK_STM32_PLL_Q_DIVISOR
|
||||
int "PLL Q Divisor"
|
||||
depends on CLOCK_STM32_SYSCLK_SRC_PLL
|
||||
default 2
|
||||
range 2 8
|
||||
help
|
||||
PLL Q VCO divisor, allowed values: 2-8.
|
||||
|
||||
endif # SOC_STM32G031XX
|
||||
|
||||
@ -12,12 +12,4 @@ config SOC
|
||||
config NUM_IRQS
|
||||
default 32
|
||||
|
||||
config CLOCK_STM32_PLL_Q_DIVISOR
|
||||
int "PLL Q Divisor"
|
||||
depends on CLOCK_STM32_SYSCLK_SRC_PLL
|
||||
default 2
|
||||
range 2 8
|
||||
help
|
||||
PLL Q VCO divisor, allowed values: 2-8
|
||||
|
||||
endif # SOC_STM32G071XX
|
||||
|
||||
Loading…
Reference in New Issue
Block a user