summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTim Crawford <tcrawford@system76.com>2023-07-27 10:57:10 -0600
committerFelix Held <felix-coreboot@felixheld.de>2023-07-31 14:02:49 +0000
commit58a498e25753fa3ea6e101fedd9be6723b5bf101 (patch)
tree049828ea4afb8fa20d03a2c0cf678a8e17337863 /src
parent1c611726d4cfeca38f73c17bf8a90e5b40704bb7 (diff)
mb/system76/adl: Reset Realtek codec before configuring
Perform a codec reset to match all other System76 boards. This applies commit 705ebbea0477 ("mb/system76: Reset Realtek codec before configuring") to boards that were added later. Change-Id: I618cc042f1803d07bfc067d1999e1c44ab4a1fa9 Signed-off-by: Tim Crawford <tcrawford@system76.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76754 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jeremy Soller <jeremy@system76.com> Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/system76/adl/variants/galp6/hda_verb.c3
-rw-r--r--src/mainboard/system76/adl/variants/lemp11/hda_verb.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/mainboard/system76/adl/variants/galp6/hda_verb.c b/src/mainboard/system76/adl/variants/galp6/hda_verb.c
index ff2dc8e333..4f2892570e 100644
--- a/src/mainboard/system76/adl/variants/galp6/hda_verb.c
+++ b/src/mainboard/system76/adl/variants/galp6/hda_verb.c
@@ -6,8 +6,9 @@ const u32 cim_verb_data[] = {
/* Realtek, ALC256 */
0x10ec0256, /* Vendor ID */
0x15584041, /* Subsystem ID */
- 11, /* Number of entries */
+ 12, /* Number of entries */
AZALIA_SUBVENDOR(0, 0x15584041),
+ AZALIA_RESET(1),
AZALIA_PIN_CFG(0, 0x12, 0x90a60130),
AZALIA_PIN_CFG(0, 0x13, 0x40000000),
AZALIA_PIN_CFG(0, 0x14, 0x90170110),
diff --git a/src/mainboard/system76/adl/variants/lemp11/hda_verb.c b/src/mainboard/system76/adl/variants/lemp11/hda_verb.c
index d03c67acff..7db57e72bb 100644
--- a/src/mainboard/system76/adl/variants/lemp11/hda_verb.c
+++ b/src/mainboard/system76/adl/variants/lemp11/hda_verb.c
@@ -6,8 +6,9 @@ const u32 cim_verb_data[] = {
/* Realtek, ALC256 */
0x10ec0256,
0x15587718,
- 11,
+ 12,
AZALIA_SUBVENDOR(0, 0x15587718),
+ AZALIA_RESET(1),
AZALIA_PIN_CFG(0, 0x12, 0x90a60130),
AZALIA_PIN_CFG(0, 0x13, 0x40000000),
AZALIA_PIN_CFG(0, 0x14, 0x90170110),