From 79b35f4e71c9081f586d94a1b801a14da3adcd3e Mon Sep 17 00:00:00 2001 From: amazingfate Date: Sun, 15 Sep 2024 00:55:28 +0800 Subject: [PATCH] rockchip-rk3588: fix hdmi display of armsom-sige7 for edge and current --- ...rockchip-Add-HDMI-support-to-ArmSoM-Sige7.patch | 14 ++++++++++++-- ...rockchip-Add-HDMI-support-to-ArmSoM-Sige7.patch | 14 ++++++++++++-- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/patch/kernel/archive/rockchip-rk3588-6.10/1031-arm64-dts-rockchip-Add-HDMI-support-to-ArmSoM-Sige7.patch b/patch/kernel/archive/rockchip-rk3588-6.10/1031-arm64-dts-rockchip-Add-HDMI-support-to-ArmSoM-Sige7.patch index 8ee172545f55..6eae8e695661 100644 --- a/patch/kernel/archive/rockchip-rk3588-6.10/1031-arm64-dts-rockchip-Add-HDMI-support-to-ArmSoM-Sige7.patch +++ b/patch/kernel/archive/rockchip-rk3588-6.10/1031-arm64-dts-rockchip-Add-HDMI-support-to-ArmSoM-Sige7.patch @@ -19,7 +19,17 @@ index 111111111111..222222222222 100644 #include "rk3588.dtsi" / { -@@ -164,6 +165,20 @@ &gpu { +@@ -159,11 +160,30 @@ &cpu_l3 { + cpu-supply = <&vdd_cpu_lit_s0>; + }; + ++&display_subsystem { ++ clocks = <&hdptxphy_hdmi0>; ++ clock-names = "hdmi0_phy_pll"; ++}; ++ + &gpu { + mali-supply = <&vdd_gpu_s0>; status = "okay"; }; @@ -40,7 +50,7 @@ index 111111111111..222222222222 100644 &i2c0 { pinctrl-names = "default"; pinctrl-0 = <&i2c0m2_xfer>; -@@ -723,3 +738,18 @@ &usb_host1_xhci { +@@ -723,3 +743,18 @@ &usb_host1_xhci { dr_mode = "host"; status = "okay"; }; diff --git a/patch/kernel/archive/rockchip-rk3588-6.11/1031-arm64-dts-rockchip-Add-HDMI-support-to-ArmSoM-Sige7.patch b/patch/kernel/archive/rockchip-rk3588-6.11/1031-arm64-dts-rockchip-Add-HDMI-support-to-ArmSoM-Sige7.patch index 8ee172545f55..6eae8e695661 100644 --- a/patch/kernel/archive/rockchip-rk3588-6.11/1031-arm64-dts-rockchip-Add-HDMI-support-to-ArmSoM-Sige7.patch +++ b/patch/kernel/archive/rockchip-rk3588-6.11/1031-arm64-dts-rockchip-Add-HDMI-support-to-ArmSoM-Sige7.patch @@ -19,7 +19,17 @@ index 111111111111..222222222222 100644 #include "rk3588.dtsi" / { -@@ -164,6 +165,20 @@ &gpu { +@@ -159,11 +160,30 @@ &cpu_l3 { + cpu-supply = <&vdd_cpu_lit_s0>; + }; + ++&display_subsystem { ++ clocks = <&hdptxphy_hdmi0>; ++ clock-names = "hdmi0_phy_pll"; ++}; ++ + &gpu { + mali-supply = <&vdd_gpu_s0>; status = "okay"; }; @@ -40,7 +50,7 @@ index 111111111111..222222222222 100644 &i2c0 { pinctrl-names = "default"; pinctrl-0 = <&i2c0m2_xfer>; -@@ -723,3 +738,18 @@ &usb_host1_xhci { +@@ -723,3 +743,18 @@ &usb_host1_xhci { dr_mode = "host"; status = "okay"; };