zephyr/drivers/clock_control
Daniel Wagenknecht 39bb93d402 drivers: stm32 clock control: fix HSI PLLSOURCE with PREDIV1 support
The combination of
CONFIG_CLOCK_STM32_SYSCLK_SRC_PLL and
CONFIG_CLOCK_STM32_PLL_SRC_HSI
on SOCs with PREDIV1 support made use of the LL define
LL_RCC_PLLSOURCE_HSI_DIV_2, which is not defined for SOCs with
PREDIV1 support.

This exchanges LL_RCC_PLLSOURCE_HSI_DIV_2 with LL_RCC_PLLSOURCE_HSI
which is the appropiate source according to stm32f0xx_ll_rcc.h
line 473 and stm32f3xx_ll_rcc.h line 795.

Tested by compiling hello world for nucleo_f091rc board with HSI as
PLLSOURCE.

Signed-off-by: Daniel Wagenknecht <wagenknecht@clage.de>
2018-01-11 19:00:19 -05:00
..
beetle_clock_control.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
clock_control_mcux_ccm.c clock_control: Introduce mcux ccm driver 2017-11-15 09:09:58 -06:00
clock_control_mcux_sim.c clock_control: Introduce mcux sim driver 2017-10-20 12:28:11 -05:00
CMakeLists.txt clock_control: Introduce mcux ccm driver 2017-11-15 09:09:58 -06:00
Kconfig clock_control: Introduce mcux ccm driver 2017-11-15 09:09:58 -06:00
Kconfig.beetle license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.mcux_ccm clock_control: Introduce mcux ccm driver 2017-11-15 09:09:58 -06:00
Kconfig.mcux_sim clock_control: Introduce mcux sim driver 2017-10-20 12:28:11 -05:00
Kconfig.nrf5 clock_control: nRF5x: Select 251-500ppm as default for 32kHz RCOSC 2017-07-11 10:29:46 -05:00
Kconfig.quark_se license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.stm32 drivers: clock_control: provide support for stm32f0. 2017-10-23 12:31:47 +02:00
nrf5_power_clock.c clock_control: nrf5_power: Let the LF clock be configured at least once 2017-10-08 23:05:34 -04:00
quark_se_clock_control.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
stm32_ll_clock.c drivers: clock_control: provide support for stm32f0. 2017-10-23 12:31:47 +02:00
stm32_ll_clock.h drivers: clock control: Provide LL based clock control for stm32f4 series 2017-04-28 15:06:41 -05:00
stm32f0x_ll_clock.c drivers: stm32 clock control: fix HSI PLLSOURCE with PREDIV1 support 2018-01-11 19:00:19 -05:00
stm32f1x_ll_clock.c drivers: clock_control: provide LL based driver to stm32f1xx series 2017-06-02 14:11:13 -04:00
stm32f3x_ll_clock.c drivers: stm32 clock control: fix HSI PLLSOURCE with PREDIV1 support 2018-01-11 19:00:19 -05:00
stm32f4x_ll_clock.c driver: clock control stm32: align f4 factor names on l4 2017-04-28 15:26:37 -05:00
stm32l4x_ll_clock.c drivers: clock control: Provide LL based clock control for stm32f4 series 2017-04-28 15:06:41 -05:00