Skip to content

Commit ddfd79d

Browse files
committed
mb/system76: Reset Realtek codec before configuring
Change-Id: I64c1fd23f708f77a81fad0bc889f42d4df3f6e61 Signed-off-by: Tim Crawford <tcrawford@system76.com>
1 parent 900962f commit ddfd79d

28 files changed

Lines changed: 54 additions & 28 deletions

File tree

src/mainboard/system76/addw1/variants/addw1/hda_verb.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ const u32 cim_verb_data[] = {
66
/* Realtek, ALC1220 */
77
0x10ec1220, /* Vendor ID */
88
0x155865d1, /* Subsystem ID */
9-
12, /* Number of entries */
9+
13, /* Number of entries */
1010
AZALIA_SUBVENDOR(0, 0x155865d1),
11+
AZALIA_RESET(1),
1112
AZALIA_PIN_CFG(0, 0x12, 0x90a60130), // DMIC
1213
AZALIA_PIN_CFG(0, 0x14, 0x0421101f), // FRONT (Port-D)
1314
AZALIA_PIN_CFG(0, 0x15, 0x40000000), // SURR (Port-A)

src/mainboard/system76/addw1/variants/addw2/hda_verb.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ const u32 cim_verb_data[] = {
66
/* Realtek, ALC1220 */
77
0x10ec1220, /* Vendor ID */
88
0x155865e1, /* Subsystem ID */
9-
12, /* Number of entries */
9+
13, /* Number of entries */
1010
AZALIA_SUBVENDOR(0, 0x155865e1),
11+
AZALIA_RESET(1),
1112
AZALIA_PIN_CFG(0, 0x12, 0x90a60130), // DMIC
1213
AZALIA_PIN_CFG(0, 0x14, 0x0421101f), // FRONT (Port-D)
1314
AZALIA_PIN_CFG(0, 0x15, 0x40000000), // SURR (Port-A)

src/mainboard/system76/adl-p/variants/darp8/hda_verb.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ const u32 cim_verb_data[] = {
66
/* Realtek, ALC256 */
77
0x10ec0256,
88
0x15587716,
9-
11,
9+
12,
1010
AZALIA_SUBVENDOR(0, 0x15587716),
11+
AZALIA_RESET(1),
1112
AZALIA_PIN_CFG(0, 0x12, 0x90a60130),
1213
AZALIA_PIN_CFG(0, 0x13, 0x40000000),
1314
AZALIA_PIN_CFG(0, 0x14, 0x90170110),

src/mainboard/system76/adl-p/variants/galp6/hda_verb.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ const u32 cim_verb_data[] = {
66
/* Realtek, ALC256 */
77
0x10ec0256, /* Vendor ID */
88
0x15584041, /* Subsystem ID */
9-
11, /* Number of entries */
9+
12, /* Number of entries */
1010
AZALIA_SUBVENDOR(0, 0x15584041),
11+
AZALIA_RESET(1),
1112
AZALIA_PIN_CFG(0, 0x12, 0x90a60130),
1213
AZALIA_PIN_CFG(0, 0x13, 0x40000000),
1314
AZALIA_PIN_CFG(0, 0x14, 0x90170110),

src/mainboard/system76/adl-p/variants/lemp11/hda_verb.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ const u32 cim_verb_data[] = {
66
/* Realtek, ALC256 */
77
0x10ec0256,
88
0x15587718,
9-
11,
9+
12,
1010
AZALIA_SUBVENDOR(0, 0x15587718),
11+
AZALIA_RESET(1),
1112
AZALIA_PIN_CFG(0, 0x12, 0x90a60130),
1213
AZALIA_PIN_CFG(0, 0x13, 0x40000000),
1314
AZALIA_PIN_CFG(0, 0x14, 0x90170110),

src/mainboard/system76/adl-p/variants/oryp9/hda_verb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const u32 cim_verb_data[] = {
66
/* Realtek, ALC1220 */
77
0x10ec1220, /* Vendor ID */
88
0x155867f5, /* Subsystem ID */
9-
12, /* Number of entries */
9+
13, /* Number of entries */
1010
AZALIA_SUBVENDOR(0, 0x155867f5),
1111
AZALIA_RESET(1),
1212
AZALIA_PIN_CFG(0, 0x12, 0x90a60130),

src/mainboard/system76/bonw14/hda_verb.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ const u32 cim_verb_data[] = {
66
/* Realtek, ALC1220 */
77
0x10ec1220, /* Vendor ID */
88
0x15587714, /* Subsystem ID */
9-
12, /* Number of entries */
9+
13, /* Number of entries */
1010
AZALIA_SUBVENDOR(0, 0x15587714),
11+
AZALIA_RESET(1),
1112
AZALIA_PIN_CFG(0, 0x12, 0x90a60130),
1213
AZALIA_PIN_CFG(0, 0x14, 0x40000000),
1314
AZALIA_PIN_CFG(0, 0x15, 0x411111f0),

src/mainboard/system76/cml-u/variants/darp6/hda_verb.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ const u32 cim_verb_data[] = {
66
/* Realtek ALC293 */
77
0x10ec0293, /* Vendor ID */
88
0x15581404, /* Subsystem ID */
9-
12, /* Number of entries */
9+
13, /* Number of entries */
1010
AZALIA_SUBVENDOR(0, 0x15581404),
11+
AZALIA_RESET(1),
1112
AZALIA_PIN_CFG(0, 0x12, 0x90a60140),
1213
AZALIA_PIN_CFG(0, 0x13, 0x40000000),
1314
AZALIA_PIN_CFG(0, 0x14, 0x90170110),

src/mainboard/system76/cml-u/variants/galp4/hda_verb.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ const u32 cim_verb_data[] = {
66
/* Realtek ALC293 */
77
0x10ec0293, /* Vendor ID */
88
0x15581403, /* Subsystem ID */
9-
12, /* Number of entries */
9+
13, /* Number of entries */
1010
AZALIA_SUBVENDOR(0, 0x15581403),
11+
AZALIA_RESET(1),
1112
AZALIA_PIN_CFG(0, 0x12, 0x90a60130),
1213
AZALIA_PIN_CFG(0, 0x13, 0x40000000),
1314
AZALIA_PIN_CFG(0, 0x14, 0x90170110),

src/mainboard/system76/gaze15/variants/gaze14/hda_verb.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ const u32 cim_verb_data[] = {
66
/* Realtek, ALC269VC */
77
0x10ec0269, /* Vendor ID */
88
0x15588560, /* Subsystem ID */
9-
11, /* Number of entries */
9+
12, /* Number of entries */
1010
AZALIA_SUBVENDOR(0, 0x15588560),
11+
AZALIA_RESET(1),
1112
AZALIA_PIN_CFG(0, 0x12, 0x90a60140),
1213
AZALIA_PIN_CFG(0, 0x14, 0x90170110),
1314
AZALIA_PIN_CFG(0, 0x15, 0x02211020),

0 commit comments

Comments
 (0)