Skip to content

Add display support for STM32MP25

Raphael Gallais-Pou u-boot 3 versions – In review

Get series with b4
b4 am [email protected] change-id 20250813-master-23ce98cadee0

Versions newest first

  1. v3 Latest7 patches 31 repliesIn review
  2. v27 patches 8 repliesSuperseded
  3. v18 patches 10 repliesSuperseded

Changes in v3 from the cover letter

- 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/[email protected]

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ofnode: support panel-timings in ofnode_decode_display_timingdrivers/core/ofnode.c+10 -711 replies
2/7video: simple_panel: add support for "panel-lvds" displaydrivers/video/simple_panel.c+1 -02 replies
3/7video: stm32: STM32 driver support for LVDSMAINTAINERS doc/board/st/st-dt.rst drivers/video/stm32/Kconfig +2 more+705 -02 replies
4/7video: stm32: ltdc: support new hardware version for STM32MP25 SoCdrivers/video/stm32/stm32_ltdc.c+20 -25 replies
5/7video: stm32: ltdc: properly search the first available paneldrivers/video/stm32/stm32_ltdc.c+125 -113 replies
6/7ARM: dts: stm32: use LTDC and LVDS nodes before relocation in stm32mp25-u-bootarch/arm/dts/stm32mp25-u-boot.dtsi+8 -05 replies
7/7configs: stm32mp25: enable LVDS display supportconfigs/stm32mp25_defconfig+3 -03 replies

Reviews trailers per patch

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

PatchPatrice ChotardYannick Fertre
1/7R-b R-b R-b
2/7R-b R-b R-b
3/7A-b A-b
4/7R-b R-b A-b A-b
5/7R-b A-b A-b
6/7R-b R-b R-b A-b
7/7R-b R-b R-b A-b

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

Read the v3 thread

Cover letter [PATCH v3 0/7] Add display support for STM32MP25

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/[email protected]/

---
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/[email protected]

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/[email protected]

---
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,

Signature · 1 line
Raphael Gallais-Pou <[email protected]>