0012-v6.2-arm64-dts-qcom-ipq8074-pass-XO-and-sleep-clocks-to-G.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. From 9033c3c86ea0dd35bd2ab957317573b755967298 Mon Sep 17 00:00:00 2001
  2. From: Robert Marko <[email protected]>
  3. Date: Sun, 30 Oct 2022 18:57:03 +0100
  4. Subject: [PATCH] arm64: dts: qcom: ipq8074: pass XO and sleep clocks to GCC
  5. Pass XO and sleep clocks to the GCC controller so it does not have to
  6. find them by matching globaly by name.
  7. If not passed directly, driver maintains backwards compatibility by then
  8. falling back to global lookup.
  9. Since we are here, set cell numbers in decimal instead of hex.
  10. Signed-off-by: Robert Marko <[email protected]>
  11. Signed-off-by: Bjorn Andersson <[email protected]>
  12. Link: https://lore.kernel.org/r/[email protected]
  13. ---
  14. arch/arm64/boot/dts/qcom/ipq8074.dtsi | 6 ++++--
  15. 1 file changed, 4 insertions(+), 2 deletions(-)
  16. --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
  17. +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
  18. @@ -361,9 +361,11 @@
  19. gcc: gcc@1800000 {
  20. compatible = "qcom,gcc-ipq8074";
  21. reg = <0x01800000 0x80000>;
  22. - #clock-cells = <0x1>;
  23. + clocks = <&xo>, <&sleep_clk>;
  24. + clock-names = "xo", "sleep_clk";
  25. + #clock-cells = <1>;
  26. #power-domain-cells = <1>;
  27. - #reset-cells = <0x1>;
  28. + #reset-cells = <1>;
  29. };
  30. tcsr_mutex: hwlock@1905000 {