From 86f410479ca91bd9cb84c5565489efe15bc2f292 Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Sat, 9 Jul 2022 11:00:06 -0600 Subject: [PATCH] mb/system76/oryp5: Reset HDA before configuring The oryp5 has several issues with audio output after a reboot: - The device is not in GNOME sound settings - The device is in GNOME sound settings, but there is no audio output - The speaker output is significantly louder than normal Reset the audio codec to resolve these issues. Tested on Pop!_OS 22.04 with Linux 5.17.15. Change-Id: I42f642820bba82142ff370930f0a25e9d1025588 Signed-off-by: Tim Crawford Reviewed-on: https://review.coreboot.org/c/coreboot/+/65733 Tested-by: build bot (Jenkins) Reviewed-by: Matt DeVillier --- src/mainboard/system76/oryp5/hda_verb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mainboard/system76/oryp5/hda_verb.c b/src/mainboard/system76/oryp5/hda_verb.c index a8e4abbad4..2d107252ad 100644 --- a/src/mainboard/system76/oryp5/hda_verb.c +++ b/src/mainboard/system76/oryp5/hda_verb.c @@ -8,6 +8,7 @@ const u32 cim_verb_data[] = { 0x155896e1, /* Subsystem ID */ 12, /* Number of entries */ AZALIA_SUBVENDOR(0, 0x155896e1), + AZALIA_RESET(1), AZALIA_PIN_CFG(0, 0x12, 0x90a60140), // DMIC AZALIA_PIN_CFG(0, 0x14, 0x0421101f), // FRONT (Port-D) AZALIA_PIN_CFG(0, 0x15, 0x40000000), // SURR (Port-A)