114-02-ARM-dts-qcom-add-krait-cache-compatible-for-ipq806x-.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. From ef124ad0ff8abfbf4ebe3fe6d7dcef4541dec13a Mon Sep 17 00:00:00 2001
  2. From: Christian Marangi <[email protected]>
  3. Date: Thu, 16 Jun 2022 18:39:21 +0200
  4. Subject: [PATCH] ARM: dts: qcom: add krait-cache compatible for ipq806x dtsi
  5. Add qcom,krait-cache compatible to enable cache devfreq driver for
  6. ipq806x SoC and move the L2 node to the soc node to make the devfreq
  7. driver correctly probe.
  8. Signed-off-by: Christian Marangi <[email protected]>
  9. ---
  10. arch/arm/boot/dts/qcom-ipq8064.dtsi | 22 +++++++++++-----------
  11. 1 file changed, 11 insertions(+), 11 deletions(-)
  12. --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
  13. +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
  14. @@ -69,16 +69,6 @@
  15. min-residency-us = <3000>;
  16. };
  17. };
  18. -
  19. - L2: l2-cache {
  20. - compatible = "cache";
  21. - cache-level = <2>;
  22. - qcom,saw = <&saw_l2>;
  23. -
  24. - clocks = <&kraitcc 4>;
  25. - clock-names = "l2";
  26. - operating-points-v2 = <&opp_table_l2>;
  27. - };
  28. };
  29. opp_table_l2: opp_table_l2 {
  30. @@ -1409,6 +1399,16 @@
  31. #reset-cells = <1>;
  32. };
  33. + L2: l2-cache {
  34. + compatible = "cache", "qcom,krait-cache";
  35. + cache-level = <2>;
  36. + qcom,saw = <&saw_l2>;
  37. +
  38. + clocks = <&kraitcc 4>;
  39. + clock-names = "l2";
  40. + operating-points-v2 = <&opp_table_l2>;
  41. + };
  42. +
  43. lpass@28100000 {
  44. compatible = "qcom,lpass-cpu";
  45. status = "disabled";