Skip to content

Commit

Permalink
config: ace: enable dynamic clock switching
Browse files Browse the repository at this point in the history
Enable the dynamic clock switching feature for Intel ADSP platforms. This
feature allows the DSP to adjust its clock frequency dynamically when all
cores enter the idle state, reducing energy consumption while waiting for
interrupts.

The following Kconfig options are added to MTL and LNL configuration:

- CONFIG_PM_STATE_CUSTOM_DATA: Allows setting custom data pointers for
  specific power states.
- CONFIG_ADSP_DYNAMIC_CLOCK_SWITCHING: Enables dynamic clock switching
  during idle states, dependent on the availability of custom power state
  data.

This change is part of ongoing efforts to enhance power management
capabilities and improve the energy efficiency of these platforms.

Signed-off-by: Tomasz Leman <[email protected]>
  • Loading branch information
tmleman committed Jan 11, 2024
1 parent 83bde8c commit c08a156
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/boards/intel_adsp_ace15_mtpm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ CONFIG_PM_DEVICE_RUNTIME=y
CONFIG_PM_DEVICE_RUNTIME_EXCLUSIVE=n
CONFIG_PM_DEVICE_POWER_DOMAIN=y
CONFIG_PM_POLICY_CUSTOM=y
CONFIG_PM_STATE_CUSTOM_DATA=y
CONFIG_ADSP_DYNAMIC_CLOCK_SWITCHING=y

CONFIG_POWER_DOMAIN=y
CONFIG_POWER_DOMAIN_INTEL_ADSP=y
Expand Down
2 changes: 2 additions & 0 deletions app/boards/intel_adsp_ace20_lnl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ CONFIG_PM_DEVICE_RUNTIME=y
CONFIG_PM_DEVICE_RUNTIME_EXCLUSIVE=n
CONFIG_PM_DEVICE_POWER_DOMAIN=y
CONFIG_PM_POLICY_CUSTOM=y
CONFIG_PM_STATE_CUSTOM_DATA=y
CONFIG_ADSP_DYNAMIC_CLOCK_SWITCHING=y
CONFIG_ADSP_IMR_CONTEXT_SAVE=y
CONFIG_ADSP_IDLE_CLOCK_GATING=y

Expand Down

0 comments on commit c08a156

Please sign in to comment.