Enable the display of the STM32MP257F-EV1
v3 cover Enable the display of the STM32MP257F-EV1
This series enables the LVDS panel of the STM32MP257F-EV1 and shows the STMicroelectronics logo as splash screen on the STM32MP25 boards, as already done on the STM32MP15 ones.
Tested on the STM32MP257F-EV1.
Changes in v3:
- Set the maximum framebuffer resolution to 1920x1080
- Add Reviewed-by tag
Changes in v2:
- Drop the redundant MAINTAINERS entry
Dario Binacchi (2):
configs: stm32mp25: enable the LVDS panel of the STM32MP257F-EV1
board: stm32mp25: add splash screen with stmicroelectronics logo
configs/stm32mp25_defconfig | 10 ++++++++++ include/configs/stm32mp25_st_common.h | 4 +++- tools/logos/stm32mp2.bmp | Bin 0 -> 7802 bytes 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 tools/logos/stm32mp2.bmp
---
base-commit: 9d67454e920b3908529c9fc642a8c911db040896
branch: stm32mp2-splash-screen
Signature · 1 line
2.43.0
PATCH v3 1/2 configs: stm32mp25: enable the LVDS panel of the STM32MP257F-EV1
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.
---
Changes in v3:
- Set the maximum framebuffer resolution to 1920x1080
configs/stm32mp25_defconfig | 3 +++ 1 file changed, 3 insertions(+)
configs/stm32mp25_defconfig +3 -0
@@ -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
Signature · 1 line
2.43.0
Re: [PATCH v3 1/2] configs: stm32mp25: enable the LVDS panel of the STM32MP257F-EV1
Quoted 24 lines · Dario Binacchi
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 <[email protected]>---
Changes in v3:
- Set the maximum framebuffer resolution to 1920x1080configs/stm32mp25_defconfig | 3 +++ 1 file changed, 3 insertions(+)configs/stm32mp25_defconfig +0
-0@@ -95,8 +95,11 @@ CONFIG_DM_SPI=y CONFIG_STM32_OSPI=y
configs/stm32mp25_defconfig CONFIG_DM_SPI=y · line 105
Quoted 10 lines
configs/stm32mp25_defconfig +3
-0# 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
Hi Dario
Thanks
Patrice
PATCH v3 2/2 board: stm32mp25: add splash screen with stmicroelectronics logo
In reply to Dario BinacchiDisplay the STMicroelectronics logo with features VIDEO_LOGO and SPLASH_SCREEN on STM32MP25 boards.
---
Changes in v3:
- Add Reviewed-by tag
Changes in v2:
- Drop the redundant MAINTAINERS entry
configs/stm32mp25_defconfig | 7 +++++++ include/configs/stm32mp25_st_common.h | 4 +++- tools/logos/stm32mp2.bmp | Bin 0 -> 7802 bytes 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 tools/logos/stm32mp2.bmp
configs/stm32mp25_defconfig +7 -0
@@ -35,6 +35,7 @@ CONFIG_CMD_PWM=y # CONFIG_CMD_LOADB is not set CONFIG_CMD_MMC=y CONFIG_CMD_MTD=y +CONFIG_CMD_BMP=y CONFIG_CMD_CACHE=y CONFIG_CMD_TIME=y CONFIG_CMD_RNG=y
@@ -95,11 +96,17 @@ CONFIG_DM_SPI=y CONFIG_STM32_OSPI=y # CONFIG_OPTEE_TA_AVB is not set CONFIG_VIDEO=y +CONFIG_VIDEO_LOGO=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_SPLASH_SCREEN=y +CONFIG_SPLASH_SCREEN_ALIGN=y +CONFIG_BMP_16BPP=y +CONFIG_BMP_24BPP=y +CONFIG_BMP_32BPP=y CONFIG_WDT=y CONFIG_WDT_STM32MP=y CONFIG_WDT_ARM_SMC=y
include/configs/stm32mp25_st_common.h +3 -1
@@ -25,7 +25,9 @@#define STM32MP_BOARD_EXTRA_ENV \ ST_STM32MP25_FWU_ENV \ "usb_pgood_delay=2000\0" \ - "console=ttySTM0\0" + "console=ttySTM0\0" \ + "splashimage=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \ + "splashpos=m,m\0"#include <configs/stm32mp25_common.h>
tools/logos/stm32mp2.bmp new file binary +0 -0
Signature · 1 line
2.43.0