aboutsummaryrefslogtreecommitdiff
path: root/resources/libreboot/patch/r500/0003-mainboard-lenovo-r500-Fix-HDA-verbs-to-match-hardwar.patch
blob: 5caaa124ed475ec919d3fe9696873c30ad1f4416 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
From 9d8e96dd8421f19dc38cf0ca4d92b35e63e5e88e Mon Sep 17 00:00:00 2001
From: Francis Rowe <info@gluglug.org.uk>
Date: Wed, 5 Aug 2015 01:42:44 +0100
Subject: [PATCH 3/7] mainboard/lenovo/r500: Fix HDA verbs to match hardware
 layout

Change-Id: I2b69399b9677845b55d4c68d4ac6f276a11a1cf6
Signed-off-by: Francis Rowe <info@gluglug.org.uk>
---
 src/mainboard/lenovo/r500/hda_verb.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/mainboard/lenovo/r500/hda_verb.c b/src/mainboard/lenovo/r500/hda_verb.c
index beb637f..088185e 100644
--- a/src/mainboard/lenovo/r500/hda_verb.c
+++ b/src/mainboard/lenovo/r500/hda_verb.c
@@ -23,19 +23,19 @@
 const u32 cim_verb_data[] = {
 	/* coreboot specific header */
 	0x14f15051,	// Conexant CX20561 (Hermosa)
-	0x17aa20ff,	// Subsystem ID
+	0x17aa20fd,	// Subsystem ID
 	0x00000008,	// Number of entries
 
 	/* Pin Widget Verb Table */
 
-	AZALIA_PIN_CFG(0, 0x16, 0x042140f0),
+	AZALIA_PIN_CFG(0, 0x16, 0x022140f0),
 	AZALIA_PIN_CFG(0, 0x17, 0x61a190f0),
-	AZALIA_PIN_CFG(0, 0x18, 0x04a190f0),
-	AZALIA_PIN_CFG(0, 0x19, 0x612140f0),
+	AZALIA_PIN_CFG(0, 0x18, 0x02a190f0),
+	AZALIA_PIN_CFG(0, 0x19, 0x40f000f0),
 	AZALIA_PIN_CFG(0, 0x1a, 0x901701f0),
 	AZALIA_PIN_CFG(0, 0x1b, 0x40f001f0),
 	AZALIA_PIN_CFG(0, 0x1c, 0x40f001f0),
-	AZALIA_PIN_CFG(0, 0x1d, 0x90a601f0)
+	AZALIA_PIN_CFG(0, 0x1d, 0x90a701f0)
 };
 
 const u32 pc_beep_verbs[] = {
-- 
1.9.1