Skip to content

Commit 12571a7

Browse files
Francois RamuChromeos LUCI
Francois Ramu
authored and
Chromeos LUCI
committed
drivers: clock control of some stm32f4x has no 48MHz from PLL i2s
Remove the LL_RCC_PLLI2S_ConfigDomain_48M for the stm32f4 w/o Q divider on the PLLI2S to configure the PLL48CK (cherry picked from commit 73ab22e) Original-Signed-off-by: Francois Ramu <[email protected]> GitOrigin-RevId: 73ab22e Cr-Build-Id: 8724184635785024145 Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8724184635785024145 Copybot-Job-Name: zephyr-main-copybot-downstream Change-Id: I5d1646d0b6968185858dbd822a419784df46f9ef Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/6222352 Commit-Queue: ChromeOS Prod (Robot) <[email protected]> Tested-by: ChromeOS Prod (Robot) <[email protected]> Bot-Commit: ChromeOS Prod (Robot) <[email protected]>
1 parent 5ace0aa commit 12571a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clock_control/clock_stm32f2_f4_f7.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ void config_plli2s(void)
157157
STM32_PLLI2S_N_MULTIPLIER,
158158
plli2sr(STM32_PLLI2S_R_DIVISOR));
159159

160-
#if STM32_PLLI2S_Q_ENABLED
160+
#if STM32_PLLI2S_Q_ENABLED && !defined(RCC_DCKCFGR_PLLI2SDIVQ)
161161
/* There is a Q divider on the PLLI2S to configure the PLL48CK */
162162
LL_RCC_PLLI2S_ConfigDomain_48M(get_pll_source(),
163163
plli2sm(STM32_PLLI2S_M_DIVISOR),

0 commit comments

Comments
 (0)