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

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

Commit Message

Dario Binacchi Nov. 13, 2026, 5:25 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>
---

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

-- 
2.43.0
  

Comments

Yannick FERTRE Nov. 27, 2026, 10:34 a.m. UTC | #1
Hi Dario,

Please don't the resolution to 1024x600. The display controller supports 
1920x1080.

This resolution is used by others boards & this config is common to all 
MP25 board.


On 11/13/26 18:25, Dario Binacchi wrote:
> 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>
> ---
>
>   configs/stm32mp25_defconfig | 3 +++
>   1 file changed, 3 insertions(+)
>
> 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
  

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