0005-HACK-rk3399-gru-Remove-assigned-clock-dt-properties-.patch 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. From 9685041c19bcc61ca847a59e93c716d23df51898 Mon Sep 17 00:00:00 2001
  2. From: Alper Nebi Yasak <alpernebiyasak@gmail.com>
  3. Date: Wed, 10 Jul 2024 14:32:19 +0300
  4. Subject: [PATCH] HACK: rk3399: gru: Remove assigned clock dt properties for
  5. EDP node
  6. Having the PCLK_EDP clock in the assigned-clocks property of the `edp`
  7. node means that U-Boot tries to set its rate automatically. This clock
  8. isn't implemented for the RK3399 clock driver, so it fails and prevents
  9. display from being initialized.
  10. The display happens to work fine without it, remove the property until
  11. the clock driver can handle the clock.
  12. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
  13. ---
  14. arch/arm/dts/rk3399-gru-u-boot.dtsi | 3 +++
  15. 1 file changed, 3 insertions(+)
  16. diff --git a/arch/arm/dts/rk3399-gru-u-boot.dtsi b/arch/arm/dts/rk3399-gru-u-boot.dtsi
  17. index 6bdc892bd913..f4457c1b9b48 100644
  18. --- a/arch/arm/dts/rk3399-gru-u-boot.dtsi
  19. +++ b/arch/arm/dts/rk3399-gru-u-boot.dtsi
  20. @@ -27,6 +27,9 @@ &cros_ec {
  21. &edp {
  22. rockchip,panel = <&edp_panel>;
  23. +
  24. + /delete-property/ assigned-clocks;
  25. + /delete-property/ assigned-clock-rates;
  26. };
  27. &pp1800_audio {
  28. --
  29. 2.45.2