aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t400/hda_verb.c
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2015-06-05 15:40:48 +0200
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2015-06-14 17:53:43 +0200
commit3dcd2f465f6ad265f3ca4d4380e051fc9801129e (patch)
tree8b576a805a424ae8c60f48eca806fea0b0fb0190 /src/mainboard/lenovo/t400/hda_verb.c
parenta2972f07e34c1cf5a4b80a6a700c1de803f40181 (diff)
mainboard/lenovo/t400: Fix HDA verbs to match hardware layout
The same values are used on my Lenovo R400 as reported by Francis Rowe from his T400 and T500. TEST: Read /proc/asound/card0/codec#0, see that the jack locations correspond to the board layout, e.g. headphone and microphone connectors are on front of the laptop, not right. Read /sys/class/sound/hwC0D0/init_pin_configs, see that it has the same content as with factory firmware. Change-Id: I60e914ca9fab4bb2c99b4ed9e6d81a0580a88b18 Signed-off-by: Michał Masłowski <mtjm@mtjm.eu> Reviewed-on: http://review.coreboot.org/10431 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <edward.ocallaghan@koparo.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/mainboard/lenovo/t400/hda_verb.c')
-rw-r--r--src/mainboard/lenovo/t400/hda_verb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/lenovo/t400/hda_verb.c b/src/mainboard/lenovo/t400/hda_verb.c
index beb637f510..423d10ce9a 100644
--- a/src/mainboard/lenovo/t400/hda_verb.c
+++ b/src/mainboard/lenovo/t400/hda_verb.c
@@ -23,15 +23,15 @@
const u32 cim_verb_data[] = {
/* coreboot specific header */
0x14f15051, // Conexant CX20561 (Hermosa)
- 0x17aa20ff, // Subsystem ID
+ 0x17aa211c, // 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),