Skip to contentSkip to conversation

arm64: tegra: Mark architected timer as always on

PATCH New Thierry Reding 1 participant 2 messages Jun 14, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 arm64: tegra: Mark architected timer as always on

From: Thierry Reding <[email protected]>

The architected timer on Tegra186 and Tegra194 is in an always on power partition and its reference clock will always run, so mark the timer as always on.

---
 arch/arm64/boot/dts/nvidia/tegra186.dtsi | 1 +
 arch/arm64/boot/dts/nvidia/tegra194.dtsi | 1 +
 2 files changed, 2 insertions(+)
arch/arm64/boot/dts/nvidia/tegra186.dtsi +1 -0
index 0f4eacaf5b77..3c811943e700 100644
@@ -1360,5 +1360,6 @@
 			     <GIC_PPI 10
 				(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
 		interrupt-parent = <&gic>;
+		always-on;
 	};
 };
arch/arm64/boot/dts/nvidia/tegra194.dtsi +1 -0
index c77ca211fa8f..a2528312db5f 100644
@@ -1053,5 +1053,6 @@
 			     <GIC_PPI 10
 				(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
 		interrupt-parent = <&gic>;
+		always-on;
 	};
 };
Signature · 1 line
2.21.0
#1 lore raw

PATCH 2/2 arm64: tegra: Don't use architected timer for suspend on Tegra210

From: Thierry Reding <[email protected]>

Due to an integration issue the architected timer on Tegra210 does not remain on during system suspend (a.k.a. SC7). Mark it accordingly so that it isn't considered as a means to track suspend time.

---
 arch/arm64/boot/dts/nvidia/tegra210.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/nvidia/tegra210.dtsi +1 -0
index 58ca520d5230..96027572ac12 100644
@@ -1435,6 +1435,7 @@
 			     <GIC_PPI 10
 				(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
 		interrupt-parent = <&gic>;
+		arm,no-tick-in-suspend;
 	};
 
 	soctherm: thermal-sensor@700e2000 {
Signature · 1 line
2.21.0