mb/google/trulo/var/kaladin: Update HDA verb table

Update HDA verb table for Realtek 3247 audio codec.
1. Class-d output power from 2.0W/4ohm to 2.2W/4ohm
2. AGC setting from pre-gain +6dB, limit -6dB, post-gain +6dB
   to pre-gain +0dB, limit -0dB, post-gain +0dB

BUG=b:445090513
TEST= emerge-nissa coreboot and verify alsa-dump as expected

Change-Id: Ie100b7fb0738d7092997100dd4259360f8603f05
Signed-off-by: wu.garen <wu.garen@inventec.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/89213
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Nicholas Sudsgaard <devel+coreboot@nsudsgaard.com>
This commit is contained in:
wu.garen 2025-09-16 14:46:01 +08:00 committed by Matt DeVillier
commit 9a8402adf9

View file

@ -6,7 +6,7 @@ const u32 cim_verb_data[] = {
/* coreboot specific header */
0x10ec0236, // Codec Vendor / Device ID: Realtek ALC236
0x103C8C60, // Subsystem ID
0x00000015, // Number of jacks (NID entries)
0x00000016, // Number of jacks (NID entries)
AZALIA_RESET(0x1),
/* NID 0x01, HDA Codec Subsystem ID Verb table */
@ -87,19 +87,24 @@ const u32 cim_verb_data[] = {
/* enable EQ */
0x05350000,
0x0534E01A,
/* 1.8W/4ohm */
/* 2.2W/4ohm */
0x02050038,
0x02047901,
/* AGC Enable */
0x0205004C,
0x0204465C,
0x02046901,
/* Disable AGC and set AGC limit to 0dB */
0x02050016,
0x02044C50,
0x02050012,
0x0204EBC0,
/* Set AGC Front and Post gain 0dB then Enable AGC */
0x02050013,
0x0204401F,
0x02050016,
0x02044E50,
0x02050020,
0x020451FF,
/* Headphone Pop */
0x05750007,
0x057412B2,
0x05750007, /* Padding */
0x057412B2, /* Padding */
};
const u32 pc_beep_verbs[] = {