From e7a0bf30809c3e0ba6f978c39ee37e362cf2d2a2 Mon Sep 17 00:00:00 2001 From: Varun Upadhyay Date: Tue, 1 Oct 2024 09:52:56 +0530 Subject: drivers/soundwire: Support Realtek ALC721 codec This change updates SoundWire driver to support ALC721 audio codec based on config flag. reference datasheet: Realtek ALC721-VA0-CG Rev. 0.34 BUG=b:368495490 TEST=This driver was tested on Intel RVP with Add-on ALC721 codec card by testing soundcard binding/devices are detected and check for audio playback. Change-Id: I1022ee91b16374d0d4d07e5198226595d61403a6 Signed-off-by: Varun Upadhyay Signed-off-by: Naveen M Reviewed-on: https://review.coreboot.org/c/coreboot/+/84610 Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik --- src/drivers/soundwire/alc711/alc711.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/drivers/soundwire/alc711/alc711.c') 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, -- cgit v1.2.3