From bab3b667cd5a2efc132110ab4bcf5ef2857538c6 Mon Sep 17 00:00:00 2001 From: Joshua Riek Date: Sun, 21 Apr 2024 11:20:51 -0400 Subject: [PATCH 1/2] arm64: dts: opi5+: disable hdmirx On the Orange Pi 5 Plus hdmirx spams system interrupts causing a load average greater than 1.00 --- arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts index b1c31b109cbc9..cae5279bbcca9 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts @@ -320,8 +320,3 @@ assigned-clock-rates = <200000000>; num-cs = <2>; }; -/*** 40 pins ***/ - -&hdmirx_ctrler { - status = "okay"; -}; From 3921e065bcd86edce3bcc51ace3dcd07a372ba20 Mon Sep 17 00:00:00 2001 From: Joshua Riek Date: Sun, 21 Apr 2024 11:32:10 -0400 Subject: [PATCH 2/2] arm64: dts: rockchip: add overlay to enable hdmirx --- arch/arm64/boot/dts/rockchip/overlay/Makefile | 3 ++- .../boot/dts/rockchip/overlay/rk3588-hdmirx.dts | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/rockchip/overlay/rk3588-hdmirx.dts diff --git a/arch/arm64/boot/dts/rockchip/overlay/Makefile b/arch/arm64/boot/dts/rockchip/overlay/Makefile index 1d41690a889d1..ae339766385a0 100644 --- a/arch/arm64/boot/dts/rockchip/overlay/Makefile +++ b/arch/arm64/boot/dts/rockchip/overlay/Makefile @@ -151,7 +151,8 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \ rk3588-uart8-m0-full.dtbo \ rk3588-uart8-m1.dtbo \ rk3588-w1-gpio3-b3.dtbo \ - rk3588-w1-gpio4-b1.dtbo + rk3588-w1-gpio4-b1.dtbo \ + rk3588-hdmirx.dtbo dtbotxt-$(CONFIG_ARCH_ROCKCHIP) += \ diff --git a/arch/arm64/boot/dts/rockchip/overlay/rk3588-hdmirx.dts b/arch/arm64/boot/dts/rockchip/overlay/rk3588-hdmirx.dts new file mode 100644 index 0000000000000..91b3120d309ed --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/overlay/rk3588-hdmirx.dts @@ -0,0 +1,12 @@ +/dts-v1/; +/plugin/; + +/ { + fragment@0 { + target = <&hdmirx_ctrler>; + + __overlay__ { + status = "okay"; + }; + }; +};