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

Patrice CHOTARD patrice.chotard at foss.st.com
Tue Nov 30 14:31:11 CET 2021


Hi Patrick

On 11/15/21 4:32 PM, Patrick Delaunay wrote:
> 
> 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%)
> 

For the series, applied to u-boot-stm32/next
Thanks
Patrice


More information about the U-Boot mailing list