Skip to contentSkip to conversation

arm64: dts: st: add display overlays for Engicam MicroGEA-STM32MP257D-RMM

PATCH In review Dario Binacchi 2 participants 4 messages Sep 23 – Sep 28

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v2 cover arm64: dts: st: add display overlays for Engicam MicroGEA-STM32MP257D-RMM

The board is produced in variants fitted with different displays. Move the current RGB panel to a device tree overlay and add one for the LVDS variant, so that the board dts describes only what is common and each display gets its own overlay.

Changes in v2:
- Keep the full cs-gpios in the board dts, the overlay only adds the panel node. Suggested by Sashiko.

Dario Binacchi (2):
arm64: dts: st: move Engicam MicroGEA-STM32MP257D-RMM display to an
overlay
arm64: dts: st: add Engicam MicroGEA-STM32MP257D-RMM LVDS display
overlay

 arch/arm64/boot/dts/st/Makefile               | 12 ++++
 ...gea-rmm-overlay-am-1280800w8tzqw-t00h.dtso | 67 ++++++++++++++++++
 ...icrogea-rmm-overlay-rk050hr345-ct106a.dtso | 68 +++++++++++++++++++
 .../st/stm32mp257d-engicam-microgea-rmm.dts   | 48 +------------
 4 files changed, 149 insertions(+), 46 deletions(-)
 create mode 100644 arch/arm64/boot/dts/st/stm32mp257d-engicam-microgea-rmm-overlay-am-1280800w8tzqw-t00h.dtso
 create mode 100644 arch/arm64/boot/dts/st/stm32mp257d-engicam-microgea-rmm-overlay-rk050hr345-ct106a.dtso

---
base-commit: 2f92d900f262a16c8ae02daf53ae2910d07185f5
branch: engicam-rmm-overlays

Signature · 1 line
2.43.0
#1 lore raw

PATCH v2 1/2 arm64: dts: st: move Engicam MicroGEA-STM32MP257D-RMM display to an overlay

The board is fitted with different displays depending on the product variant. Keep in the board dts only what is common to all variants and move the RK050HR345-CT106A RGB panel and its touchscreen to an overlay.

---

Changes in v2:
- Keep the full cs-gpios in the board dts, the overlay only adds the panel node. Suggested by Sashiko.

 arch/arm64/boot/dts/st/Makefile               |  6 ++
 ...icrogea-rmm-overlay-rk050hr345-ct106a.dtso | 68 +++++++++++++++++++
 .../st/stm32mp257d-engicam-microgea-rmm.dts   | 46 +------------
 3 files changed, 75 insertions(+), 45 deletions(-)
 create mode 100644 arch/arm64/boot/dts/st/stm32mp257d-engicam-microgea-rmm-overlay-rk050hr345-ct106a.dtso
arch/arm64/boot/dts/st/Makefile +6 -0
index 6cbccfd50993..218ff7fdf576 100644
@@ -1,7 +1,13 @@
 # SPDX-License-Identifier: GPL-2.0-only
+stm32mp257d-engicam-microgea-rmm-overlay-rk050hr345-ct106a-dtbs := \
+	stm32mp257d-engicam-microgea-rmm.dtb \
+	stm32mp257d-engicam-microgea-rmm-overlay-rk050hr345-ct106a.dtbo
+
 dtb-$(CONFIG_ARCH_STM32) += \
 	stm32mp215f-dk.dtb \
 	stm32mp235f-dk.dtb \
 	stm32mp257d-engicam-microgea-rmm.dtb \
+	stm32mp257d-engicam-microgea-rmm-overlay-rk050hr345-ct106a.dtb \
+	stm32mp257d-engicam-microgea-rmm-overlay-rk050hr345-ct106a.dtbo \
 	stm32mp257f-dk.dtb \
 	stm32mp257f-ev1.dtb
arch/arm64/boot/dts/st/stm32mp257d-engicam-microgea-rmm-overlay-rk050hr345-ct106a.dtso new file +68 -0

68 lines not on this page · raw message

arch/arm64/boot/dts/st/stm32mp257d-engicam-microgea-rmm.dts +1 -45

66 lines not on this page · raw message

Signature · 1 line
2.43.0
#2 lore raw

PATCH v2 2/2 arm64: dts: st: add Engicam MicroGEA-STM32MP257D-RMM LVDS display overlay

In reply to Dario Binacchi

Add an overlay for the variant fitted with the AM-1280800W8TZQW-T00H 10.1" 1280x800 LVDS panel. Its touchscreen is connected over USB, so there is no touchscreen node.

---

(no changes since v1)

 arch/arm64/boot/dts/st/Makefile               |  6 ++
 ...gea-rmm-overlay-am-1280800w8tzqw-t00h.dtso | 67 +++++++++++++++++++
 .../st/stm32mp257d-engicam-microgea-rmm.dts   |  2 +-
 3 files changed, 74 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm64/boot/dts/st/stm32mp257d-engicam-microgea-rmm-overlay-am-1280800w8tzqw-t00h.dtso
arch/arm64/boot/dts/st/Makefile +6 -0
index 218ff7fdf576..7f657d2bd629 100644
@@ -1,4 +1,8 @@
 # SPDX-License-Identifier: GPL-2.0-only
+stm32mp257d-engicam-microgea-rmm-overlay-am-1280800w8tzqw-t00h-dtbs := \
+	stm32mp257d-engicam-microgea-rmm.dtb \
+	stm32mp257d-engicam-microgea-rmm-overlay-am-1280800w8tzqw-t00h.dtbo
+
 stm32mp257d-engicam-microgea-rmm-overlay-rk050hr345-ct106a-dtbs := \
 	stm32mp257d-engicam-microgea-rmm.dtb \
 	stm32mp257d-engicam-microgea-rmm-overlay-rk050hr345-ct106a.dtbo
@@ -7,6 +11,8 @@ dtb-$(CONFIG_ARCH_STM32) += \
 	stm32mp215f-dk.dtb \
 	stm32mp235f-dk.dtb \
 	stm32mp257d-engicam-microgea-rmm.dtb \
+	stm32mp257d-engicam-microgea-rmm-overlay-am-1280800w8tzqw-t00h.dtb \
+	stm32mp257d-engicam-microgea-rmm-overlay-am-1280800w8tzqw-t00h.dtbo \
 	stm32mp257d-engicam-microgea-rmm-overlay-rk050hr345-ct106a.dtb \
 	stm32mp257d-engicam-microgea-rmm-overlay-rk050hr345-ct106a.dtbo \
 	stm32mp257f-dk.dtb \
arch/arm64/boot/dts/st/stm32mp257d-engicam-microgea-rmm-overlay-am-1280800w8tzqw-t00h.dtso new file +67 -0

67 lines not on this page · raw message

arch/arm64/boot/dts/st/stm32mp257d-engicam-microgea-rmm.dts +1 -1
index faedddc2c914..96b7cb6b5bc1 100644
@@ -43,7 +43,7 @@ chosen {
 		#size-cells = <2>;
 		ranges;
 
-		framebuffer {
+		framebuffer: framebuffer {
 			compatible = "simple-framebuffer";
 			clocks = <&rcc CK_BUS_LTDC>, <&rcc CK_KER_LTDC>;
 			lcd-supply = <&reg_3v3>;
Signature · 1 line
2.43.0
maintainer
#3 lore raw
In reply to Dario Binacchi

Hi Dario

Quoted 21 lines · Dario Binacchi

The board is produced in variants fitted with different displays. Move the current RGB panel to a device tree overlay and add one for the LVDS variant, so that the board dts describes only what is common and each display gets its own overlay.

Changes in v2:
- Keep the full cs-gpios in the board dts, the overlay only adds the panel node. Suggested by Sashiko.

Dario Binacchi (2):
arm64: dts: st: move Engicam MicroGEA-STM32MP257D-RMM display to an
overlay
arm64: dts: st: add Engicam MicroGEA-STM32MP257D-RMM LVDS display
overlay

  arch/arm64/boot/dts/st/Makefile               | 12 ++++
  ...gea-rmm-overlay-am-1280800w8tzqw-t00h.dtso | 67 ++++++++++++++++++
  ...icrogea-rmm-overlay-rk050hr345-ct106a.dtso | 68 +++++++++++++++++++
  .../st/stm32mp257d-engicam-microgea-rmm.dts   | 48 +------------
  4 files changed, 149 insertions(+), 46 deletions(-)
Quoted 7 lines

create mode 100644 arch/arm64/boot/dts/st/stm32mp257d-engicam-microgea-rmm-overlay-am-1280800w8tzqw-t00h.dtso create mode 100644 arch/arm64/boot/dts/st/stm32mp257d-engicam-microgea-rmm-overlay-rk050hr345-ct106a.dtso

---
base-commit: 2f92d900f262a16c8ae02daf53ae2910d07185f5
branch: engicam-rmm-overlays

Applied on stm32-next.

Regards
Alex