From 5a4fd10624d2bf0e1a1af879ab6fdc3a216948db Mon Sep 17 00:00:00 2001 From: Fabio Baltieri Date: Sat, 8 Jul 2023 17:03:57 +0000 Subject: [PATCH] shields: st_b_lcd40_dsi1_mb1166: bump up display init priority MIPI-DSI initialization priority got delayed in fed377f622, but now that's at the same priority as the OTM8009A for this board configuration, and OTM8009A needs MIPI-DSI to be initialized. Being at the same priority means that it may or may not work depending on the linking order, this is exposed with: $ west build -p -b stm32h747i_disco_m7 samples/subsys/display/lvgl \ -DSHIELD=st_b_lcd40_dsi1_mb1166 \ -DCONFIG_CHECK_INIT_PRIORITIES=y ... WARNING: /soc/dsihost@50000000/otm8009a@0 POST_KERNEL 86 == /soc/dsihost@50000000 POST_KERNEL 86 Bumping the display priority up to make sure it still works. Signed-off-by: Fabio Baltieri --- .../st_b_lcd40_dsi1_mb1166/boards/stm32h747i_disco_m7.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/shields/st_b_lcd40_dsi1_mb1166/boards/stm32h747i_disco_m7.conf b/boards/shields/st_b_lcd40_dsi1_mb1166/boards/stm32h747i_disco_m7.conf index 09ba121ded8..d3881d7e2ed 100644 --- a/boards/shields/st_b_lcd40_dsi1_mb1166/boards/stm32h747i_disco_m7.conf +++ b/boards/shields/st_b_lcd40_dsi1_mb1166/boards/stm32h747i_disco_m7.conf @@ -4,5 +4,5 @@ CONFIG_MEMC=y CONFIG_STM32_LTDC_RGB888=y CONFIG_HEAP_MEM_POOL_SIZE=65536 -# Initialize after LTDC -CONFIG_DISPLAY_OTM8009A_INIT_PRIORITY=86 +# Initialize after LTDC and MIPI-DSI +CONFIG_DISPLAY_OTM8009A_INIT_PRIORITY=87