From 0309021053e608c725a2d0f89f17fe49fe87abc8 Mon Sep 17 00:00:00 2001 From: jurajk Date: Thu, 28 May 2026 22:37:51 +0200 Subject: [PATCH] initial --- fix-display.dts | 17 +++++++++++++++++ fix-wifi.sh | 10 ++++++++++ 2 files changed, 27 insertions(+) create mode 100644 fix-display.dts create mode 100755 fix-wifi.sh diff --git a/fix-display.dts b/fix-display.dts new file mode 100644 index 0000000..9db12b2 --- /dev/null +++ b/fix-display.dts @@ -0,0 +1,17 @@ +/dts-v1/; +/plugin/; + +/ { + compatible = "radxa,rock-5t", "rockchip,rk3588"; + + fragment@0 { + target-path = "/"; + __overlay__ { + /* Target the specific regulator node */ + vcc_lcd_mipi1: vcc-lcd-mipi1 { + regulator-always-on; + regulator-boot-on; + }; + }; + }; +}; diff --git a/fix-wifi.sh b/fix-wifi.sh new file mode 100755 index 0000000..6d88eb4 --- /dev/null +++ b/fix-wifi.sh @@ -0,0 +1,10 @@ +#!/bin/bash +# Wait for the system to settle down and Bluetooth to finish loading +sleep 10 +if [ -d "/sys/bus/pci/drivers/rtw89_8852be" ]; then + echo "0002:21:00.0" > /sys/bus/pci/drivers/rtw89_8852be/unbind + sleep 2 + echo "0002:21:00.0" > /sys/bus/pci/drivers/rtw89_8852be/bind +fi + +