zephyr/drivers/clock_control
Marti Bolivar 15780bd542 clock_control: stm32: fix a PLL init corner case
Commit 58c8d15 ("clock control:stm32: provide STM32Cube LL based
driver") added PLL initialization which disables the PLL before
configuring it.

This works if the system clock source is not the PLL (which is the
usual case for Zephyr booting out of chip reset). However, if the
SYSCLK source *is* the PLL, this halts execution.

To support this use case, switch the SYSCLK source to the
always-present HSI before disabling the PLL.

Signed-off-by: Marti Bolivar <marti.bolivar@linaro.org>
2017-05-10 08:31:13 -04:00
..
Kconfig stm32f4: Clean references to stm32f4 specific clock control 2017-04-28 15:26:11 -05:00
Kconfig.beetle license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.nrf5 license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.quark_se license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.stm32 driver: clock control stm32: align f4 factor names on l4 2017-04-28 15:26:37 -05:00
Kconfig.stm32f10x license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.stm32f107xx doc: misspellings in Kconfig files 2017-05-05 19:38:53 -04:00
Makefile stm32f4: Clean references to stm32f4 specific clock control 2017-04-28 15:26:11 -05:00
beetle_clock_control.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
nrf5_power_clock.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05: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 clock_control: stm32: fix a PLL init corner case 2017-05-10 08:31:13 -04:00
stm32_ll_clock.h drivers: clock control: Provide LL based clock control for stm32f4 series 2017-04-28 15:06:41 -05:00
stm32f3x_ll_clock.c drivers: clock control: Provide LL based clock control for stm32f4 series 2017-04-28 15:06:41 -05:00
stm32f4x_ll_clock.c driver: clock control stm32: align f4 factor names on l4 2017-04-28 15:26:37 -05:00
stm32f10x_clock.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
stm32f107xx_clock.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -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