From e096f33d5cf6b6669527adb3563c8a6f622e9bc2 Mon Sep 17 00:00:00 2001 From: qbisi Date: Sat, 22 Feb 2025 16:54:59 +0800 Subject: [PATCH] hinlink-h88k: add second hdmi output support --- .../dt/rk3588-hinlink-h88k.dts | 38 +++++++++++++++++++ .../dt/rk3588-hinlink-h88k.dts | 38 +++++++++++++++++++ 2 files changed, 76 insertions(+) diff --git a/patch/kernel/archive/rockchip64-6.12/dt/rk3588-hinlink-h88k.dts b/patch/kernel/archive/rockchip64-6.12/dt/rk3588-hinlink-h88k.dts index bcc820debd09..2e07b85d5640 100644 --- a/patch/kernel/archive/rockchip64-6.12/dt/rk3588-hinlink-h88k.dts +++ b/patch/kernel/archive/rockchip64-6.12/dt/rk3588-hinlink-h88k.dts @@ -103,6 +103,17 @@ }; }; + hdmi1-con { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi1_con_in: endpoint { + remote-endpoint = <&hdmi1_out_con>; + }; + }; + }; + rfkilli-wifi { compatible = "rfkill-gpio"; label = "rfkill-pcie-wlan"; @@ -297,6 +308,26 @@ }; }; +&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>; + }; +}; + +&hdptxphy1 { + status = "okay"; +}; + &hdmi_receiver_cma { status = "okay"; }; @@ -933,3 +964,10 @@ remote-endpoint = <&hdmi0_in_vp0>; }; }; + +&vp1 { + vp1_out_hdmi1: endpoint@ROCKCHIP_VOP2_EP_HDMI1 { + reg = ; + remote-endpoint = <&hdmi1_in_vp1>; + }; +}; \ No newline at end of file diff --git a/patch/kernel/archive/rockchip64-6.13/dt/rk3588-hinlink-h88k.dts b/patch/kernel/archive/rockchip64-6.13/dt/rk3588-hinlink-h88k.dts index bcc820debd09..2e07b85d5640 100644 --- a/patch/kernel/archive/rockchip64-6.13/dt/rk3588-hinlink-h88k.dts +++ b/patch/kernel/archive/rockchip64-6.13/dt/rk3588-hinlink-h88k.dts @@ -103,6 +103,17 @@ }; }; + hdmi1-con { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi1_con_in: endpoint { + remote-endpoint = <&hdmi1_out_con>; + }; + }; + }; + rfkilli-wifi { compatible = "rfkill-gpio"; label = "rfkill-pcie-wlan"; @@ -297,6 +308,26 @@ }; }; +&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>; + }; +}; + +&hdptxphy1 { + status = "okay"; +}; + &hdmi_receiver_cma { status = "okay"; }; @@ -933,3 +964,10 @@ remote-endpoint = <&hdmi0_in_vp0>; }; }; + +&vp1 { + vp1_out_hdmi1: endpoint@ROCKCHIP_VOP2_EP_HDMI1 { + reg = ; + remote-endpoint = <&hdmi1_in_vp1>; + }; +}; \ No newline at end of file