stm32mp1: enable simple framebuffer node for splashscreen
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | Convert CONFIG_LCD_DT_SIMPLEFB to Kconfigcommon/ common/ configs/ +10 more | +19 | 1 reply | |
| 2/7 | common: rename lcd_simplefb.c file to fdt_simplefb.ccommon/ common/ | +1 | 1 reply | |
| 3/7 | common: rename functions lcd_dt_simplefb to fdt_simplefbboard/ common/ include/ | +8 | 1 reply | |
| 4/7 | video: Add video_is_active functiondrivers/ include/ | +21 | 1 reply | |
| 5/7 | common: add fdt_simplefb_enable_and_mem_rsv functioncommon/ include/ | +28 | 1 reply | |
| 6/7 | video: stm32: stm32_ltdc: align framebuffer on 2MBdrivers/ | +4 | 1 reply | |
| 7/7 | board: stm32mp1: enable simple framebuffer node for splashscreenboard/ configs/ configs/ +1 more | +7 | 1 reply |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Matthias Brugger | Patrice Chotard |
|---|---|---|
| 1/7 | R-b | |
| 2/7 | R-b | |
| 3/7 | R-b | |
| 4/7 | R-b | |
| 5/7 | R-b | |
| 6/7 | R-b | |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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