From 3dcd2f465f6ad265f3ca4d4380e051fc9801129e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Mas=C5=82owski?= Date: Fri, 5 Jun 2015 15:40:48 +0200 Subject: mainboard/lenovo/t400: Fix HDA verbs to match hardware layout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: http://review.coreboot.org/10431 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan Reviewed-by: Paul Menzel Reviewed-by: Alexandru Gagniuc --- src/mainboard/lenovo/t400/hda_verb.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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), -- cgit v1.2.3