summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x201
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/lenovo/x201')
-rw-r--r--src/mainboard/lenovo/x201/hda_verb.h75
1 files changed, 15 insertions, 60 deletions
diff --git a/src/mainboard/lenovo/x201/hda_verb.h b/src/mainboard/lenovo/x201/hda_verb.h
index d5a8e7c9c5..17069292af 100644
--- a/src/mainboard/lenovo/x201/hda_verb.h
+++ b/src/mainboard/lenovo/x201/hda_verb.h
@@ -25,96 +25,51 @@ static const u32 mainboard_cim_verb_data[] = {
0x0000000B, /* Number of 4 dword sets */
/* NID 0x01: Subsystem ID. */
- 0x00172055,
- 0x00172121,
- 0x001722AA,
- 0x00172317,
+ AZALIA_SUBVENDOR(0x0, 0x17AA2155),
/* NID 0x19: Headphone jack. */
- 0x01971CF0,
- 0x01971D40,
- 0x01971E21,
- 0x01971F04,
+ AZALIA_PIN_CFG(0x0, 0x19, 0x042140F0),
/* NID 0x1A: Dock mic jack. */
- 0x01A71CF0,
- 0x01A71D90,
- 0x01A71EA1,
- 0x01A71F61,
+ AZALIA_PIN_CFG(0x0, 0x1A, 0x61A190F0),
/* NID 0x1B: Mic jack. */
- 0x01B71CF0,
- 0x01B71D90,
- 0x01B71EA1,
- 0x01B71F04,
+ AZALIA_PIN_CFG(0x0, 0x1B, 0x04A190F0),
/* NID 0x1C: Dock headphone jack. */
- 0x01C71CF0,
- 0x01C71D40,
- 0x01C71E21,
- 0x01C71F61,
+ AZALIA_PIN_CFG(0x0, 0x1C, 0x612140F0),
/* NID 0x1D: EAPD detect. */
- 0x01D71CF0,
- 0x01D71D00,
- 0x01D71E17,
- 0x01D71F60,
+ AZALIA_PIN_CFG(0x0, 0x1D, 0x601700F0),
/* NID 0x1E */
- 0x01E71CF0,
- 0x01E71D01,
- 0x01E71EF0,
- 0x01E71F40,
+ AZALIA_PIN_CFG(0x0, 0x1E, 0x40F001F0),
/* NID 0x1F */
- 0x01F71CF0,
- 0x01F71D01,
- 0x01F71E17,
- 0x01F71F90,
+ AZALIA_PIN_CFG(0x0, 0x1F, 0x901701F0),
/* NID 0x20 */
- 0x02071CF0,
- 0x02071D01,
- 0x02071EF0,
- 0x02071F40,
+ AZALIA_PIN_CFG(0x0, 0x20, 0x40F001F0),
/* NID 0x22 */
- 0x02271CF0,
- 0x02271D01,
- 0x02271EF0,
- 0x02271F40,
+ AZALIA_PIN_CFG(0x0, 0x22, 0x40F001F0),
/* NID 0x23: Internal mic boost volume. */
- 0x02371CF0,
- 0x02371D01,
- 0x02371EA6,
- 0x02371F90,
+ AZALIA_PIN_CFG(0x0, 0x23, 0x90A601F0),
0x80862804, /* Codec Vendor / Device ID: Intel Ibexpeak HDMI. */
0x17aa21b5, /* Subsystem ID */
0x00000004, /* Number of 4 dword sets */
/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x17aa21b5 */
- 0x301720B5,
- 0x30172121,
- 0x301722AA,
- 0x30172317,
+ AZALIA_SUBVENDOR(0x3, 0x17AA21B5),
/* NID 0x04. */
- 0x30471C10,
- 0x30471D00,
- 0x30471E56,
- 0x30471F58,
+ AZALIA_PIN_CFG(0x3, 0x04, 0x58560010),
/* NID 0x05. */
- 0x30571C20,
- 0x30571D00,
- 0x30571E56,
- 0x30571F18,
+ AZALIA_PIN_CFG(0x3, 0x05, 0x18560020),
/* NID 0x06. */
- 0x30671C30,
- 0x30671D00,
- 0x30671E56,
- 0x30671F58,
+ AZALIA_PIN_CFG(0x3, 0x06, 0x58560030),
};