Skip to content

Commit c0bf349

Browse files
vijendarmukundavinodkoul
authored andcommitted
soundwire: amd: enable build for AMD SoundWire manager driver
Enable build for SoundWire manager driver for AMD platforms. Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/lkml/20230220100418.76754-5-Vijendar.Mukunda@amd.com Link: https://lore.kernel.org/r/20230321050901.115439-5-Vijendar.Mukunda@amd.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 2b13596 commit c0bf349

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

drivers/soundwire/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,16 @@ if SOUNDWIRE
1818

1919
comment "SoundWire Devices"
2020

21+
config SOUNDWIRE_AMD
22+
tristate "AMD SoundWire Manager driver"
23+
select SOUNDWIRE_GENERIC_ALLOCATION
24+
depends on ACPI && SND_SOC
25+
help
26+
SoundWire AMD Manager driver.
27+
If you have an AMD platform which has a SoundWire Manager then
28+
enable this config option to get the SoundWire support for that
29+
device.
30+
2131
config SOUNDWIRE_CADENCE
2232
tristate
2333

drivers/soundwire/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ ifdef CONFIG_DEBUG_FS
1515
soundwire-bus-y += debugfs.o
1616
endif
1717

18+
#AMD driver
19+
soundwire-amd-y := amd_manager.o
20+
obj-$(CONFIG_SOUNDWIRE_AMD) += soundwire-amd.o
21+
1822
#Cadence Objs
1923
soundwire-cadence-y := cadence_master.o
2024
obj-$(CONFIG_SOUNDWIRE_CADENCE) += soundwire-cadence.o

0 commit comments

Comments
 (0)