From ed8216d42d3114e34d1bee578b1601c44f8387be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=BBygowski?= Date: Tue, 19 Apr 2022 18:23:41 +0200 Subject: [PATCH] mb/msi/ms7d25: Configure HD Audio MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Apply correct configuration of HD Audio. TEST=Launch ubuntu 20.04 and launch a YouTube video, check if microphone detects an input in the system sound settings. Signed-off-by: Michał Żygowski Change-Id: I6acc22aa58f6cc99df1d48d651122e74fe08ec02 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63723 Reviewed-by: Krystian Hebel Tested-by: build bot (Jenkins) --- src/mainboard/msi/ms7d25/devicetree.cb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/mainboard/msi/ms7d25/devicetree.cb b/src/mainboard/msi/ms7d25/devicetree.cb index 78ad207e82..b2cc6b1a7e 100644 --- a/src/mainboard/msi/ms7d25/devicetree.cb +++ b/src/mainboard/msi/ms7d25/devicetree.cb @@ -217,7 +217,13 @@ chip soc/intel/alderlake "M2_2" "SlotDataBusWidth4X" end device ref p2sb on end - device ref hda on end + device ref hda on + subsystemid 0x1462 0x9d25 + register "pch_hda_dsp_enable" = "0" + register "pch_hda_idisp_link_tmode" = "HDA_TMODE_8T" + register "pch_hda_idisp_link_frequency" = "HDA_LINKFREQ_96MHZ" + register "pch_hda_idisp_codec_enable" = "true" + end device ref smbus on end end end