-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rockchip64-edge: add hdmi1 support to rock5 itx
- Loading branch information
1 parent
f4e44cc
commit a7e2ab0
Showing
1 changed file
with
97 additions
and
0 deletions.
There are no files selected for viewing
97 changes: 97 additions & 0 deletions
97
...hive/rockchip64-6.14/rk3588-1012-arm64-dts-rockchip-add-hdmi1-support-to-ROCK-5-ITX.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Jianfeng Liu <[email protected]> | ||
Date: Sat, 15 Feb 2025 23:10:42 +0800 | ||
Subject: arm64: dts: rockchip: add hdmi1 support to ROCK 5 ITX | ||
|
||
Enable the HDMI port next to ethernet port. | ||
|
||
Signed-off-by: Jianfeng Liu <[email protected]> | ||
--- | ||
arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts | 53 ++++++++++ | ||
1 file changed, 53 insertions(+) | ||
|
||
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts | ||
index 111111111111..222222222222 100644 | ||
--- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts | ||
+++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts | ||
@@ -11,6 +11,7 @@ | ||
#include <dt-bindings/leds/common.h> | ||
#include <dt-bindings/pinctrl/rockchip.h> | ||
#include <dt-bindings/pwm/pwm.h> | ||
+#include <dt-bindings/soc/rockchip,vop2.h> | ||
#include "dt-bindings/usb/pd.h" | ||
#include "rk3588.dtsi" | ||
|
||
@@ -89,6 +90,17 @@ fan0: pwm-fan { | ||
pwms = <&pwm14 0 10000 0>; | ||
}; | ||
|
||
+ hdmi1-con { | ||
+ compatible = "hdmi-connector"; | ||
+ type = "a"; | ||
+ | ||
+ port { | ||
+ hdmi1_con_in: endpoint { | ||
+ remote-endpoint = <&hdmi1_out_con>; | ||
+ }; | ||
+ }; | ||
+ }; | ||
+ | ||
/* M.2 E-KEY */ | ||
sdio_pwrseq: sdio-pwrseq { | ||
compatible = "mmc-pwrseq-simple"; | ||
@@ -261,6 +273,32 @@ &gpu { | ||
status = "okay"; | ||
}; | ||
|
||
+&hdmi1 { | ||
+ pinctrl-0 = <&hdmim0_tx1_cec &hdmim0_tx1_hpd | ||
+ &hdmim1_tx1_scl &hdmim1_tx1_sda>; | ||
+ status = "okay"; | ||
+}; | ||
+ | ||
+&hdmi1_in { | ||
+ hdmi1_in_vp1: endpoint { | ||
+ remote-endpoint = <&vp1_out_hdmi1>; | ||
+ }; | ||
+}; | ||
+ | ||
+&hdmi1_out { | ||
+ hdmi1_out_con: endpoint { | ||
+ remote-endpoint = <&hdmi1_con_in>; | ||
+ }; | ||
+}; | ||
+ | ||
+&hdptxphy0 { | ||
+ status = "okay"; | ||
+}; | ||
+ | ||
+&hdptxphy1 { | ||
+ status = "okay"; | ||
+}; | ||
+ | ||
&i2c0 { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&i2c0m2_xfer>; | ||
@@ -1209,3 +1247,18 @@ &usbdp_phy1 { | ||
rockchip,dp-lane-mux = <2 3>; | ||
status = "okay"; | ||
}; | ||
+ | ||
+&vop { | ||
+ status = "okay"; | ||
+}; | ||
+ | ||
+&vop_mmu { | ||
+ status = "okay"; | ||
+}; | ||
+ | ||
+&vp1 { | ||
+ vp1_out_hdmi1: endpoint@ROCKCHIP_VOP2_EP_HDMI1 { | ||
+ reg = <ROCKCHIP_VOP2_EP_HDMI1>; | ||
+ remote-endpoint = <&hdmi1_in_vp1>; | ||
+ }; | ||
+}; | ||
-- | ||
Armbian | ||
|