Skip to content

stm32mp1: enable simple framebuffer node for splashscreen

Patrick Delaunay u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7Convert CONFIG_LCD_DT_SIMPLEFB to Kconfigcommon/Kconfig common/Makefile configs/rpi_0_w_defconfig +10 more+19 -31 reply
2/7common: rename lcd_simplefb.c file to fdt_simplefb.ccommon/Makefile common/fdt_simplefb.c+1 -11 reply
3/7common: rename functions lcd_dt_simplefb to fdt_simplefbboard/raspberrypi/rpi/rpi.c common/fdt_simplefb.c include/fdt_simplefb.h+8 -81 reply
4/7video: Add video_is_active functiondrivers/video/video-uclass.c include/video.h+21 -01 reply
5/7common: add fdt_simplefb_enable_and_mem_rsv functioncommon/fdt_simplefb.c include/fdt_simplefb.h+28 -01 reply
6/7video: stm32: stm32_ltdc: align framebuffer on 2MBdrivers/video/stm32/stm32_ltdc.c+4 -11 reply
7/7board: stm32mp1: enable simple framebuffer node for splashscreenboard/st/stm32mp1/stm32mp1.c configs/stm32mp15_basic_defconfig configs/stm32mp15_defconfig +1 more+7 -01 reply

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchMatthias BruggerPatrice Chotard
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] stm32mp1: enable simple framebuffer node for splashscreen

Use simple framebuffer node in the Linux kernel device tree to preserved the resources (clock, memory) used by the stm32 video driver to display the splashscreen.

See Linux documentation for details:
Documentation/devicetree/bindings/display/simple-framebuffer.yaml

The 3 first commits of the series are cleanup steps:
migration to Kconfig and rename files and function to fdt_simplefb_ (it seems like a good time time as this function is only used today
in RPI boards)

patch 4 is a preliminary step = add video_is_active function

patch 5 add a new API fdt_simplefb_enable_and_mem_rsv to activate node and add reserved memory for video memory

patch 6 avoid a issue in kernel when the reserved video memory by LTDC driver is not aligned with Linux kernel MMU_SECTION_SIZE

patch 7 use this new function in stm32mp1 code for STMicroelectronics boards when the simple-framebuffer node is present in Linux device tree

Patrick Delaunay (7):
Convert CONFIG_LCD_DT_SIMPLEFB to Kconfig
common: rename lcd_simplefb.c file to fdt_simplefb.c
common: rename functions lcd_dt_simplefb to fdt_simplefb
video: Add video_is_active function
common: add fdt_simplefb_enable_and_mem_rsv function
video: stm32: stm32_ltdc: align framebuffer on 2MB
board: stm32mp1: enable simple framebuffer node for splashscreen

 board/raspberrypi/rpi/rpi.c               |  2 +-
 board/st/stm32mp1/stm32mp1.c              |  4 +++
 common/Kconfig                            |  9 ++++++
 common/Makefile                           |  2 +-
 common/{lcd_simplefb.c => fdt_simplefb.c} | 37 ++++++++++++++++++++---
 configs/rpi_0_w_defconfig                 |  1 +
 configs/rpi_2_defconfig                   |  1 +
 configs/rpi_3_32b_defconfig               |  1 +
 configs/rpi_3_b_plus_defconfig            |  1 +
 configs/rpi_3_defconfig                   |  1 +
 configs/rpi_4_32b_defconfig               |  1 +
 configs/rpi_4_defconfig                   |  1 +
 configs/rpi_arm64_defconfig               |  1 +
 configs/rpi_defconfig                     |  1 +
 configs/stm32mp15_basic_defconfig         |  1 +
 configs/stm32mp15_defconfig               |  1 +
 configs/stm32mp15_trusted_defconfig       |  1 +
 drivers/video/stm32/stm32_ltdc.c          |  5 ++-
 drivers/video/video-uclass.c              | 14 +++++++++
 include/configs/rpi.h                     |  1 -
 include/fdt_simplefb.h                    |  5 +--
 include/video.h                           |  7 +++++
 scripts/config_whitelist.txt              |  1 -
 23 files changed, 87 insertions(+), 12 deletions(-)
 rename common/{lcd_simplefb.c => fdt_simplefb.c} (65%)
Signature · 1 line
2.25.1