Skip to content

Commit 7888618

Browse files
tmlemankv2019i
authored andcommitted
boards: ace: power: disable unused asynchronous runtime PM
This patch removes the `CONFIG_PM_DEVICE_RUNTIME_ASYNC` configuration from the Intel ADSP board files, including ACE15 MTPM, ACE20 LNL, ACE30 PTL, ACE30 WCL ACE40 NVL and ACE40 NVLS. The asynchronous runtime power management feature is not utilized by any device drivers in our project, rendering it unnecessary. By excluding this configuration, we prevent the compilation of dead code related to power management, optimizing the build process and reducing potential overhead. Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
1 parent 4da059e commit 7888618

6 files changed

Lines changed: 6 additions & 0 deletions

app/boards/intel_adsp_ace15_mtpm.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ CONFIG_SYS_CLOCK_TICKS_PER_SEC=12000
7777
CONFIG_ADSP_IDLE_CLOCK_GATING=y
7878
CONFIG_ADSP_IMR_CONTEXT_SAVE=n
7979
CONFIG_PM_PREWAKEUP_CONV_MODE_CEIL=y
80+
CONFIG_PM_DEVICE_RUNTIME_ASYNC=n
8081

8182
# Zephyr / logging
8283
CONFIG_LOG_BACKEND_ADSP=n

app/boards/intel_adsp_ace20_lnl.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ CONFIG_SYS_CLOCK_TICKS_PER_SEC=12000
5656
CONFIG_ADSP_IDLE_CLOCK_GATING=y
5757
CONFIG_ADSP_IMR_CONTEXT_SAVE=y
5858
CONFIG_PM_PREWAKEUP_CONV_MODE_CEIL=y
59+
CONFIG_PM_DEVICE_RUNTIME_ASYNC=n
5960

6061
# Zephyr / logging
6162
CONFIG_LOG_BACKEND_ADSP=n

app/boards/intel_adsp_ace30_ptl.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ CONFIG_SYS_CLOCK_TICKS_PER_SEC=12000
5858
# Zephyr / power settings
5959
CONFIG_ADSP_IMR_CONTEXT_SAVE=y
6060
CONFIG_PM_PREWAKEUP_CONV_MODE_CEIL=y
61+
CONFIG_PM_DEVICE_RUNTIME_ASYNC=n
6162

6263
# Zephyr / logging
6364
CONFIG_LOG_BACKEND_ADSP=n

app/boards/intel_adsp_ace30_wcl.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ CONFIG_SYS_CLOCK_TICKS_PER_SEC=12000
4545
# Zephyr / power settings
4646
CONFIG_ADSP_IMR_CONTEXT_SAVE=y
4747
CONFIG_PM_PREWAKEUP_CONV_MODE_CEIL=y
48+
CONFIG_PM_DEVICE_RUNTIME_ASYNC=n
4849

4950
# Zephyr / logging
5051
CONFIG_LOG_BACKEND_ADSP=n

app/boards/intel_adsp_ace40_nvl.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ CONFIG_ADSP_IMR_CONTEXT_SAVE=y
4242
CONFIG_PM_POLICY_CUSTOM=y
4343
CONFIG_PM_PREWAKEUP_CONV_MODE_CEIL=y
4444
CONFIG_SRAM_RETENTION_MODE=n
45+
CONFIG_PM_DEVICE_RUNTIME_ASYNC=n
4546

4647
# Zephyr / logging
4748
CONFIG_LOG_BACKEND_ADSP=n

app/boards/intel_adsp_ace40_nvls.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ CONFIG_ADSP_IMR_CONTEXT_SAVE=y
4242
CONFIG_PM_POLICY_CUSTOM=y
4343
CONFIG_PM_PREWAKEUP_CONV_MODE_CEIL=y
4444
CONFIG_SRAM_RETENTION_MODE=n
45+
CONFIG_PM_DEVICE_RUNTIME_ASYNC=n
4546

4647
# Zephyr / logging
4748
CONFIG_LOG_BACKEND_ADSP=n

0 commit comments

Comments
 (0)