Skip to content

Commit fdbcd26

Browse files
author
Alain Volmat
committed
display: stm32: ltdc: remove PLLSAI configuration
Now that PLLSAI can be configured via the device-tree, remove the SOC specific PLLSAI configuration from the LTDC driver. Signed-off-by: Alain Volmat <[email protected]>
1 parent c8fd2aa commit fdbcd26

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

drivers/display/display_stm32_ltdc.c

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -396,32 +396,6 @@ static int stm32_ltdc_init(const struct device *dev)
396396
}
397397
}
398398

399-
#if defined(CONFIG_SOC_SERIES_STM32F4X)
400-
LL_RCC_PLLSAI_Disable();
401-
LL_RCC_PLLSAI_ConfigDomain_LTDC(LL_RCC_PLLSOURCE_HSE,
402-
LL_RCC_PLLSAIM_DIV_8,
403-
192,
404-
LL_RCC_PLLSAIR_DIV_4,
405-
LL_RCC_PLLSAIDIVR_DIV_8);
406-
407-
LL_RCC_PLLSAI_Enable();
408-
while (LL_RCC_PLLSAI_IsReady() != 1) {
409-
}
410-
#endif
411-
412-
#if defined(CONFIG_SOC_SERIES_STM32F7X)
413-
LL_RCC_PLLSAI_Disable();
414-
LL_RCC_PLLSAI_ConfigDomain_LTDC(LL_RCC_PLLSOURCE_HSE,
415-
LL_RCC_PLLM_DIV_25,
416-
384,
417-
LL_RCC_PLLSAIR_DIV_5,
418-
LL_RCC_PLLSAIDIVR_DIV_8);
419-
420-
LL_RCC_PLLSAI_Enable();
421-
while (LL_RCC_PLLSAI_IsReady() != 1) {
422-
}
423-
#endif
424-
425399
/* reset LTDC peripheral */
426400
(void)reset_line_toggle_dt(&config->reset);
427401

0 commit comments

Comments
 (0)