From 6602a4462ba93f6ca019a763325b2ee5fbf04fd2 Mon Sep 17 00:00:00 2001 From: Nick Vaccaro Date: Mon, 19 May 2025 14:03:51 -0700 Subject: [PATCH] mb/google/ocelot/var/ocelot: Enable hda device for AUDIO_ALC721_SNDW. BUG=b:412736286 BRANCH=None TEST=`emerge-ocelot coreboot` and verify it compiles without error. Change-Id: I0c3d2c30af8839540a7c6d53dc11c83782b92d25 Signed-off-by: Nick Vaccaro Reviewed-on: https://review.coreboot.org/c/coreboot/+/87751 Reviewed-by: Pranava Y N Reviewed-by: Subrata Banik Tested-by: build bot (Jenkins) --- .../ocelot/variants/ocelot/overridetree.cb | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/mainboard/google/ocelot/variants/ocelot/overridetree.cb b/src/mainboard/google/ocelot/variants/ocelot/overridetree.cb index c4341c2a27..f80ac8973a 100644 --- a/src/mainboard/google/ocelot/variants/ocelot/overridetree.cb +++ b/src/mainboard/google/ocelot/variants/ocelot/overridetree.cb @@ -618,6 +618,21 @@ chip soc/intel/pantherlake end device ref smbus on end - device ref hda off end + device ref hda on + chip drivers/intel/soundwire + device generic 0 on + chip drivers/soundwire/alc711 + register "desc" = ""Headset Codec"" + register "alc711_address.version" = "SOUNDWIRE_VERSION_1_2" + register "alc711_address.class" = "MIPI_CLASS_SDCA" + register "alc711_address.part_id" = "MIPI_DEV_ID_REALTEK_ALC721" + # SoundWire Link 3 ID 1 + device generic 3.1 on + probe AUDIO AUDIO_ALC721_SNDW + end + end + end + end + end end end