Skip to contentSkip to conversation

arm64: dts: rockchip: Add HDMI support for rock-4d

PATCH Applied Detlev Casanova 2 participants 2 messages Mar 6, 2025 – Mar 8, 2025

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

PATCH v2 1/1 arm64: dts: rockchip: Add HDMI support for rock-4d

Enable HDMI and VOP nodes for the rock-4d board.

---

Changes since v1:
- Remove extra blank line

 .../boot/dts/rockchip/rk3576-rock-4d.dts      | 46 +++++++++++++++++++
 1 file changed, 46 insertions(+)
arch/arm64/boot/dts/rockchip/rk3576-rock-4d.dts +46 -0
index 5dc1c18a3b211..bccd77c3a906f 100644
@@ -26,6 +26,17 @@ chosen {
 		stdout-path = "serial0:1500000n8";
 	};
 
+	hdmi-con {
+		compatible = "hdmi-connector";
+		type = "a";
+
+		port {
+			hdmi_con_in: endpoint {
+				remote-endpoint = <&hdmi_out_con>;
+			};
+		};
+	};
+
 	leds: leds {
 		compatible = "gpio-leds";
 		pinctrl-names = "default";
@@ -238,6 +249,26 @@ &gpu {
 	status = "okay";
 };
 
+&hdmi {
+	status = "okay";
+};
+
+&hdmi_in {
+	hdmi_in_vp0: endpoint {
+		remote-endpoint = <&vp0_out_hdmi>;
+	};
+};
+
+&hdmi_out {
+	hdmi_out_con: endpoint {
+		remote-endpoint = <&hdmi_con_in>;
+	};
+};
+
+&hdptxphy {
+	status = "okay";
+};
+
 &i2c1 {
 	status = "okay";
 
@@ -687,3 +718,18 @@ &usb_drd1_dwc3 {
 	dr_mode = "host";
 	status = "okay";
 };
+
+&vop {
+	status = "okay";
+};
+
+&vop_mmu {
+	status = "okay";
+};
+
+&vp0 {
+	vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
+		reg = <ROCKCHIP_VOP2_EP_HDMI0>;
+		remote-endpoint = <&hdmi_in_vp0>;
+	};
+};
Signature · 1 line
2.48.1
maintainer Applied
#1 lore raw
Quoted 3 lines · Detlev Casanova

Enable HDMI and VOP nodes for the rock-4d board.

Applied, thanks!

[1/1] arm64: dts: rockchip: Add HDMI support for rock-4d

      commit: 4e4f54aaec204a27d51386a9dd0d3a805fea57f4

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>