* [PATCH v2] arm64: dts: rockchip: Enable HDMI on armsom-sige7
@ 2025-01-15 2:33 Jianfeng Liu
2025-02-03 8:16 ` Heiko Stuebner
0 siblings, 1 reply; 2+ messages in thread
From: Jianfeng Liu @ 2025-01-15 2:33 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 HDMI on ArmSoM Sige7.
Signed-off-by: Jianfeng Liu <liujianfeng1994@gmail.com>
---
Changes in v2:
- Only send patch for armsom sige7, and I will send patch for armsom w3
when hdmi1 support is landed.
- Change HDMI0 to HDMI in commit msg because the board only has one hdmi
port.
https://lore.kernel.org/all/20241111165026.60805-1-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] 2+ messages in thread* Re: [PATCH v2] arm64: dts: rockchip: Enable HDMI on armsom-sige7
2025-01-15 2:33 [PATCH v2] arm64: dts: rockchip: Enable HDMI on armsom-sige7 Jianfeng Liu
@ 2025-02-03 8:16 ` Heiko Stuebner
0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stuebner @ 2025-02-03 8:16 UTC (permalink / raw)
To: linux-rockchip, Jianfeng Liu
Cc: Heiko Stuebner, Conor Dooley, Krzysztof Kozlowski, Rob Herring,
Stephen Rothwell, devicetree, linux-arm-kernel, linux-kernel
On Wed, 15 Jan 2025 10:33:21 +0800, Jianfeng Liu wrote:
> Add the necessary DT changes to enable HDMI on ArmSoM Sige7.
>
>
Applied, thanks!
[1/1] arm64: dts: rockchip: Enable HDMI on armsom-sige7
commit: 1a6a05d15195f74596d5209b4fd8b781a33b7fbe
Best regards,
--
Heiko Stuebner <heiko@sntech.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-02-03 8:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-15 2:33 [PATCH v2] arm64: dts: rockchip: Enable HDMI on armsom-sige7 Jianfeng Liu
2025-02-03 8:16 ` 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®