arm64: tegra: Mark architected timer as always on
Subsystems (2)
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.
Signed-off-by Thierry Reding <[email protected]>
--- 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
@@ -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
@@ -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
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.
Signed-off-by Thierry Reding <[email protected]>
--- arch/arm64/boot/dts/nvidia/tegra210.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/nvidia/tegra210.dtsi +1 -0
@@ -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