cbmk/config/u-boot/default/patches/0005-HACK-rk3399-gru-Remove-assigned-clock-dt-properties-.patch
Alper Nebi Yasak a710f63df3 u-boot: arm64: Rebase to v2025.04
Set the U-Boot revision to the commit hash for v2025.04, and rebase the
patches for the default U-Boot tree to accommodate for upstream changes:

 - The SPL/TPL/VPL phases are being unified under the xPL name, so
   there's a config rename.
 - Some test macros were renamed, for the video-related patches.
 - Add some missing hunks for video damage series.
 - Upstream Makefile adds another argument to the binman call.
 - The SWIG related patch is merged upstream, drop it.

I'm not sure if src/u-boot/* directories are regenerated on new builds,
so it may be necessary to remove them manually after applying this.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
2025-04-30 15:46:32 +01:00

36 lines
1.1 KiB
Diff

From d02163324baeb817ed55df41fac863cab4be038c Mon Sep 17 00:00:00 2001
From: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Date: Wed, 10 Jul 2024 14:32:19 +0300
Subject: [PATCH] HACK: rk3399: gru: Remove assigned clock dt properties for
EDP node
Having the PCLK_EDP clock in the assigned-clocks property of the `edp`
node means that U-Boot tries to set its rate automatically. This clock
isn't implemented for the RK3399 clock driver, so it fails and prevents
display from being initialized.
The display happens to work fine without it, remove the property until
the clock driver can handle the clock.
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
---
arch/arm/dts/rk3399-gru-u-boot.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/dts/rk3399-gru-u-boot.dtsi b/arch/arm/dts/rk3399-gru-u-boot.dtsi
index 5517176aa4a0..9f40cf1e0208 100644
--- a/arch/arm/dts/rk3399-gru-u-boot.dtsi
+++ b/arch/arm/dts/rk3399-gru-u-boot.dtsi
@@ -27,6 +27,9 @@ &cros_ec {
&edp {
rockchip,panel = <&edp_panel>;
+
+ /delete-property/ assigned-clocks;
+ /delete-property/ assigned-clock-rates;
};
&emmc_phy {
--
2.49.0