Skip to content

Commit cb8ea62

Browse files
vijendarmukundabroonie
authored andcommitted
ASoC: amd/sdw_utils: add sof based soundwire generic machine driver
Add sof based Soundwire generic driver for amd platforms. Currently support added for ACP6.3 based platforms. Link: thesofproject/linux#5068 Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://patch.msgid.link/20240801111821.18076-11-Vijendar.Mukunda@amd.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent b7cdb4a commit cb8ea62

File tree

4 files changed

+806
-0
lines changed

4 files changed

+806
-0
lines changed

sound/soc/amd/acp/Kconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,24 @@ config SND_SOC_AMD_SOF_MACH
119119
help
120120
This option enables SOF sound card support for ACP audio.
121121

122+
config SND_SOC_AMD_SOF_SDW_MACH
123+
tristate "AMD SOF Soundwire Machine Driver Support"
124+
depends on X86 && PCI && ACPI
125+
depends on SOUNDWIRE
126+
select SND_SOC_SDW_UTILS
127+
select SND_SOC_DMIC
128+
select SND_SOC_RT711_SDW
129+
select SND_SOC_RT711_SDCA_SDW
130+
select SND_SOC_RT1316_SDW
131+
select SND_SOC_RT715_SDW
132+
select SND_SOC_RT715_SDCA_SDW
133+
help
134+
This option enables SOF sound card support for SoundWire enabled
135+
AMD platforms along with ACP PDM controller.
136+
Say Y if you want to enable SoundWire based machine driver support
137+
on AMD platform.
138+
If unsure select "N".
139+
122140
endif # SND_SOC_AMD_ACP_COMMON
123141

124142
config SND_AMD_SOUNDWIRE_ACPI

sound/soc/amd/acp/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ snd-acp-mach-y := acp-mach-common.o
2323
snd-acp-legacy-mach-y := acp-legacy-mach.o acp3x-es83xx/acp3x-es83xx.o
2424
snd-acp-sof-mach-y := acp-sof-mach.o
2525
snd-soc-acpi-amd-match-y := amd-acp63-acpi-match.o
26+
snd-acp-sdw-sof-mach-y += acp-sdw-sof-mach.o
2627

2728
obj-$(CONFIG_SND_SOC_AMD_ACP_PCM) += snd-acp-pcm.o
2829
obj-$(CONFIG_SND_SOC_AMD_ACP_I2S) += snd-acp-i2s.o
@@ -40,3 +41,4 @@ obj-$(CONFIG_SND_SOC_AMD_MACH_COMMON) += snd-acp-mach.o
4041
obj-$(CONFIG_SND_SOC_AMD_LEGACY_MACH) += snd-acp-legacy-mach.o
4142
obj-$(CONFIG_SND_SOC_AMD_SOF_MACH) += snd-acp-sof-mach.o
4243
obj-$(CONFIG_SND_SOC_ACPI_AMD_MATCH) += snd-soc-acpi-amd-match.o
44+
obj-$(CONFIG_SND_SOC_AMD_SOF_SDW_MACH) += snd-acp-sdw-sof-mach.o

0 commit comments

Comments
 (0)