Skip to contentSkip to conversation

ARM: dts: qcom: ipq4019: fix high resolution timer

PATCH Superseded Christian Lamparter 2 participants 2 messages Jun 15, 2019 – Jun 18, 2019

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: dts: qcom: ipq4019: fix high resolution timer

From: Abhishek Sahu <[email protected]>

Cherry-picked from CAF QSDK repo with Change-Id
I7c00b3c74d97c2a30ac9f05e18b511a0550fd459.

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.

---

v2: fixed subject [Abhishek Sahu is bouncing]

---
 arch/arm/boot/dts/qcom-ipq4019.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/qcom-ipq4019.dtsi +1 -0
index bbcb7db810f7..0e3e79442c50 100644
@@ -169,6 +169,7 @@
 			     <1 4 0xf08>,
 			     <1 1 0xf08>;
 		clock-frequency = <48000000>;
+		always-on;
 	};
 
 	soc {
Signature · 1 line
2.20.1
#1 lore raw
Quoted 3 lines · Christian Lamparter

From: Abhishek Sahu <[email protected]>

Isn't there a spurious newline there?

Quoted 2 lines

Cherry-picked from CAF QSDK repo with Change-Id
I7c00b3c74d97c2a30ac9f05e18b511a0550fd459.

Do we really care about the downstream change-id?
Is this publicly available somewhere?

Quoted 1 line

Original commit message:

Not sure this introduction brings any info.

Quoted 28 lines

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.

---

v2: fixed subject [Abhishek Sahu is bouncing]

---
 arch/arm/boot/dts/qcom-ipq4019.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/qcom-ipq4019.dtsi +1 -0
index bbcb7db810f7..0e3e79442c50 100644
@@ -169,6 +169,7 @@
 			     <1 4 0xf08>,
 			     <1 1 0xf08>;
 		clock-frequency = <48000000>;
+		always-on;
 	};
 
 	soc {