summaryrefslogtreecommitdiff
path: root/ti_config_fragments
diff options
context:
space:
mode:
authorVibhore Vardhan <vibhore@ti.com>2023-02-14 12:03:42 -0600
committerPraneeth Bajjuri <praneeth@ti.com>2023-02-16 15:58:43 -0600
commit2a36ae91d47f06777886242d2932bac941ca77aa (patch)
treeb04dd52bc461b089bc7055790e34f96199005660 /ti_config_fragments
parente2cb4c14c4f45d49273f9de0d5c39c23fc2b14ff (diff)
ti_config_fragments: v8_baseport: Enable CPU Idle
Enables CPU Idle framework and the default Menu governor for CPU idle time management. The framework can be used to customize the CPU idle states through the sysfs interface [1]. This should not impact existing K3 platforms that do not have idle states defined in the DT files. Standby WFI state is considered standard on all ARM platforms [2]. ARM core and cluster level power states other than WFI are currently unexplored on K3 devices. There was no noticeable change in power consumption or memory footprint by enabling this option on AM62x-sk board. [1] https://www.kernel.org/doc/html/latest/admin-guide/pm/cpuidle.html [2] From __initdata in drivers/cpuidle/cpuidle-arm.c Signed-off-by: Vibhore Vardhan <vibhore@ti.com>
Diffstat (limited to 'ti_config_fragments')
-rw-r--r--ti_config_fragments/v8_baseport.cfg7
1 files changed, 7 insertions, 0 deletions
diff --git a/ti_config_fragments/v8_baseport.cfg b/ti_config_fragments/v8_baseport.cfg
index 3bd4cbab64fa..8c302b69bc0d 100644
--- a/ti_config_fragments/v8_baseport.cfg
+++ b/ti_config_fragments/v8_baseport.cfg
@@ -9,6 +9,13 @@ CONFIG_SERIAL_8250_RUNTIME_UARTS=10
# K3 Power config options
CONFIG_PM=y
+# CPU Idle
+CONFIG_CPU_IDLE=y
+
+# ARM CPU Idle Drivers
+CONFIG_ARM_CPUIDLE=y
+CONFIG_ARM_PSCI_CPUIDLE=n
+
# CPU Frequency scaling
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y