]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: exynos: gs101: Add 'local-timer-stop' to cpuidle nodes
authorWill Deacon <willdeacon@google.com>
Wed, 11 Jun 2025 09:34:25 +0000 (10:34 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 18 Jun 2025 10:22:33 +0000 (12:22 +0200)
In preparation for switching to the architected timer as the primary
clockevents device, mark the cpuidle nodes with the 'local-timer-stop'
property to indicate that an alternative clockevents device must be
used for waking up from the "c2" idle state.

Signed-off-by: Will Deacon <willdeacon@google.com>
[Original commit from https://android.googlesource.com/kernel/gs/+/a896fd98638047989513d05556faebd28a62b27c]
Signed-off-by: Will McVicker <willmcvicker@google.com>
Reviewed-by: Youngmin Nam <youngmin.nam@samsung.com>
Tested-by: Youngmin Nam <youngmin.nam@samsung.com>
Fixes: ea89fdf24fd9 ("arm64: dts: exynos: google: Add initial Google gs101 SoC support")
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Reviewed-by: Peter Griffin <peter.griffin@linaro.org>
Tested-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://lore.kernel.org/r/20250611-gs101-cpuidle-v2-1-4fa811ec404d@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm64/boot/dts/exynos/google/gs101.dtsi

index 48c691fd0a3ae430b5d66b402610d23b72b144d7..94aa0ffb9a9760c58818c0417001fd187b048ea8 100644 (file)
                                idle-state-name = "c2";
                                compatible = "arm,idle-state";
                                arm,psci-suspend-param = <0x0010000>;
+                               local-timer-stop;
                                entry-latency-us = <70>;
                                exit-latency-us = <160>;
                                min-residency-us = <2000>;
                                idle-state-name = "c2";
                                compatible = "arm,idle-state";
                                arm,psci-suspend-param = <0x0010000>;
+                               local-timer-stop;
                                entry-latency-us = <150>;
                                exit-latency-us = <190>;
                                min-residency-us = <2500>;
                                idle-state-name = "c2";
                                compatible = "arm,idle-state";
                                arm,psci-suspend-param = <0x0010000>;
+                               local-timer-stop;
                                entry-latency-us = <235>;
                                exit-latency-us = <220>;
                                min-residency-us = <3500>;