Linux and STM32MP15x: Retain GPIO state between U-Boot and Kernel
Hi everyone,
I'm working on a custom STM32MP157 based board running custom Linux with Kernel v5.10.116. A LCD panel is connected using the LTDC display controller.
I want to implement a splash-screen as soon as the power supply is on.
I managed to add my panel interface in U-Boot and display my splash-screen but when the kernel is initialized the GPIOs connected to the LCD panel (reset-pin and power supplies commands) are reset and re-initialized so the LCD display is switched off and on.
The final sequence is :
- U-Boot displays the splash screen
- the kernel is launched
- the LCD display is re-initialized
- the splash-screen is re-displayed
So there's a black screen for 2 seconds and I would like the splash-screen to remain displayed until the main application is launched.
Is it possible in the kernel DTS files to add an option so the GPIO (maybe PMIC) drivers won't re-initializes the pins tied to the display ?
I know it is possible with the TI drivers by adding "ti,no-reset-on-init" in the GPIO description but I didn't find something similar with the STM drivers.
Will I have to patch the drivers ?
Thanks.
