0004-v5.8-ARM-dts-qcom-ipq4019-fix-high-resolution-timer.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. From 8acc36189dcaf4487d8c6ba7445948f39b1d248a Mon Sep 17 00:00:00 2001
  2. From: Abhishek Sahu <[email protected]>
  3. Date: Fri, 3 Apr 2020 13:40:40 +0200
  4. Subject: [PATCH] ARM: dts: qcom: ipq4019: fix high resolution timer
  5. Cherry-picked from CAF QSDK repo.
  6. Original commit message:
  7. The kernel is failing in switching the timer for high resolution
  8. mode and clock source operates in 10ms resolution. The always-on
  9. property needs to be given for timer device tree node to make
  10. clock source working in 1ns resolution.
  11. Signed-off-by: Abhishek Sahu <[email protected]>
  12. Signed-off-by: Pavel Kubelun <[email protected]>
  13. Signed-off-by: Christian Lamparter <[email protected]>
  14. Tested-by: Robert Marko <[email protected]>
  15. Cc: Luka Perkov <[email protected]>
  16. Link: https://lore.kernel.org/r/[email protected]
  17. Signed-off-by: Bjorn Andersson <[email protected]>
  18. ---
  19. arch/arm/boot/dts/qcom-ipq4019.dtsi | 1 +
  20. 1 file changed, 1 insertion(+)
  21. --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
  22. +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
  23. @@ -166,6 +166,7 @@
  24. <1 4 0xf08>,
  25. <1 1 0xf08>;
  26. clock-frequency = <48000000>;
  27. + always-on;
  28. };
  29. soc {