086-ipq40xx-fix-high-resolution-timer.patch 945 B

1234567891011121314151617181920212223242526272829
  1. From 09f145f417a5d64d6b8d4476699dfb0eccc6c784 Mon Sep 17 00:00:00 2001
  2. From: Abhishek Sahu <[email protected]>
  3. Date: Tue, 7 May 2019 10:14:05 +0300
  4. Subject: [PATCH] ipq40xx: 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. Change-Id: I7c00b3c74d97c2a30ac9f05e18b511a0550fd459
  12. Signed-off-by: Abhishek Sahu <[email protected]>
  13. Signed-off-by: Pavel Kubelun <[email protected]>
  14. ---
  15. arch/arm/boot/dts/qcom-ipq4019.dtsi | 1 +
  16. 1 file changed, 1 insertion(+)
  17. --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
  18. +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
  19. @@ -166,6 +166,7 @@
  20. <1 4 0xf08>,
  21. <1 1 0xf08>;
  22. clock-frequency = <48000000>;
  23. + always-on;
  24. };
  25. soc {