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>
This commit is contained in:
Michał Masłowski 2015-06-05 15:40:48 +02:00 committed by Alexandru Gagniuc
parent a2972f07e3
commit 3dcd2f465f
1 changed files with 4 additions and 4 deletions

View File

@ -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),