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-9c825e28f...@foss.st.com/

Signed-off-by: Raphael Gallais-Pou <raphael.gallais-...@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-fc76f18ab...@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-...@foss.st.com>

Reply via email to