mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] arm64: dts: rockchip: Add HDMI support for rock-4d
@ 2025-03-06 18:06 Detlev Casanova
  2025-03-08 17:32 ` Heiko Stuebner
  0 siblings, 1 reply; 2+ messages in thread
From: Detlev Casanova @ 2025-03-06 18:06 UTC (permalink / raw)
  To: linux-kernel
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
	Detlev Casanova, Alexey Charkov, Andy Yan, Dragan Simic,
	Stephen Chen, devicetree, linux-arm-kernel, linux-rockchip,
	kernel

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

Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
---

Changes since v1:
 - Remove extra blank line

 .../boot/dts/rockchip/rk3576-rock-4d.dts      | 46 +++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3576-rock-4d.dts b/arch/arm64/boot/dts/rockchip/rk3576-rock-4d.dts
index 5dc1c18a3b211..bccd77c3a906f 100644
--- a/arch/arm64/boot/dts/rockchip/rk3576-rock-4d.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3576-rock-4d.dts
@@ -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>;
+	};
+};
-- 
2.48.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] arm64: dts: rockchip: Add HDMI support for rock-4d
  2025-03-06 18:06 [PATCH v2] arm64: dts: rockchip: Add HDMI support for rock-4d Detlev Casanova
@ 2025-03-08 17:32 ` Heiko Stuebner
  0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stuebner @ 2025-03-08 17:32 UTC (permalink / raw)
  To: linux-kernel, Detlev Casanova
  Cc: Heiko Stuebner, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Alexey Charkov, Andy Yan, Dragan Simic, Stephen Chen, devicetree,
	linux-arm-kernel, linux-rockchip, kernel


On Thu, 06 Mar 2025 13:06:31 -0500, Detlev Casanova wrote:
> 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,
-- 
Heiko Stuebner <heiko@sntech.de>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-03-08 17:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-06 18:06 [PATCH v2] arm64: dts: rockchip: Add HDMI support for rock-4d Detlev Casanova
2025-03-08 17:32 ` Heiko Stuebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®