tests: dma_loopback: Intel ADSP ACE15 disable PM
Disable power management for this particular test case as it expects a particular pattern of pm get/puts that isn't matched by the driver and usage in SoF. Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
This commit is contained in:
parent
63d9c8fa06
commit
f0326f7249
3 changed files with 10 additions and 4 deletions
|
|
@ -320,6 +320,7 @@ static int intel_adsp_gpdma_enable(const struct device *dev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_PM_DEVICE
|
||||
static int intel_adsp_gpdma_disable(const struct device *dev)
|
||||
{
|
||||
const struct intel_adsp_gpdma_cfg *const dev_cfg = dev->config;
|
||||
|
|
@ -328,7 +329,8 @@ static int intel_adsp_gpdma_disable(const struct device *dev)
|
|||
sys_write32(sys_read32(reg) & ~SHIM_CLKCTL_LPGPDMA_SPA, reg);
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
#endif /* CONFIG_PM_DEVICE */
|
||||
#endif /* CONFIG_SOC_SERIES_INTEL_ACE */
|
||||
|
||||
static int intel_adsp_gpdma_power_on(const struct device *dev)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ struct pg_bits {
|
|||
uint32_t CPA_bit;
|
||||
};
|
||||
|
||||
#ifdef CONFIG_PM_DEVICE
|
||||
static int pd_intel_adsp_set_power_enable(struct pg_bits *bits, bool power_enable)
|
||||
{
|
||||
uint16_t SPA_bit_mask = BIT(bits->SPA_bit);
|
||||
|
|
@ -65,6 +66,8 @@ static int pd_intel_adsp_pm_action(const struct device *dev, enum pm_device_acti
|
|||
|
||||
return ret;
|
||||
}
|
||||
#endif /* CONFIG_PM_DEVICE */
|
||||
|
||||
static int pd_intel_adsp_init(const struct device *dev)
|
||||
{
|
||||
pm_device_init_suspended(dev);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
CONFIG_PM_DEVICE=y
|
||||
CONFIG_PM_DEVICE_RUNTIME=y
|
||||
CONFIG_PM_DEVICE_POWER_DOMAIN=y
|
||||
CONFIG_PM=n
|
||||
CONFIG_PM_DEVICE=n
|
||||
CONFIG_PM_DEVICE_RUNTIME=n
|
||||
CONFIG_PM_DEVICE_POWER_DOMAIN=n
|
||||
CONFIG_POWER_DOMAIN=y
|
||||
CONFIG_POWER_DOMAIN_INTEL_ADSP=y
|
||||
|
|
|
|||
Loading…
Reference in a new issue