summaryrefslogtreecommitdiff
path: root/sound/soc/amd/ps/acp63.h
diff options
context:
space:
mode:
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>2023-06-12 12:58:57 +0300
committerMark Brown <broonie@kernel.org>2023-06-21 01:30:27 +0300
commit665dd181a97ff9588060f76887c3b61fd4ccb8b0 (patch)
tree4d9fc00733c0b1ac9f1e9b9199d7342b3a761f25 /sound/soc/amd/ps/acp63.h
parente1cb350610ce88d9995b8b287930d3ba821d9f2b (diff)
downloadlinux-665dd181a97ff9588060f76887c3b61fd4ccb8b0.tar.xz
ASoC: amd: ps: add SoundWire dma driver
SoundWire DMA platform driver binds to the platform device created by ACP PCI device. SoundWire DMA driver registers ALSA DMA component with ASoC framework. Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> Link: https://lore.kernel.org/r/20230612095903.2113464-4-Vijendar.Mukunda@amd.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd/ps/acp63.h')
-rw-r--r--sound/soc/amd/ps/acp63.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/amd/ps/acp63.h b/sound/soc/amd/ps/acp63.h
index 494f498bdc91..c95c57970a27 100644
--- a/sound/soc/amd/ps/acp63.h
+++ b/sound/soc/amd/ps/acp63.h
@@ -137,6 +137,11 @@ struct pdm_dev_data {
struct snd_pcm_substream *capture_stream;
};
+struct sdw_dma_dev_data {
+ void __iomem *acp_base;
+ struct mutex *acp_lock; /* used to protect acp common register access */
+};
+
/**
* struct acp63_dev_data - acp pci driver context
* @acp63_base: acp mmio base