U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
To: Tom Rini <trini@konsulko.com>,
	Kamil Lulko <kamil.lulko@gmail.com>,
	Patrice Chotard <patrice.chotard@foss.st.com>,
	Dillon Min <dillon.minfei@gmail.com>,
	Patrick Delaunay <patrick.delaunay@foss.st.com>,
	Anatolij Gustschin <ag.dev.uboot@gmail.com>,
	Simon Glass <sjg@chromium.org>,
	Sumit Garg <sumit.garg@kernel.org>,
	Philippe Cornu <philippe.cornu@foss.st.com>,
	Yannick Fertre <yannick.fertre@foss.st.com>
Cc: <u-boot@lists.denx.de>, <uboot-stm32@st-md-mailman.stormreply.com>
Subject: [PATCH v3 0/7] Add display support for STM32MP25
Date: Thu, 4 Sep 2025 14:53:04 +0200	[thread overview]
Message-ID: <20250904-master-v3-0-b42847884974@foss.st.com> (raw)

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


             reply	other threads:[~2025-09-04 12:53 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-04 12:53 Raphael Gallais-Pou [this message]
2025-09-04 12:53 ` [PATCH v3 1/7] ofnode: support panel-timings in ofnode_decode_display_timing Raphael Gallais-Pou
2025-10-30  7:35   ` Yannick FERTRE
2025-11-01  9:03   ` Simon Glass
2025-11-02  1:09     ` [Uboot-stm32] " Raphaël Gallais-Pou
2025-11-02 19:53       ` Simon Glass
2025-11-03 14:17         ` Tom Rini
2025-11-04 14:01           ` Raphael Gallais-Pou
2025-11-04 16:21             ` Tom Rini
2025-11-14 16:48               ` Patrice CHOTARD
2025-11-04 16:31           ` Simon Glass
2025-11-04 16:55             ` Tom Rini
2025-11-07 12:23               ` Simon Glass
2025-09-04 12:53 ` [PATCH v3 2/7] video: simple_panel: add support for "panel-lvds" display Raphael Gallais-Pou
2025-10-30  7:41   ` Yannick FERTRE
2025-11-14 16:48   ` Patrice CHOTARD
2025-09-04 12:53 ` [PATCH v3 3/7] video: stm32: STM32 driver support for LVDS Raphael Gallais-Pou
2025-10-30  7:42   ` Yannick FERTRE
2025-11-14 16:48     ` Patrice CHOTARD
2025-09-04 12:53 ` [PATCH v3 4/7] video: stm32: ltdc: support new hardware version for STM32MP25 SoC Raphael Gallais-Pou
2025-09-12 16:41   ` Patrice CHOTARD
2025-09-15 13:05     ` Raphael Gallais-Pou
2025-09-17 15:10       ` Patrice CHOTARD
2025-10-30  7:43   ` Yannick FERTRE
2025-11-14 16:49     ` Patrice CHOTARD
2025-09-04 12:53 ` [PATCH v3 5/7] video: stm32: ltdc: properly search the first available panel Raphael Gallais-Pou
2025-09-12 16:45   ` Patrice CHOTARD
2025-10-30  7:43   ` Yannick FERTRE
2025-11-14 16:49     ` Patrice CHOTARD
2025-09-04 12:53 ` [PATCH v3 6/7] ARM: dts: stm32: use LTDC and LVDS nodes before relocation in stm32mp25-u-boot Raphael Gallais-Pou
2025-09-12 16:45   ` Patrice CHOTARD
2025-10-30  7:43   ` Yannick FERTRE
2025-11-14 16:49     ` Patrice CHOTARD
2025-11-14 16:54       ` Patrice CHOTARD
2025-11-14 17:30         ` [Uboot-stm32] " Patrice CHOTARD
2025-09-04 12:53 ` [PATCH v3 7/7] configs: stm32mp25: enable LVDS display support Raphael Gallais-Pou
2025-09-12 16:46   ` Patrice CHOTARD
2025-10-30  7:44   ` Yannick FERTRE
2025-11-14 16:48   ` Patrice CHOTARD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250904-master-v3-0-b42847884974@foss.st.com \
    --to=raphael.gallais-pou@foss.st.com \
    --cc=ag.dev.uboot@gmail.com \
    --cc=dillon.minfei@gmail.com \
    --cc=kamil.lulko@gmail.com \
    --cc=patrice.chotard@foss.st.com \
    --cc=patrick.delaunay@foss.st.com \
    --cc=philippe.cornu@foss.st.com \
    --cc=sjg@chromium.org \
    --cc=sumit.garg@kernel.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-stm32@st-md-mailman.stormreply.com \
    --cc=yannick.fertre@foss.st.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox