From a5429ac98801acb4c1c6fdebff30668e1a34fb79 Mon Sep 17 00:00:00 2001 From: Tomislav Milkovic Date: Tue, 10 May 2022 15:31:17 +0200 Subject: [PATCH] drivers: display: temporary fix for PLLSAI on STM32F7 Temporary fix to configure PLLSAIR multipliers for correct LTDC pixel clock on STM32F746G Discovery board Signed-off-by: Tomislav Milkovic --- drivers/display/display_stm32_ltdc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/display/display_stm32_ltdc.c b/drivers/display/display_stm32_ltdc.c index 937cccf6e64..c9c9c6e91d8 100644 --- a/drivers/display/display_stm32_ltdc.c +++ b/drivers/display/display_stm32_ltdc.c @@ -262,9 +262,9 @@ static int stm32_ltdc_init(const struct device *dev) #if defined(CONFIG_SOC_SERIES_STM32F7X) LL_RCC_PLLSAI_Disable(); LL_RCC_PLLSAI_ConfigDomain_LTDC(LL_RCC_PLLSOURCE_HSE, - LL_RCC_PLLM_DIV_8, - 192, - LL_RCC_PLLSAIR_DIV_4, + LL_RCC_PLLM_DIV_25, + 384, + LL_RCC_PLLSAIR_DIV_5, LL_RCC_PLLSAIDIVR_DIV_8); LL_RCC_PLLSAI_Enable();