[v3,1/2] configs: stm32mp25: enable the LVDS panel of the STM32MP257F-EV1

Message ID 20261127161542.1907090-2-dario.binacchi@amarulasolutions.com
State New
Headers
Series Enable the display of the STM32MP257F-EV1 |

Commit Message

Dario Binacchi Nov. 27, 2026, 4:15 p.m. UTC
The LVDS panel of the STM32MP257F-EV1 has a GPIO backlight. Without its
driver the panel fails to probe, and so does the LVDS bridge:

  stm32-display-lvds lvds@48060000: panel device error -19

Enable it, and raise the maximum framebuffer resolution to 1920x1080,
the one supported by the display controller, from the default 640x480.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>

---

Changes in v3:
- Set the maximum framebuffer resolution to 1920x1080

 configs/stm32mp25_defconfig | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.43.0
  

Patch

diff --git a/configs/stm32mp25_defconfig b/configs/stm32mp25_defconfig
index e55ca2e3f0f5..21fd2023053e 100644
--- a/configs/stm32mp25_defconfig
+++ b/configs/stm32mp25_defconfig
@@ -95,8 +95,11 @@  CONFIG_DM_SPI=y
 CONFIG_STM32_OSPI=y
 # CONFIG_OPTEE_TA_AVB is not set
 CONFIG_VIDEO=y
+CONFIG_BACKLIGHT_GPIO=y
 CONFIG_VIDEO_STM32=y
 CONFIG_VIDEO_STM32_LVDS=y
+CONFIG_VIDEO_STM32_MAX_XRES=1920
+CONFIG_VIDEO_STM32_MAX_YRES=1080
 CONFIG_WDT=y
 CONFIG_WDT_STM32MP=y
 CONFIG_WDT_ARM_SMC=y