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 <tcrawford@system76.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65733
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
This commit is contained in:
Tim Crawford 2022-07-09 11:00:06 -06:00 committed by Martin L Roth
parent 475e2824a8
commit 86f410479c
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ const u32 cim_verb_data[] = {
0x155896e1, /* Subsystem ID */ 0x155896e1, /* Subsystem ID */
12, /* Number of entries */ 12, /* Number of entries */
AZALIA_SUBVENDOR(0, 0x155896e1), AZALIA_SUBVENDOR(0, 0x155896e1),
AZALIA_RESET(1),
AZALIA_PIN_CFG(0, 0x12, 0x90a60140), // DMIC AZALIA_PIN_CFG(0, 0x12, 0x90a60140), // DMIC
AZALIA_PIN_CFG(0, 0x14, 0x0421101f), // FRONT (Port-D) AZALIA_PIN_CFG(0, 0x14, 0x0421101f), // FRONT (Port-D)
AZALIA_PIN_CFG(0, 0x15, 0x40000000), // SURR (Port-A) AZALIA_PIN_CFG(0, 0x15, 0x40000000), // SURR (Port-A)