]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ARM: dts: ls1021a-tqmals1021a: Add HDMI overlay
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Tue, 8 Apr 2025 09:30:50 +0000 (11:30 +0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 23 Apr 2025 09:52:21 +0000 (17:52 +0800)
This add an overlay for using the RGB-to-HDMI bridge.
Note: As DDC is directly connected to general I2C bus, there might be I2C
address conflicts. Hence not all displays might work.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/ls/Makefile
arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a-mbls1021a-hdmi.dtso [new file with mode: 0644]

index 14759331dba247af5fa151d509f958f6ab173fc5..225a7665b8ad1807f0f1a83497e7ac404c4f7441 100644 (file)
@@ -6,3 +6,6 @@ dtb-$(CONFIG_SOC_LS1021A) += \
        ls1021a-tqmls1021a-mbls1021a.dtb \
        ls1021a-tsn.dtb \
        ls1021a-twr.dtb
+
+ls1021a-tqmls1021a-mbls1021a-hdmi-dtbs += ls1021a-tqmls1021a-mbls1021a.dtb ls1021a-tqmls1021a-mbls1021a-hdmi.dtbo
+dtb-$(CONFIG_SOC_LS1021A) += ls1021a-tqmls1021a-mbls1021a-hdmi.dtb
diff --git a/arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a-mbls1021a-hdmi.dtso b/arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a-mbls1021a-hdmi.dtso
new file mode 100644 (file)
index 0000000..e713a2e
--- /dev/null
@@ -0,0 +1,32 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+/*
+ * Copyright 2013-2014 Freescale Semiconductor, Inc.
+ * Copyright 2018-2025 TQ-Systems GmbH <linux@ew.tq-group.com>,
+ * D-82229 Seefeld, Germany.
+ * Author: Alexander Stein
+ */
+
+/dts-v1/;
+/plugin/;
+
+&dcu {
+       status = "okay";
+
+       port {
+               dcu_out: endpoint {
+                       remote-endpoint = <&sii9022a_in>;
+               };
+       };
+};
+
+&hdmi_out {
+       status = "okay";
+};
+
+&sii9022a {
+       status = "okay";
+};
+
+&sii9022a_in {
+       remote-endpoint = <&dcu_out>;
+};