mb/google/nissa/pujjolo: update verb table
Update the silence detection threshold based on the new verb table provided by Realtek team. BUG=b:446120613 TEST=reboot, open camera app, press shutter. There should be sound. Change-Id: I7d27a38e4068a72f4fb04321e46f0266161572e1 Signed-off-by: Terry Cheong <htcheong@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/90118 Reviewed-by: Eric Lai <ericllai@google.com> Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
cae53bea52
commit
237944186e
1 changed files with 27 additions and 22 deletions
|
|
@ -6,30 +6,35 @@ const u32 cim_verb_data[] = {
|
|||
/* coreboot specific header */
|
||||
0x10ec0257, // Codec Vendor / Device ID: Realtek ALC257
|
||||
0x10ec0257, // Subsystem ID
|
||||
0x00000012, // Number of jacks (NID entries)
|
||||
0x00000013, // Number of jacks (NID entries)
|
||||
|
||||
AZALIA_RESET(0x1),
|
||||
/* NID 0x01, HDA Codec Subsystem ID Verb table */
|
||||
//AZALIA_SUBVENDOR(0, 0x10ec3a2c),
|
||||
/* HDA Codec Subsystem ID Verb table */
|
||||
AZALIA_SUBVENDOR(0, 0x00000000),
|
||||
|
||||
/* Pin Widget Verb Table */
|
||||
/*
|
||||
* DMIC
|
||||
* Requirement is to use PCH DMIC. Hence,
|
||||
* commented out codec's Internal DMIC.
|
||||
* AZALIA_PIN_CFG(0, 0x12, 0x90A60130),
|
||||
* AZALIA_PIN_CFG(0, 0x13, 0x40000000),
|
||||
*/
|
||||
AZALIA_PIN_CFG(0, 0x12, 0x40000000),
|
||||
AZALIA_PIN_CFG(0, 0x13, 0x411111F0),
|
||||
AZALIA_PIN_CFG(0, 0x14, 0x90170110),
|
||||
AZALIA_PIN_CFG(0, 0x18, 0x411111f0),
|
||||
AZALIA_PIN_CFG(0, 0x19, 0x04A11030),
|
||||
AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
|
||||
AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
|
||||
AZALIA_PIN_CFG(0, 0x1d, 0x40579A2D),
|
||||
AZALIA_PIN_CFG(0, 0x1e, 0x411111F0),
|
||||
AZALIA_PIN_CFG(0, 0x21, 0x04211020),
|
||||
/* Widget node 0x01 */
|
||||
AZALIA_RESET(0x1),
|
||||
/* Pin widget 0x12 - DMIC */
|
||||
AZALIA_PIN_CFG(0, 0x12, 0x40000000),
|
||||
/* Pin widget 0x13 - DMIC */
|
||||
AZALIA_PIN_CFG(0, 0x13, 0x411111F0),
|
||||
/* Pin widget 0x14 - FRONT (Port-D) */
|
||||
AZALIA_PIN_CFG(0, 0x14, 0x90170110),
|
||||
/* Pin widget 0x18 - NPC */
|
||||
AZALIA_PIN_CFG(0, 0x18, 0x411111F0),
|
||||
/* Pin widget 0x19 - MIC2 (Port-F) */
|
||||
AZALIA_PIN_CFG(0, 0x19, 0x04A11030),
|
||||
/* Pin widget 0x1A - LINE1 (Port-C) */
|
||||
AZALIA_PIN_CFG(0, 0x1a, 0x411111F0),
|
||||
/* Pin widget 0x1B - LINE2 (Port-E) */
|
||||
AZALIA_PIN_CFG(0, 0x1b, 0x411111F0),
|
||||
/* Pin widget 0x1D - BEEP-IN */
|
||||
AZALIA_PIN_CFG(0, 0x1d, 0x40579A2D),
|
||||
/* Pin widget 0x1E - S/PDIF-OUT */
|
||||
AZALIA_PIN_CFG(0, 0x1e, 0x411111F0),
|
||||
/* Pin widget 0x21 - HP-OUT (Port-I) */
|
||||
AZALIA_PIN_CFG(0, 0x21, 0x04211020),
|
||||
|
||||
//==========Widget node 0x20 - 0 :Hidden register SW reset
|
||||
0x0205001A,
|
||||
0x0204C003,
|
||||
|
|
@ -63,7 +68,7 @@ const u32 cim_verb_data[] = {
|
|||
0x02050037,
|
||||
0x0204FE15,
|
||||
0x02050030,
|
||||
0x02049004,
|
||||
0x02041000,
|
||||
};
|
||||
|
||||
const u32 pc_beep_verbs[] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue