From 63fa21de93171ed8bc021638a84cf44c23f17073 Mon Sep 17 00:00:00 2001 From: Bernie Thompson Date: Mon, 8 Sep 2014 18:24:01 -0700 Subject: [PATCH] auron: Add double function reset to ALC283 verb table The ALC283 needs a double function reset to ensure that all settings are reset and the firmware beep is functional. This is based on dlaurie's change from: https://chromium-review.googlesource.com/#/c/167651/ BUG=chrome-os-partner:31824 BRANCH=None TEST=build, boot, beep Change-Id: I9109b598234ceaea365591468dd6766b89eb3cf0 Signed-off-by: Bernie Thompson Reviewed-on: https://chromium-review.googlesource.com/217127 Reviewed-by: Shawn Nematbakhsh --- src/mainboard/google/auron/hda_verb.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mainboard/google/auron/hda_verb.h b/src/mainboard/google/auron/hda_verb.h index a911a6f61f..2fd30905b7 100644 --- a/src/mainboard/google/auron/hda_verb.h +++ b/src/mainboard/google/auron/hda_verb.h @@ -21,7 +21,12 @@ static const u32 mainboard_cim_verb_data[] = { /* coreboot specific header */ 0x10ec0283, // Codec Vendor / Device ID: Realtek ALC283 0x10ec0283, // Subsystem ID - 0x0000000c, // Number of jacks (NID entries) + 0x0000000d, // Number of jacks (NID entries) + + 0x0017ff00, // Function Reset + 0x0017ff00, // Double Function Reset + 0x000F0000, // Pad - get vendor id + 0x000F0002, // Pad - get revision id /* Bits 31:28 - Codec Address */ /* Bits 27:20 - NID */