From ddf70fa033a81f88950c5baa48e20ea965291e02 Mon Sep 17 00:00:00 2001 From: Tomasz Leman Date: Fri, 8 Dec 2023 22:34:38 +0100 Subject: [PATCH] config: ace: enable clock gating This patch enables clock gating in configurations of a ace platforms. With CONFIG_ADSP_IDLE_CLOCK_GATING enabled clock gating is always enabled during WAITI. Signed-off-by: Tomasz Leman --- app/boards/intel_adsp_ace15_mtpm.conf | 1 + app/boards/intel_adsp_ace20_lnl.conf | 1 + 2 files changed, 2 insertions(+) diff --git a/app/boards/intel_adsp_ace15_mtpm.conf b/app/boards/intel_adsp_ace15_mtpm.conf index 7f0938bbdd5b..3b3e15a64f92 100644 --- a/app/boards/intel_adsp_ace15_mtpm.conf +++ b/app/boards/intel_adsp_ace15_mtpm.conf @@ -20,6 +20,7 @@ CONFIG_POWER_DOMAIN=y CONFIG_POWER_DOMAIN_INTEL_ADSP=y CONFIG_ADSP_IMR_CONTEXT_SAVE=y +CONFIG_ADSP_IDLE_CLOCK_GATING=y # enable Zephyr drivers CONFIG_ZEPHYR_NATIVE_DRIVERS=y diff --git a/app/boards/intel_adsp_ace20_lnl.conf b/app/boards/intel_adsp_ace20_lnl.conf index 99016e3a539c..2b6eb0af5a76 100644 --- a/app/boards/intel_adsp_ace20_lnl.conf +++ b/app/boards/intel_adsp_ace20_lnl.conf @@ -13,6 +13,7 @@ CONFIG_PM_DEVICE_RUNTIME_EXCLUSIVE=n CONFIG_PM_DEVICE_POWER_DOMAIN=y CONFIG_PM_POLICY_CUSTOM=y CONFIG_ADSP_IMR_CONTEXT_SAVE=y +CONFIG_ADSP_IDLE_CLOCK_GATING=y CONFIG_POWER_DOMAIN=y CONFIG_POWER_DOMAIN_INTEL_ADSP=y