mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] Enable HDMI0 on ArmSoM boards
@ 2024-11-11 16:50 Jianfeng Liu
  2024-11-11 16:50 ` [PATCH 1/2] arm64: dts: rockchip: Enable HDMI0 on armsom-sige7 Jianfeng Liu
  2024-11-11 16:50 ` [PATCH 2/2] arm64: dts: rockchip: Enable HDMI0 on armsom-w3 Jianfeng Liu
  0 siblings, 2 replies; 3+ messages in thread
From: Jianfeng Liu @ 2024-11-11 16:50 UTC (permalink / raw)
  To: linux-rockchip
  Cc: Jianfeng Liu, Conor Dooley, Heiko Stuebner, Krzysztof Kozlowski,
	Rob Herring, Stephen Rothwell, devicetree, linux-arm-kernel,
	linux-kernel

Since HDMI QP controller driver of rk3588 is merged, we can enable HDMI0
on ArmSoM boards.


Jianfeng Liu (2):
  arm64: dts: rockchip: Enable HDMI0 on armsom-sige7
  arm64: dts: rockchip: Enable HDMI0 on armsom-w3

 .../boot/dts/rockchip/rk3588-armsom-sige7.dts | 47 +++++++++++++++++++
 .../boot/dts/rockchip/rk3588-armsom-w3.dts    | 47 +++++++++++++++++++
 2 files changed, 94 insertions(+)

-- 
2.43.0


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

* [PATCH 1/2] arm64: dts: rockchip: Enable HDMI0 on armsom-sige7
  2024-11-11 16:50 [PATCH 0/2] Enable HDMI0 on ArmSoM boards Jianfeng Liu
@ 2024-11-11 16:50 ` Jianfeng Liu
  2024-11-11 16:50 ` [PATCH 2/2] arm64: dts: rockchip: Enable HDMI0 on armsom-w3 Jianfeng Liu
  1 sibling, 0 replies; 3+ messages in thread
From: Jianfeng Liu @ 2024-11-11 16:50 UTC (permalink / raw)
  To: linux-rockchip
  Cc: Jianfeng Liu, Conor Dooley, Heiko Stuebner, Krzysztof Kozlowski,
	Rob Herring, Stephen Rothwell, devicetree, linux-arm-kernel,
	linux-kernel

Add the necessary DT changes to enable HDMI0 on ArmSoM Sige7.

Signed-off-by: Jianfeng Liu <liujianfeng1994@gmail.com>
---

 .../boot/dts/rockchip/rk3588-armsom-sige7.dts | 47 +++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3588-armsom-sige7.dts b/arch/arm64/boot/dts/rockchip/rk3588-armsom-sige7.dts
index 08f09053a06..b3e9ffe5234 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-armsom-sige7.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-armsom-sige7.dts
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/leds/common.h>
+#include <dt-bindings/soc/rockchip,vop2.h>
 #include "rk3588.dtsi"
 
 / {
@@ -33,6 +34,17 @@ analog-sound {
 			  "Headphone", "Headphones";
 	};
 
+	hdmi0-con {
+		compatible = "hdmi-connector";
+		type = "a";
+
+		port {
+			hdmi0_con_in: endpoint {
+				remote-endpoint = <&hdmi0_out_con>;
+			};
+		};
+	};
+
 	leds {
 		compatible = "gpio-leds";
 		pinctrl-names = "default";
@@ -164,6 +176,26 @@ &gpu {
 	status = "okay";
 };
 
+&hdmi0 {
+	status = "okay";
+};
+
+&hdmi0_in {
+	hdmi0_in_vp0: endpoint {
+		remote-endpoint = <&vp0_out_hdmi0>;
+	};
+};
+
+&hdmi0_out {
+	hdmi0_out_con: endpoint {
+		remote-endpoint = <&hdmi0_con_in>;
+	};
+};
+
+&hdptxphy_hdmi0 {
+	status = "okay";
+};
+
 &i2c0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2c0m2_xfer>;
@@ -723,3 +755,18 @@ &usb_host1_xhci {
 	dr_mode = "host";
 	status = "okay";
 };
+
+&vop_mmu {
+	status = "okay";
+};
+
+&vop {
+	status = "okay";
+};
+
+&vp0 {
+	vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
+		reg = <ROCKCHIP_VOP2_EP_HDMI0>;
+		remote-endpoint = <&hdmi0_in_vp0>;
+	};
+};
-- 
2.43.0


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

* [PATCH 2/2] arm64: dts: rockchip: Enable HDMI0 on armsom-w3
  2024-11-11 16:50 [PATCH 0/2] Enable HDMI0 on ArmSoM boards Jianfeng Liu
  2024-11-11 16:50 ` [PATCH 1/2] arm64: dts: rockchip: Enable HDMI0 on armsom-sige7 Jianfeng Liu
@ 2024-11-11 16:50 ` Jianfeng Liu
  1 sibling, 0 replies; 3+ messages in thread
From: Jianfeng Liu @ 2024-11-11 16:50 UTC (permalink / raw)
  To: linux-rockchip
  Cc: Jianfeng Liu, Conor Dooley, Heiko Stuebner, Krzysztof Kozlowski,
	Rob Herring, Stephen Rothwell, devicetree, linux-arm-kernel,
	linux-kernel

Add the necessary DT changes to enable HDMI0 on ArmSoM W3.

Signed-off-by: Jianfeng Liu <liujianfeng1994@gmail.com>

---

 .../boot/dts/rockchip/rk3588-armsom-w3.dts    | 47 +++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3588-armsom-w3.dts b/arch/arm64/boot/dts/rockchip/rk3588-armsom-w3.dts
index 779cd1b1798..5b5a18c8edf 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-armsom-w3.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-armsom-w3.dts
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/leds/common.h>
+#include <dt-bindings/soc/rockchip,vop2.h>
 #include "rk3588-armsom-lm7.dtsi"
 
 / {
@@ -32,6 +33,17 @@ analog-sound {
 		pinctrl-0 = <&hp_detect>;
 	};
 
+	hdmi0-con {
+		compatible = "hdmi-connector";
+		type = "a";
+
+		port {
+			hdmi0_con_in: endpoint {
+				remote-endpoint = <&hdmi0_out_con>;
+			};
+		};
+	};
+
 	leds {
 		compatible = "gpio-leds";
 		pinctrl-names = "default";
@@ -138,6 +150,26 @@ &combphy2_psu {
 	status = "okay";
 };
 
+&hdmi0 {
+	status = "okay";
+};
+
+&hdmi0_in {
+	hdmi0_in_vp0: endpoint {
+		remote-endpoint = <&vp0_out_hdmi0>;
+	};
+};
+
+&hdmi0_out {
+	hdmi0_out_con: endpoint {
+		remote-endpoint = <&hdmi0_con_in>;
+	};
+};
+
+&hdptxphy_hdmi0 {
+	status = "okay";
+};
+
 &i2c6 {
 	status = "okay";
 
@@ -406,3 +438,18 @@ &usb_host1_xhci {
 &usb_host2_xhci {
 	status = "okay";
 };
+
+&vop_mmu {
+	status = "okay";
+};
+
+&vop {
+	status = "okay";
+};
+
+&vp0 {
+	vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
+		reg = <ROCKCHIP_VOP2_EP_HDMI0>;
+		remote-endpoint = <&hdmi0_in_vp0>;
+	};
+};
-- 
2.43.0


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

end of thread, other threads:[~2024-11-11 16:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-11 16:50 [PATCH 0/2] Enable HDMI0 on ArmSoM boards Jianfeng Liu
2024-11-11 16:50 ` [PATCH 1/2] arm64: dts: rockchip: Enable HDMI0 on armsom-sige7 Jianfeng Liu
2024-11-11 16:50 ` [PATCH 2/2] arm64: dts: rockchip: Enable HDMI0 on armsom-w3 Jianfeng Liu

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®