summaryrefslogtreecommitdiff
path: root/src/drivers/soundwire/alc711
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/soundwire/alc711')
-rw-r--r--src/drivers/soundwire/alc711/Kconfig6
-rw-r--r--src/drivers/soundwire/alc711/alc711.c4
2 files changed, 10 insertions, 0 deletions
diff --git a/src/drivers/soundwire/alc711/Kconfig b/src/drivers/soundwire/alc711/Kconfig
index 96ed819d7f..e9ba852d9a 100644
--- a/src/drivers/soundwire/alc711/Kconfig
+++ b/src/drivers/soundwire/alc711/Kconfig
@@ -11,6 +11,12 @@ config DRIVERS_SOUNDWIRE_ALC711
help
SoundWire driver for Realtek ALC711 device
+config DRIVERS_SOUNDWIRE_ALC721
+ bool
+ select DRIVERS_SOUNDWIRE_ALC_BASE_7XX
+ help
+ SoundWire driver for Realtek ALC721 device
+
config DRIVERS_SOUNDWIRE_ALC722
bool
select DRIVERS_SOUNDWIRE_ALC_BASE_7XX
diff --git a/src/drivers/soundwire/alc711/alc711.c b/src/drivers/soundwire/alc711/alc711.c
index 5384f606f5..1a31f0d4e0 100644
--- a/src/drivers/soundwire/alc711/alc711.c
+++ b/src/drivers/soundwire/alc711/alc711.c
@@ -15,6 +15,10 @@ static struct soundwire_address alc711_address = {
.version = SOUNDWIRE_VERSION_1_2,
.part_id = MIPI_DEV_ID_REALTEK_ALC722,
.class = MIPI_CLASS_SDCA,
+#elif CONFIG(DRIVERS_SOUNDWIRE_ALC721)
+ .version = SOUNDWIRE_VERSION_1_2,
+ .part_id = MIPI_DEV_ID_REALTEK_ALC721,
+ .class = MIPI_CLASS_SDCA,
#elif CONFIG(DRIVERS_SOUNDWIRE_ALC711)
.version = SOUNDWIRE_VERSION_1_1,
.part_id = MIPI_DEV_ID_REALTEK_ALC711,