mirror of https://github.com/OpenIPC/firmware.git
37 lines
1.2 KiB
Diff
37 lines
1.2 KiB
Diff
diff -drupN a/drivers/cpuidle/Kconfig.arm b/drivers/cpuidle/Kconfig.arm
|
|
--- a/drivers/cpuidle/Kconfig.arm 2018-08-06 17:23:04.000000000 +0300
|
|
+++ b/drivers/cpuidle/Kconfig.arm 2022-06-12 05:28:14.000000000 +0300
|
|
@@ -4,6 +4,7 @@
|
|
config ARM_CPUIDLE
|
|
bool "Generic ARM/ARM64 CPU idle Driver"
|
|
select DT_IDLE_STATES
|
|
+ select CPU_IDLE_MULTIPLE_DRIVERS
|
|
help
|
|
Select this to enable generic cpuidle driver for ARM.
|
|
It provides a generic idle driver whose idle states are configured
|
|
@@ -74,3 +75,24 @@ config ARM_MVEBU_V7_CPUIDLE
|
|
depends on ARCH_MVEBU && !ARM64
|
|
help
|
|
Select this to enable cpuidle on Armada 370, 38x and XP processors.
|
|
+
|
|
+config SUNXI_CPU0IDLE
|
|
+ bool "Allow CPU0 Enter C1/C2 Idle"
|
|
+ default n
|
|
+ depends on ARCH_SUNXI && ARM_CPUIDLE && !ARM_SUNXI_CPUIDLE
|
|
+ help
|
|
+ Select this to allow CPU0 to enter c1/c2.
|
|
+
|
|
+config ARM_SUNXI_CPUIDLE
|
|
+ bool "Cpu Idle Config for sunxi soc"
|
|
+ default n
|
|
+ depends on ARCH_SUNXI && ARM_CPUIDLE
|
|
+ help
|
|
+ Select this to enable cpuidle for sunxi soc.
|
|
+
|
|
+config ARM_SUNXI_CPUIDLE_TIMESTAMP
|
|
+ bool "Echo entry-latency-us and exit-latency-us when cpuidle"
|
|
+ default n
|
|
+ depends on ARM_SUNXI_CPUIDLE
|
|
+ help
|
|
+ Select this to echo entry-latency and exit-latency when cpuidle.
|