diff options
author | Vijendar Mukunda <Vijendar.Mukunda@amd.com> | 2021-10-18 16:50:36 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-10-18 21:11:40 +0100 |
commit | 7610174a5bfe6cf34eda8f972311e629ae6dc2d1 (patch) | |
tree | 4d38164f37316ef2bbbc5c0fe9a630b15f59d12a /sound/soc/amd/yc/acp6x.h | |
parent | fc329c1de49825a30d5381e18316a3fd45aac7a9 (diff) |
ASoC: amd: add acp6x pdm platform driver
PDM platform driver binds to the platform device created by
ACP6x PCI device. PDM driver registers ALSA DMA and CPU DAI
components with ASoC framework.
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20211018112044.1705805-6-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd/yc/acp6x.h')
-rw-r--r-- | sound/soc/amd/yc/acp6x.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/amd/yc/acp6x.h b/sound/soc/amd/yc/acp6x.h index 63bdea3188ea..d6b2c70ce9c8 100644 --- a/sound/soc/amd/yc/acp6x.h +++ b/sound/soc/amd/yc/acp6x.h @@ -45,6 +45,11 @@ enum acp_config { ACP_CONFIG_15, }; +struct pdm_dev_data { + void __iomem *acp6x_base; + struct snd_pcm_substream *capture_stream; +}; + static inline u32 acp6x_readl(void __iomem *base_addr) { return readl(base_addr - ACP6x_PHY_BASE_ADDRESS); |