From a9ff12533e97cb34ac6c28132cc08a7cc841effa Mon Sep 17 00:00:00 2001 From: SuperKali Date: Mon, 10 Mar 2025 06:51:37 +0000 Subject: [PATCH] rockchip64-6.14: Enabled HDMI1 video and audio on NanoPC T6/LTS --- ...-board-nanopc-t6-Add-HDMI1-and-Audio.patch | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 patch/kernel/archive/rockchip64-6.14/rk3588-1052-board-nanopc-t6-Add-HDMI1-and-Audio.patch diff --git a/patch/kernel/archive/rockchip64-6.14/rk3588-1052-board-nanopc-t6-Add-HDMI1-and-Audio.patch b/patch/kernel/archive/rockchip64-6.14/rk3588-1052-board-nanopc-t6-Add-HDMI1-and-Audio.patch new file mode 100644 index 000000000..35dc6534a --- /dev/null +++ b/patch/kernel/archive/rockchip64-6.14/rk3588-1052-board-nanopc-t6-Add-HDMI1-and-Audio.patch @@ -0,0 +1,100 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: SuperKali +Date: Sun, 9 Mar 2025 14:41:39 +0000 +Subject: Enable HDMI1 and Audio on NanoPC T6/LTS + +Signed-off-by: SuperKali +--- + arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi | 54 ++++++++++ + 1 file changed, 54 insertions(+) + +diff --git a/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi +index 111111111111..222222222222 100644 +--- a/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi ++++ b/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi +@@ -52,6 +52,17 @@ hdmi0_con_in: endpoint { + }; + }; + ++ hdmi1-con { ++ compatible = "hdmi-connector"; ++ type = "a"; ++ ++ port { ++ hdmi1_con_in: endpoint { ++ remote-endpoint = <&hdmi1_out_con>; ++ }; ++ }; ++ }; ++ + ir-receiver { + compatible = "gpio-ir-receiver"; + gpios = <&gpio0 RK_PD4 GPIO_ACTIVE_LOW>; +@@ -381,10 +392,38 @@ hdmi0_out_con: endpoint { + }; + }; + ++&hdmi0_sound { ++ status = "okay"; ++}; ++ ++&hdmi1 { ++ status = "okay"; ++}; ++ ++&hdmi1_in { ++ hdmi1_in_vp1: endpoint { ++ remote-endpoint = <&vp1_out_hdmi1>; ++ }; ++}; ++ ++&hdmi1_out { ++ hdmi1_out_con: endpoint { ++ remote-endpoint = <&hdmi1_con_in>; ++ }; ++}; ++ ++&hdmi1_sound { ++ status = "okay"; ++}; ++ + &hdptxphy0 { + status = "okay"; + }; + ++&hdptxphy1 { ++ status = "okay"; ++}; ++ + &i2c0 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c0m2_xfer>; +@@ -552,6 +591,14 @@ i2s0_8ch_p0_0: endpoint { + }; + }; + ++&i2s5_8ch { ++ status = "okay"; ++}; ++ ++&i2s6_8ch { ++ status = "okay"; ++}; ++ + &package_thermal { + polling-delay = <1000>; + +@@ -1176,3 +1223,10 @@ vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { + remote-endpoint = <&hdmi0_in_vp0>; + }; + }; ++ ++&vp1 { ++ vp1_out_hdmi1: endpoint@ROCKCHIP_VOP2_EP_HDMI1 { ++ reg = ; ++ remote-endpoint = <&hdmi1_in_vp1>; ++ }; ++}; +-- +Armbian +