[PATCH v3 0/7] Add display support for STM32MP25
Raphael Gallais-Pou
raphael.gallais-pou at foss.st.com
Thu Sep 4 14:53:04 CEST 2025
This series aims to add basic LVDS display support for STM32MP257F-EV1
board.
It introduces:
- the STM32 LVDS Display Interface Transmitter driver.
- a new version of the STM32 LTDC driver.
- the support of "panel-lvds" compatible.
It adds and enables driver support for stm32mp257f-ev1-u-boot
It also brings fixes to the ofnode driver.
This work is based on the Linux device-tree sent recently [1].
[1] https://lore.kernel.org/lkml/20250822-drm-misc-next-v5-0-9c825e28f733@foss.st.com/
Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou at foss.st.com>
---
Changes in v3:
- Add Yannick's trailers where relevant
- Change stm32_lvds license for 'GPL-2.0-or-later OR BSD-3-Clause'
- Link to v2: https://lore.kernel.org/r/20250903-master-v2-0-5cdf73bff42c@foss.st.com
Changes in v2:
- Add Patrice's trailers where relevant.
- Add Yannick and Philippe as reviewers.
- Drop patch [7/8] - "configs: stm32mp25: enable LVDS display support"
- s/cirle/circle in commit log [5/8] - "video: stm32: ltdc: properly search the first available panel"
- Rebase on latest master branch
- Align on latest Linux patchset (which adds a new LTDC compatible)
- stm32_lvds driver:
- Add 'st,stm32mp255-ltdc' compatible following above change
- stm32_lvds driver:
- Gather all registers and fields definitions together
- Uppercase registers on the following pattern: LVDS_<register_name>
- Uppercase register fields on the following pattern:
<reg_name>_<field_name>
- Rename priv struct to 'stm32_lvds_priv' and rename variable for more
explicit context (eg lvds -> priv)
- Create plat struct 'stm32_lvds_plat'
- Add .of_to_plat hook and move related content inside
- Change several function prototypes following above change for more
explicit context and readability.
- Correct 'clkin_khz' error condition
- Link to v1: https://lore.kernel.org/r/20250820-master-v1-0-fc76f18ab2fd@foss.st.com
---
Raphael Gallais-Pou (7):
ofnode: support panel-timings in ofnode_decode_display_timing
video: simple_panel: add support for "panel-lvds" display
video: stm32: STM32 driver support for LVDS
video: stm32: ltdc: support new hardware version for STM32MP25 SoC
video: stm32: ltdc: properly search the first available panel
ARM: dts: stm32: use LTDC and LVDS nodes before relocation in stm32mp25-u-boot
configs: stm32mp25: enable LVDS display support
MAINTAINERS | 1 +
arch/arm/dts/stm32mp25-u-boot.dtsi | 8 +
configs/stm32mp25_defconfig | 3 +
doc/board/st/st-dt.rst | 1 +
drivers/core/ofnode.c | 17 +-
drivers/video/simple_panel.c | 1 +
drivers/video/stm32/Kconfig | 9 +
drivers/video/stm32/Makefile | 1 +
drivers/video/stm32/stm32_ltdc.c | 158 ++++++++-
drivers/video/stm32/stm32_lvds.c | 693 +++++++++++++++++++++++++++++++++++++
10 files changed, 872 insertions(+), 20 deletions(-)
---
base-commit: d367be2b13a388fdb0dc2720f66c30ddcec8a4fd
change-id: 20250813-master-23ce98cadee0
Best regards,
--
Raphael Gallais-Pou <raphael.gallais-pou at foss.st.com>
More information about the U-Boot
mailing list