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

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

Commit Message

Dario Binacchi Nov. 14, 2026, 2:59 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 1024x600,
the resolution of the panel, from the default 640x480.

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

(no changes since v1)

 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..02e5efd1f48a 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=1024
+CONFIG_VIDEO_STM32_MAX_YRES=600
 CONFIG_WDT=y
 CONFIG_WDT_STM32MP=y
 CONFIG_WDT_ARM_SMC=y