]> git.ipfire.org Git - thirdparty/linux.git/commit
soundwire: amd: add soundwire host wake interrupt enable/disable sequence
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Fri, 7 Feb 2025 06:58:41 +0000 (12:28 +0530)
committerVinod Koul <vkoul@kernel.org>
Thu, 13 Feb 2025 16:21:07 +0000 (21:51 +0530)
commit3df75289ddc28b46121d51d2812943b78676497b
treece381550c6e6fe1c1b6d07d00d38bac0f1c1eff1
parent5818ed3636b3c63eddef299223c7369de86eefee
soundwire: amd: add soundwire host wake interrupt enable/disable sequence

For wake event, SoundWire host wake interrupt will be asserted based on
below pre-conditions for ACP7.0 & ACP7.1 platforms.
- ACP device should be in D0 state.
- SoundWire manager instance should be in D3 state.
- SoundWire manager device state should be set to D3.
- ACP_PME_EN should be set to 1.

Implement code changes to enable/disable SoundWire host wake interrupt mask
during suspend and resume as per design flow for ACP7.0 & ACP7.1 platforms.

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20250207065841.4718-7-Vijendar.Mukunda@amd.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/amd_manager.c
drivers/soundwire/amd_manager.h