summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/drivers/soundwire/alc711/Kconfig6
-rw-r--r--src/drivers/soundwire/alc711/alc711.c4
-rw-r--r--src/include/mipi/ids.h1
3 files changed, 11 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,
diff --git a/src/include/mipi/ids.h b/src/include/mipi/ids.h
index 4e54b62660..a194de1938 100644
--- a/src/include/mipi/ids.h
+++ b/src/include/mipi/ids.h
@@ -21,6 +21,7 @@
#define MIPI_MFG_ID_REALTEK 0x025d
#define MIPI_DEV_ID_REALTEK_ALC5682 0x5682
#define MIPI_DEV_ID_REALTEK_ALC711 0x0711
+#define MIPI_DEV_ID_REALTEK_ALC721 0x0721
#define MIPI_DEV_ID_REALTEK_ALC722 0x0722
#define MIPI_DEV_ID_REALTEK_ALC1308 0x1308