2020-10-30 13:18:27 +00:00
|
|
|
From 8acc36189dcaf4487d8c6ba7445948f39b1d248a Mon Sep 17 00:00:00 2001
|
2020-01-14 16:15:57 +00:00
|
|
|
From: Abhishek Sahu <absahu@codeaurora.org>
|
2020-10-30 13:18:27 +00:00
|
|
|
Date: Fri, 3 Apr 2020 13:40:40 +0200
|
|
|
|
Subject: [PATCH] ARM: dts: qcom: ipq4019: fix high resolution timer
|
2020-01-14 16:15:57 +00:00
|
|
|
|
|
|
|
Cherry-picked from CAF QSDK repo.
|
|
|
|
Original commit message:
|
|
|
|
The kernel is failing in switching the timer for high resolution
|
|
|
|
mode and clock source operates in 10ms resolution. The always-on
|
|
|
|
property needs to be given for timer device tree node to make
|
|
|
|
clock source working in 1ns resolution.
|
|
|
|
|
|
|
|
Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
|
|
|
|
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
|
2020-10-30 13:18:27 +00:00
|
|
|
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
|
|
|
|
Tested-by: Robert Marko <robert.marko@sartura.hr>
|
|
|
|
Cc: Luka Perkov <luka.perkov@sartura.hr>
|
|
|
|
Link: https://lore.kernel.org/r/20200403114040.349787-1-robert.marko@sartura.hr
|
|
|
|
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
|
2020-01-14 16:15:57 +00:00
|
|
|
---
|
|
|
|
arch/arm/boot/dts/qcom-ipq4019.dtsi | 1 +
|
|
|
|
1 file changed, 1 insertion(+)
|
|
|
|
|
|
|
|
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
|
|
|
|
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
|
2020-02-28 20:15:48 +00:00
|
|
|
@@ -166,6 +166,7 @@
|
2020-01-14 16:15:57 +00:00
|
|
|
<1 4 0xf08>,
|
|
|
|
<1 1 0xf08>;
|
|
|
|
clock-frequency = <48000000>;
|
|
|
|
+ always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
soc {
|