diff options
author | Angel Pons <th3fanbus@gmail.com> | 2019-12-19 19:37:21 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-01-02 14:26:10 +0000 |
commit | ec21170b876fc6af00141e409bba83d958dc3c6e (patch) | |
tree | c9d7ed33d76cd210a7b77f803c2d67f60501050f /src/mainboard/lenovo | |
parent | 73c92dac0d400b5311546d9520c015169f819845 (diff) |
mb/**/hda_verb.{c,h}: use denary numerals for codec IDs
Denary, also known as "decimal" or "base 10," is the standard
number system used around the world. Therefore, make use of it.
Change-Id: I7f2937bb7715e0769db3be8cb30d305f9d78b6f8
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37849
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r-- | src/mainboard/lenovo/l520/hda_verb.c | 30 | ||||
-rw-r--r-- | src/mainboard/lenovo/s230u/hda_verb.c | 30 | ||||
-rw-r--r-- | src/mainboard/lenovo/t410/hda_verb.c | 30 | ||||
-rw-r--r-- | src/mainboard/lenovo/t420/hda_verb.c | 22 | ||||
-rw-r--r-- | src/mainboard/lenovo/t420s/hda_verb.c | 22 | ||||
-rw-r--r-- | src/mainboard/lenovo/t430/hda_verb.c | 30 | ||||
-rw-r--r-- | src/mainboard/lenovo/t430s/variants/t430s/hda_verb.c | 40 | ||||
-rw-r--r-- | src/mainboard/lenovo/t430s/variants/t431s/hda_verb.c | 30 | ||||
-rw-r--r-- | src/mainboard/lenovo/t440p/hda_verb.c | 24 | ||||
-rw-r--r-- | src/mainboard/lenovo/t520/hda_verb.c | 22 | ||||
-rw-r--r-- | src/mainboard/lenovo/t530/hda_verb.c | 38 | ||||
-rw-r--r-- | src/mainboard/lenovo/t60/hda_verb.c | 2 | ||||
-rw-r--r-- | src/mainboard/lenovo/x131e/hda_verb.c | 30 | ||||
-rw-r--r-- | src/mainboard/lenovo/x1_carbon_gen1/hda_verb.c | 30 | ||||
-rw-r--r-- | src/mainboard/lenovo/x201/hda_verb.c | 30 | ||||
-rw-r--r-- | src/mainboard/lenovo/x220/hda_verb.c | 30 | ||||
-rw-r--r-- | src/mainboard/lenovo/x230/hda_verb.c | 38 | ||||
-rw-r--r-- | src/mainboard/lenovo/x60/hda_verb.c | 4 |
18 files changed, 241 insertions, 241 deletions
diff --git a/src/mainboard/lenovo/l520/hda_verb.c b/src/mainboard/lenovo/l520/hda_verb.c index 6ab0938466..5181978fc7 100644 --- a/src/mainboard/lenovo/l520/hda_verb.c +++ b/src/mainboard/lenovo/l520/hda_verb.c @@ -21,25 +21,25 @@ const u32 cim_verb_data[] = { 0x10ec0269, /* Codec Vendor / Device ID: Realtek */ 0x17aa21de, /* Subsystem ID */ 11, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x0, 0x17aa21de), - AZALIA_PIN_CFG(0x0, 0x12, 0x99a30920), - AZALIA_PIN_CFG(0x0, 0x14, 0x99130110), - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x18, 0x03a11830), - AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1d, 0x40079a2d), - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f), + AZALIA_SUBVENDOR(0, 0x17aa21de), + AZALIA_PIN_CFG(0, 0x12, 0x99a30920), + AZALIA_PIN_CFG(0, 0x14, 0x99130110), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x03a11830), + AZALIA_PIN_CFG(0, 0x19, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1d, 0x40079a2d), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x21, 0x0321101f), 0x80862805, /* Codec Vendor / Device ID: Intel */ 0x80860101, /* Subsystem ID */ 4, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x3, 0x80860101), - AZALIA_PIN_CFG(0x3, 0x05, 0x18560010), - AZALIA_PIN_CFG(0x3, 0x06, 0x18560020), - AZALIA_PIN_CFG(0x3, 0x07, 0x18560030), + AZALIA_SUBVENDOR(3, 0x80860101), + AZALIA_PIN_CFG(3, 0x05, 0x18560010), + AZALIA_PIN_CFG(3, 0x06, 0x18560020), + AZALIA_PIN_CFG(3, 0x07, 0x18560030), }; const u32 pc_beep_verbs[0] = {}; diff --git a/src/mainboard/lenovo/s230u/hda_verb.c b/src/mainboard/lenovo/s230u/hda_verb.c index b096487d48..d3c1cdd9e4 100644 --- a/src/mainboard/lenovo/s230u/hda_verb.c +++ b/src/mainboard/lenovo/s230u/hda_verb.c @@ -27,7 +27,7 @@ const u32 cim_verb_data[] = { 0x10ec0269, /* Codec Vendor / Device ID: Realtek ALC269VC */ 0x17aa21fa, /* Subsystem ID */ 12, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x0, 0x17aa21fa), + AZALIA_SUBVENDOR(0, 0x17aa21fa), /* * PIN_CFG: @@ -62,34 +62,34 @@ const u32 cim_verb_data[] = { * For stream channel to in/out mapping */ /* Digital MIC: Fixed function, mic in, digital */ - AZALIA_PIN_CFG(0x0, 0x12, 0x90a60940), + AZALIA_PIN_CFG(0, 0x12, 0x90a60940), /* SPK out: Fixed function, speaker, analog */ - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* HP out: Location left, headphone out, 1/8" jack, black */ - AZALIA_PIN_CFG(0x0, 0x15, 0x03211020), + AZALIA_PIN_CFG(0, 0x15, 0x03211020), /* Unknown: (Unconnected) */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* MIC1 in: Location left, mic in, 1/8" jack, black */ - AZALIA_PIN_CFG(0x0, 0x18, 0x03a11830), + AZALIA_PIN_CFG(0, 0x18, 0x03a11830), /* MIC2 in: (Unconnected) */ - AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0), + AZALIA_PIN_CFG(0, 0x19, 0x411111f0), /* Line1 in: (Unconnected) */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Line2 in: (Unconnected) */ - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), /* PCBEEP */ - AZALIA_PIN_CFG(0x0, 0x1d, 0x40148605), + AZALIA_PIN_CFG(0, 0x1d, 0x40148605), /* S/PDIF out: (Unconnected) */ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), 0x01470740, /* Enable output for NID 0x14 (Speaker out) */ 0x015707C0, /* Enable output & HP amp for NID 0x15 (HP out) */ @@ -100,10 +100,10 @@ const u32 cim_verb_data[] = { 0x80862806, /* Codec Vendor / Device ID: Intel PantherPoint HDMI */ 0x80860101, /* Subsystem ID */ 4, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x3, 0x80860101), - AZALIA_PIN_CFG(0x3, 0x05, 0x18560010), - AZALIA_PIN_CFG(0x3, 0x06, 0x18560020), - AZALIA_PIN_CFG(0x3, 0x07, 0x58560030), + AZALIA_SUBVENDOR(3, 0x80860101), + AZALIA_PIN_CFG(3, 0x05, 0x18560010), + AZALIA_PIN_CFG(3, 0x06, 0x18560020), + AZALIA_PIN_CFG(3, 0x07, 0x58560030), }; const u32 pc_beep_verbs[] = { diff --git a/src/mainboard/lenovo/t410/hda_verb.c b/src/mainboard/lenovo/t410/hda_verb.c index 7569b6b606..70e8a6d057 100644 --- a/src/mainboard/lenovo/t410/hda_verb.c +++ b/src/mainboard/lenovo/t410/hda_verb.c @@ -20,25 +20,25 @@ const u32 cim_verb_data[] = { 0x14f15069, /* Codec Vendor / Device ID: Conexant CX20585 */ 0x17aa214c, /* Subsystem ID */ 11, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x0, 0x17aa214c), - AZALIA_PIN_CFG(0x0, 0x19, 0x042110f0), - AZALIA_PIN_CFG(0x0, 0x1a, 0x61a190f0), - AZALIA_PIN_CFG(0x0, 0x1b, 0x04a110f0), - AZALIA_PIN_CFG(0x0, 0x1c, 0x612140f0), - AZALIA_PIN_CFG(0x0, 0x1d, 0x40f001f0), - AZALIA_PIN_CFG(0x0, 0x1e, 0x40f001f0), - AZALIA_PIN_CFG(0x0, 0x1f, 0x901701f0), - AZALIA_PIN_CFG(0x0, 0x20, 0x40f001f0), - AZALIA_PIN_CFG(0x0, 0x22, 0x40f001f0), - AZALIA_PIN_CFG(0x0, 0x23, 0x90a601f0), + AZALIA_SUBVENDOR(0, 0x17aa214c), + AZALIA_PIN_CFG(0, 0x19, 0x042110f0), + AZALIA_PIN_CFG(0, 0x1a, 0x61a190f0), + AZALIA_PIN_CFG(0, 0x1b, 0x04a110f0), + AZALIA_PIN_CFG(0, 0x1c, 0x612140f0), + AZALIA_PIN_CFG(0, 0x1d, 0x40f001f0), + AZALIA_PIN_CFG(0, 0x1e, 0x40f001f0), + AZALIA_PIN_CFG(0, 0x1f, 0x901701f0), + AZALIA_PIN_CFG(0, 0x20, 0x40f001f0), + AZALIA_PIN_CFG(0, 0x22, 0x40f001f0), + AZALIA_PIN_CFG(0, 0x23, 0x90a601f0), 0x80862804, /* Codec Vendor / Device ID: Intel Ibexpeak HDMI. */ 0x17aa21b5, /* Subsystem ID */ 4, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x3, 0x17aa21b5), - AZALIA_PIN_CFG(0x3, 0x04, 0x18560010), - AZALIA_PIN_CFG(0x3, 0x05, 0x18560020), - AZALIA_PIN_CFG(0x3, 0x06, 0x18560030), + AZALIA_SUBVENDOR(3, 0x17aa21b5), + AZALIA_PIN_CFG(3, 0x04, 0x18560010), + AZALIA_PIN_CFG(3, 0x05, 0x18560020), + AZALIA_PIN_CFG(3, 0x06, 0x18560030), }; const u32 pc_beep_verbs[0] = {}; diff --git a/src/mainboard/lenovo/t420/hda_verb.c b/src/mainboard/lenovo/t420/hda_verb.c index 4c68c73080..ede37f3fbb 100644 --- a/src/mainboard/lenovo/t420/hda_verb.c +++ b/src/mainboard/lenovo/t420/hda_verb.c @@ -25,17 +25,17 @@ const u32 cim_verb_data[] = { 0x14f1506e, /* Codec VID / DID: Conexant CX20590 - schematic shows CX20672 */ 0x17aa21ce, /* Subsystem ID */ 13, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x0, 0x17aa21d2), - AZALIA_PIN_CFG(0x0, 0x12, 0x90a60140), - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), - AZALIA_PIN_CFG(0x0, 0x15, 0x03211020), - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x18, 0x03a11830), - AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1d, 0x40138205), - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_SUBVENDOR(0, 0x17aa21d2), + AZALIA_PIN_CFG(0, 0x12, 0x90a60140), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x15, 0x03211020), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x03a11830), + AZALIA_PIN_CFG(0, 0x19, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1d, 0x40138205), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* Misc entries */ 0x00b707C0, /* Enable PortB as Output with HP amp */ diff --git a/src/mainboard/lenovo/t420s/hda_verb.c b/src/mainboard/lenovo/t420s/hda_verb.c index 9d315d7911..e2841162c8 100644 --- a/src/mainboard/lenovo/t420s/hda_verb.c +++ b/src/mainboard/lenovo/t420s/hda_verb.c @@ -25,17 +25,17 @@ const u32 cim_verb_data[] = { 0x14f1506e, /* Codec VID / DID: Conexant CX20590 - schematic shows CX20672 */ 0x17aa21d2, /* Subsystem ID */ 13, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x0, 0x17aa21d2), - AZALIA_PIN_CFG(0x0, 0x19, 0x04211040), - AZALIA_PIN_CFG(0x0, 0x1a, 0x61a19050), - AZALIA_PIN_CFG(0x0, 0x1b, 0x04a11060), - AZALIA_PIN_CFG(0x0, 0x1c, 0x6121401f), - AZALIA_PIN_CFG(0x0, 0x1d, 0x40f001f0), - AZALIA_PIN_CFG(0x0, 0x1e, 0x40f001f0), - AZALIA_PIN_CFG(0x0, 0x1f, 0x90170110), - AZALIA_PIN_CFG(0x0, 0x20, 0x40f001f0), - AZALIA_PIN_CFG(0x0, 0x22, 0x40f001f0), - AZALIA_PIN_CFG(0x0, 0x23, 0x90a60170), + AZALIA_SUBVENDOR(0, 0x17aa21d2), + AZALIA_PIN_CFG(0, 0x19, 0x04211040), + AZALIA_PIN_CFG(0, 0x1a, 0x61a19050), + AZALIA_PIN_CFG(0, 0x1b, 0x04a11060), + AZALIA_PIN_CFG(0, 0x1c, 0x6121401f), + AZALIA_PIN_CFG(0, 0x1d, 0x40f001f0), + AZALIA_PIN_CFG(0, 0x1e, 0x40f001f0), + AZALIA_PIN_CFG(0, 0x1f, 0x90170110), + AZALIA_PIN_CFG(0, 0x20, 0x40f001f0), + AZALIA_PIN_CFG(0, 0x22, 0x40f001f0), + AZALIA_PIN_CFG(0, 0x23, 0x90a60170), /* Misc entries */ 0x00b707C0, /* Enable PortB as Output with HP amp */ diff --git a/src/mainboard/lenovo/t430/hda_verb.c b/src/mainboard/lenovo/t430/hda_verb.c index a8f67277f8..833f98e01d 100644 --- a/src/mainboard/lenovo/t430/hda_verb.c +++ b/src/mainboard/lenovo/t430/hda_verb.c @@ -19,25 +19,25 @@ const u32 cim_verb_data[] = { 0x10ec0269, /* Codec Vendor / Device ID: Realtek */ 0x17aa21f3, /* Subsystem ID */ 11, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x0, 0x17aa21f3), - AZALIA_PIN_CFG(0x0, 0x12, 0x90a60140), - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), - AZALIA_PIN_CFG(0x0, 0x15, 0x03211020), - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x18, 0x03a11830), - AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1d, 0x40138205), - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_SUBVENDOR(0, 0x17aa21f3), + AZALIA_PIN_CFG(0, 0x12, 0x90a60140), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x15, 0x03211020), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x03a11830), + AZALIA_PIN_CFG(0, 0x19, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1d, 0x40138205), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), 0x80862806, /* Codec Vendor / Device ID: Intel */ 0x80860101, /* Subsystem ID */ 4, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x3, 0x80860101), - AZALIA_PIN_CFG(0x3, 0x05, 0x18560010), - AZALIA_PIN_CFG(0x3, 0x06, 0x18560020), - AZALIA_PIN_CFG(0x3, 0x07, 0x18560030), + AZALIA_SUBVENDOR(3, 0x80860101), + AZALIA_PIN_CFG(3, 0x05, 0x18560010), + AZALIA_PIN_CFG(3, 0x06, 0x18560020), + AZALIA_PIN_CFG(3, 0x07, 0x18560030), }; const u32 pc_beep_verbs[0] = {}; diff --git a/src/mainboard/lenovo/t430s/variants/t430s/hda_verb.c b/src/mainboard/lenovo/t430s/variants/t430s/hda_verb.c index b8f6bfed16..250f3b6de6 100644 --- a/src/mainboard/lenovo/t430s/variants/t430s/hda_verb.c +++ b/src/mainboard/lenovo/t430s/variants/t430s/hda_verb.c @@ -26,38 +26,38 @@ const u32 cim_verb_data[] = { 0x10ec0269, /* Codec Vendor / Device ID: Realtek ALC269VC */ 0x17aa21fb, /* Subsystem ID */ 19, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x0, 0x17aa21fb), + AZALIA_SUBVENDOR(0, 0x17aa21fb), /* Ext. Microphone Connector: External,Right; MicIn,3.5mm; Black,JD; DA,Seq */ - AZALIA_PIN_CFG(0x0, 0x0a, 0x04a11020), + AZALIA_PIN_CFG(0, 0x0a, 0x04a11020), /* Headphones Connector: External,Right; HP,3.5mm; Black,JD; DA,Seq */ - AZALIA_PIN_CFG(0x0, 0x0b, 0x0421101f), + AZALIA_PIN_CFG(0, 0x0b, 0x0421101f), /* Not connected: N/A,N/A; Other,Unknown; Unknown,JD; DA,Seq */ - AZALIA_PIN_CFG(0x0, 0x0c, 0x40f000f0), + AZALIA_PIN_CFG(0, 0x0c, 0x40f000f0), /* Internal Speakers Fixed,Int; Speaker,Other Analog; Unknown,nJD; DA,Seq */ - AZALIA_PIN_CFG(0x0, 0x0d, 0x90170110), + AZALIA_PIN_CFG(0, 0x0d, 0x90170110), /* Not connected */ - AZALIA_PIN_CFG(0x0, 0x0f, 0x40f000f0), - AZALIA_PIN_CFG(0x0, 0x12, 0x90a60140), - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), - AZALIA_PIN_CFG(0x0, 0x15, 0x03211020), - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x18, 0x03a11830), - AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0), + AZALIA_PIN_CFG(0, 0x0f, 0x40f000f0), + AZALIA_PIN_CFG(0, 0x12, 0x90a60140), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x15, 0x03211020), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x03a11830), + AZALIA_PIN_CFG(0, 0x19, 0x411111f0), 0x01970804, 0x01870803, 0x01470740, 0x00970600, - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1d, 0x40138205), - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1d, 0x40138205), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* Misc entries */ 0x00370600, @@ -76,10 +76,10 @@ const u32 cim_verb_data[] = { 0x80862806, /* Codec Vendor / Device ID: Intel PantherPoint HDMI */ 0x80860101, /* Subsystem ID */ 4, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x3, 0x80860101), - AZALIA_PIN_CFG(0x3, 0x05, 0x18560010), - AZALIA_PIN_CFG(0x3, 0x06, 0x18560020), - AZALIA_PIN_CFG(0x3, 0x07, 0x18560030), + AZALIA_SUBVENDOR(3, 0x80860101), + AZALIA_PIN_CFG(3, 0x05, 0x18560010), + AZALIA_PIN_CFG(3, 0x06, 0x18560020), + AZALIA_PIN_CFG(3, 0x07, 0x18560030), }; const u32 pc_beep_verbs[] = { diff --git a/src/mainboard/lenovo/t430s/variants/t431s/hda_verb.c b/src/mainboard/lenovo/t430s/variants/t431s/hda_verb.c index 5d47099db5..0442f05eef 100644 --- a/src/mainboard/lenovo/t430s/variants/t431s/hda_verb.c +++ b/src/mainboard/lenovo/t430s/variants/t431s/hda_verb.c @@ -21,25 +21,25 @@ const u32 cim_verb_data[] = { 0x10ec0269, /* Codec Vendor / Device ID: Realtek */ 0x17aa2208, /* Subsystem ID */ 11, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x0, 0x17aa2208), - AZALIA_PIN_CFG(0x0, 0x12, 0x90a60140), - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), - AZALIA_PIN_CFG(0x0, 0x15, 0x03211020), - AZALIA_PIN_CFG(0x0, 0x17, 0x40008000), - AZALIA_PIN_CFG(0x0, 0x18, 0x03a11030), - AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1d, 0x40f38205), - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_SUBVENDOR(0, 0x17aa2208), + AZALIA_PIN_CFG(0, 0x12, 0x90a60140), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x15, 0x03211020), + AZALIA_PIN_CFG(0, 0x17, 0x40008000), + AZALIA_PIN_CFG(0, 0x18, 0x03a11030), + AZALIA_PIN_CFG(0, 0x19, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1d, 0x40f38205), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), 0x80862806, /* Codec Vendor / Device ID: Intel */ 0x80860101, /* Subsystem ID */ 4, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x3, 0x80860101), - AZALIA_PIN_CFG(0x3, 0x05, 0x18560010), - AZALIA_PIN_CFG(0x3, 0x06, 0x18560020), - AZALIA_PIN_CFG(0x3, 0x07, 0x18560030), + AZALIA_SUBVENDOR(3, 0x80860101), + AZALIA_PIN_CFG(3, 0x05, 0x18560010), + AZALIA_PIN_CFG(3, 0x06, 0x18560020), + AZALIA_PIN_CFG(3, 0x07, 0x18560030), }; const u32 pc_beep_verbs[0] = {}; diff --git a/src/mainboard/lenovo/t440p/hda_verb.c b/src/mainboard/lenovo/t440p/hda_verb.c index 791638d760..3f1ee36e0a 100644 --- a/src/mainboard/lenovo/t440p/hda_verb.c +++ b/src/mainboard/lenovo/t440p/hda_verb.c @@ -21,18 +21,18 @@ const u32 cim_verb_data[] = { 0x10ec0292, /* Codec Vendor / Device ID: Realtek */ 0x17aa220e, /* Subsystem ID */ 12, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x0, 0x17aa220e), - AZALIA_PIN_CFG(0x0, 0x12, 0x90a60130), - AZALIA_PIN_CFG(0x0, 0x13, 0x40000000), - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), - AZALIA_PIN_CFG(0x0, 0x15, 0x0321101f), - AZALIA_PIN_CFG(0x0, 0x16, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1a, 0x03a11020), - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1d, 0x40738105), - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_SUBVENDOR(0, 0x17aa220e), + AZALIA_PIN_CFG(0, 0x12, 0x90a60130), + AZALIA_PIN_CFG(0, 0x13, 0x40000000), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x15, 0x0321101f), + AZALIA_PIN_CFG(0, 0x16, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x19, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x03a11020), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1d, 0x40738105), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), }; const u32 pc_beep_verbs[0] = {}; diff --git a/src/mainboard/lenovo/t520/hda_verb.c b/src/mainboard/lenovo/t520/hda_verb.c index 46d7d9484d..e431172bbe 100644 --- a/src/mainboard/lenovo/t520/hda_verb.c +++ b/src/mainboard/lenovo/t520/hda_verb.c @@ -25,17 +25,17 @@ const u32 cim_verb_data[] = { 0x14f1506e, /* Codec VID / DID: Conexant CX20590 - Schematic shows CX20672 */ 0x17aa21cf, /* Subsystem ID */ 13, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x0, 0x17aa21cf), - AZALIA_PIN_CFG(0x0, 0x19, 0x04211040), - AZALIA_PIN_CFG(0x0, 0x1a, 0x61a19050), - AZALIA_PIN_CFG(0x0, 0x1b, 0x04a11060), - AZALIA_PIN_CFG(0x0, 0x1c, 0x6121401f), - AZALIA_PIN_CFG(0x0, 0x1d, 0x40f001f0), - AZALIA_PIN_CFG(0x0, 0x1e, 0x40f001f0), - AZALIA_PIN_CFG(0x0, 0x1f, 0x90170110), - AZALIA_PIN_CFG(0x0, 0x20, 0x40f001f0), - AZALIA_PIN_CFG(0x0, 0x22, 0x40f001f0), - AZALIA_PIN_CFG(0x0, 0x23, 0x90a60170), + AZALIA_SUBVENDOR(0, 0x17aa21cf), + AZALIA_PIN_CFG(0, 0x19, 0x04211040), + AZALIA_PIN_CFG(0, 0x1a, 0x61a19050), + AZALIA_PIN_CFG(0, 0x1b, 0x04a11060), + AZALIA_PIN_CFG(0, 0x1c, 0x6121401f), + AZALIA_PIN_CFG(0, 0x1d, 0x40f001f0), + AZALIA_PIN_CFG(0, 0x1e, 0x40f001f0), + AZALIA_PIN_CFG(0, 0x1f, 0x90170110), + AZALIA_PIN_CFG(0, 0x20, 0x40f001f0), + AZALIA_PIN_CFG(0, 0x22, 0x40f001f0), + AZALIA_PIN_CFG(0, 0x23, 0x90a60170), /* Misc entries */ 0x00b707c0, /* Enable PortB as Output with HP amp */ diff --git a/src/mainboard/lenovo/t530/hda_verb.c b/src/mainboard/lenovo/t530/hda_verb.c index 5ed12b4882..916268f010 100644 --- a/src/mainboard/lenovo/t530/hda_verb.c +++ b/src/mainboard/lenovo/t530/hda_verb.c @@ -25,39 +25,39 @@ const u32 cim_verb_data[] = { 0x10ec0269, /* Codec Vendor / Device ID: Realtek ALC269VC */ 0x17aa21fa, /* Subsystem ID */ 18, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x0, 0x17aa21fa), + AZALIA_SUBVENDOR(0, 0x17aa21fa), /* Ext. Microphone Connector: External,Right; MicIn,3.5mm; Black,JD; DA,Seq */ - AZALIA_PIN_CFG(0x0, 0x0a, 0x04a11020), + AZALIA_PIN_CFG(0, 0x0a, 0x04a11020), /* Headphones Connector: External,Right; HP,3.5mm; Black,JD; DA,Seq */ - AZALIA_PIN_CFG(0x0, 0x0b, 0x0421101f), + AZALIA_PIN_CFG(0, 0x0b, 0x0421101f), /* Not connected: N/A,N/A; Other,Unknown; Unknown,JD; DA,Seq */ - AZALIA_PIN_CFG(0x0, 0x0c, 0x40f000f0), + AZALIA_PIN_CFG(0, 0x0c, 0x40f000f0), /* Internal Speakers Fixed,Int; Speaker,Other Analog; Unknown,nJD; DA,Seq */ - AZALIA_PIN_CFG(0x0, 0x0d, 0x90170110), + AZALIA_PIN_CFG(0, 0x0d, 0x90170110), /* Not connected */ - AZALIA_PIN_CFG(0x0, 0x0f, 0x40f000f0), + AZALIA_PIN_CFG(0, 0x0f, 0x40f000f0), /* Internal Microphone: Fixed,Int,Top; Mic In,ATIPI; Unknown,nJD; DA,Seq */ - AZALIA_PIN_CFG(0x0, 0x11, 0xd5a30140), - AZALIA_PIN_CFG(0x0, 0x12, 0x90a60140), - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), - AZALIA_PIN_CFG(0x0, 0x15, 0x03211020), - AZALIA_PIN_CFG(0x0, 0x18, 0x03a11830), - AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0), + AZALIA_PIN_CFG(0, 0x11, 0xd5a30140), + AZALIA_PIN_CFG(0, 0x12, 0x90a60140), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x15, 0x03211020), + AZALIA_PIN_CFG(0, 0x18, 0x03a11830), + AZALIA_PIN_CFG(0, 0x19, 0x411111f0), 0x01970804, 0x01870803, 0x01470740, 0x00970600, - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1d, 0x40138205), - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1d, 0x40138205), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* Misc entries */ 0x00370600, @@ -76,10 +76,10 @@ const u32 cim_verb_data[] = { 0x80862806, /* Codec Vendor / Device ID: Intel PantherPoint HDMI */ 0x80860101, /* Subsystem ID */ 4, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x3, 0x80860101), - AZALIA_PIN_CFG(0x3, 0x05, 0x18560010), - AZALIA_PIN_CFG(0x3, 0x06, 0x18560020), - AZALIA_PIN_CFG(0x3, 0x07, 0x18560030) + AZALIA_SUBVENDOR(3, 0x80860101), + AZALIA_PIN_CFG(3, 0x05, 0x18560010), + AZALIA_PIN_CFG(3, 0x06, 0x18560020), + AZALIA_PIN_CFG(3, 0x07, 0x18560030), }; const u32 pc_beep_verbs[] = { diff --git a/src/mainboard/lenovo/t60/hda_verb.c b/src/mainboard/lenovo/t60/hda_verb.c index 22eec0a798..f73e473dfc 100644 --- a/src/mainboard/lenovo/t60/hda_verb.c +++ b/src/mainboard/lenovo/t60/hda_verb.c @@ -17,7 +17,7 @@ const u32 cim_verb_data[] = { 0x11d41981, /* Codec Vendor / Device ID: Analog Devices AD1981 */ 0x17aa2025, /* Subsystem ID */ 11, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x0, 0x17aa2025), + AZALIA_SUBVENDOR(0, 0x17aa2025), AZALIA_PIN_CFG(0, 0x05, 0xc3014110), AZALIA_PIN_CFG(0, 0x06, 0x4221401f), AZALIA_PIN_CFG(0, 0x07, 0x591311f0), diff --git a/src/mainboard/lenovo/x131e/hda_verb.c b/src/mainboard/lenovo/x131e/hda_verb.c index 83b5148278..37c4bc0bce 100644 --- a/src/mainboard/lenovo/x131e/hda_verb.c +++ b/src/mainboard/lenovo/x131e/hda_verb.c @@ -23,39 +23,39 @@ const u32 cim_verb_data[] = { 0x0000000b, // Number of jacks /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x17aa21fe */ - AZALIA_SUBVENDOR(0x0, 0x17aa21fe), + AZALIA_SUBVENDOR(0, 0x17aa21fe), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12): 0x90a60930 DMIC */ - AZALIA_PIN_CFG(0x0, 0x12, 0x90a60930), + AZALIA_PIN_CFG(0, 0x12, 0x90a60930), /* Pin Complex (NID 0x14): 0x90170110 SPEAKER-OUT (Port-D) */ - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* Pin Complex (NID 0x15): 0x0321101f HP-OUT (Port-A) */ - AZALIA_PIN_CFG(0x0, 0x15, 0x0321101f), + AZALIA_PIN_CFG(0, 0x15, 0x0321101f), /* Pin Complex (NID 0x17): 0x411111f0 MONO-OUT (Port-H) */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18): 0x03a11820 MIC1 (Port-B) */ - AZALIA_PIN_CFG(0x0, 0x18, 0x03a11820), + AZALIA_PIN_CFG(0, 0x18, 0x03a11820), /* Pin Complex (NID 0x19): 0x411111f0 MIC2 (Port-F) */ - AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0), + AZALIA_PIN_CFG(0, 0x19, 0x411111f0), /* Pin Complex (NID 0x1a): 0x411111f0 LINE1 (Port-C) */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1b): 0x411111f0 LINE2 (Port-E) */ - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), /* Pin Complex (NID 0x1d): 0x4016862d PC-BEEP */ - AZALIA_PIN_CFG(0x0, 0x1d, 0x4016862d), + AZALIA_PIN_CFG(0, 0x1d, 0x4016862d), /* Pin Complex (NID 0x1e): 0x411111f0 S/PDIF-OUT */ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* coreboot specific header */ 0x80862806, // Codec Vendor / Device ID: Intel PantherPoint HDMI @@ -63,16 +63,16 @@ const u32 cim_verb_data[] = { 0x00000004, // Number of jacks /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */ - AZALIA_SUBVENDOR(0x3, 0x80860101), + AZALIA_SUBVENDOR(3, 0x80860101), /* Pin Complex (NID 0x05) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x05, 0x18560010), + AZALIA_PIN_CFG(3, 0x05, 0x18560010), /* Pin Complex (NID 0x06) Not Connected */ - AZALIA_PIN_CFG(0x3, 0x06, 0x58560020), + AZALIA_PIN_CFG(3, 0x06, 0x58560020), /* Pin Complex (NID 0x07) Not Connected */ - AZALIA_PIN_CFG(0x3, 0x07, 0x58560030), + AZALIA_PIN_CFG(3, 0x07, 0x58560030), }; const u32 pc_beep_verbs[] = { diff --git a/src/mainboard/lenovo/x1_carbon_gen1/hda_verb.c b/src/mainboard/lenovo/x1_carbon_gen1/hda_verb.c index 8ea325805c..d07672d79b 100644 --- a/src/mainboard/lenovo/x1_carbon_gen1/hda_verb.c +++ b/src/mainboard/lenovo/x1_carbon_gen1/hda_verb.c @@ -20,25 +20,25 @@ const u32 cim_verb_data[] = { 0x10ec0269, /* Codec Vendor / Device ID: Realtek */ 0x17aa21f9, /* Subsystem ID */ 11, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x0, 0x17aa21f9), - AZALIA_PIN_CFG(0x0, 0x12, 0x90a60140), - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), - AZALIA_PIN_CFG(0x0, 0x15, 0x03211020), - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x18, 0x03a11830), - AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1d, 0x40138205), - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_SUBVENDOR(0, 0x17aa21f9), + AZALIA_PIN_CFG(0, 0x12, 0x90a60140), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x15, 0x03211020), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x03a11830), + AZALIA_PIN_CFG(0, 0x19, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1d, 0x40138205), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), 0x80862806, /* Codec Vendor / Device ID: Intel */ 0x80860101, /* Subsystem ID */ 4, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x3, 0x80860101), - AZALIA_PIN_CFG(0x3, 0x05, 0x18560010), - AZALIA_PIN_CFG(0x3, 0x06, 0x58560020), - AZALIA_PIN_CFG(0x3, 0x07, 0x58560030), + AZALIA_SUBVENDOR(3, 0x80860101), + AZALIA_PIN_CFG(3, 0x05, 0x18560010), + AZALIA_PIN_CFG(3, 0x06, 0x58560020), + AZALIA_PIN_CFG(3, 0x07, 0x58560030), }; const u32 pc_beep_verbs[0] = {}; diff --git a/src/mainboard/lenovo/x201/hda_verb.c b/src/mainboard/lenovo/x201/hda_verb.c index ee12d3adcd..37517fcb5d 100644 --- a/src/mainboard/lenovo/x201/hda_verb.c +++ b/src/mainboard/lenovo/x201/hda_verb.c @@ -20,25 +20,25 @@ const u32 cim_verb_data[] = { 0x14f15069, /* Codec Vendor / Device ID: Conexant CX20585 */ 0x17aa2155, /* Subsystem ID */ 11, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x0, 0x17aa2155), - AZALIA_PIN_CFG(0x0, 0x19, 0x042140f0), /* Headphone jack */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x61a190f0), /* Dock mic jack */ - AZALIA_PIN_CFG(0x0, 0x1b, 0x04a190f0), /* Mic jack */ - AZALIA_PIN_CFG(0x0, 0x1c, 0x612140f0), /* Dock headphone jack */ - AZALIA_PIN_CFG(0x0, 0x1d, 0x601700f0), /* EAPD detect */ - AZALIA_PIN_CFG(0x0, 0x1e, 0x40f001f0), - AZALIA_PIN_CFG(0x0, 0x1f, 0x901701f0), - AZALIA_PIN_CFG(0x0, 0x20, 0x40f001f0), - AZALIA_PIN_CFG(0x0, 0x22, 0x40f001f0), - AZALIA_PIN_CFG(0x0, 0x23, 0x90a601f0), /* Internal mic boost volume */ + AZALIA_SUBVENDOR(0, 0x17aa2155), + AZALIA_PIN_CFG(0, 0x19, 0x042140f0), /* Headphone jack */ + AZALIA_PIN_CFG(0, 0x1a, 0x61a190f0), /* Dock mic jack */ + AZALIA_PIN_CFG(0, 0x1b, 0x04a190f0), /* Mic jack */ + AZALIA_PIN_CFG(0, 0x1c, 0x612140f0), /* Dock headphone jack */ + AZALIA_PIN_CFG(0, 0x1d, 0x601700f0), /* EAPD detect */ + AZALIA_PIN_CFG(0, 0x1e, 0x40f001f0), + AZALIA_PIN_CFG(0, 0x1f, 0x901701f0), + AZALIA_PIN_CFG(0, 0x20, 0x40f001f0), + AZALIA_PIN_CFG(0, 0x22, 0x40f001f0), + AZALIA_PIN_CFG(0, 0x23, 0x90a601f0), /* Internal mic boost volume */ 0x80862804, /* Codec Vendor / Device ID: Intel Ibexpeak HDMI. */ 0x17aa21b5, /* Subsystem ID */ 4, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x3, 0x17aa21b5), - AZALIA_PIN_CFG(0x3, 0x04, 0x58560010), - AZALIA_PIN_CFG(0x3, 0x05, 0x18560020), - AZALIA_PIN_CFG(0x3, 0x06, 0x58560030), + AZALIA_SUBVENDOR(3, 0x17aa21b5), + AZALIA_PIN_CFG(3, 0x04, 0x58560010), + AZALIA_PIN_CFG(3, 0x05, 0x18560020), + AZALIA_PIN_CFG(3, 0x06, 0x58560030), }; const u32 pc_beep_verbs[0] = {}; diff --git a/src/mainboard/lenovo/x220/hda_verb.c b/src/mainboard/lenovo/x220/hda_verb.c index 00751c4d6f..470c639dff 100644 --- a/src/mainboard/lenovo/x220/hda_verb.c +++ b/src/mainboard/lenovo/x220/hda_verb.c @@ -26,18 +26,18 @@ const u32 cim_verb_data[] = { 0x14f1506e, /* Codec Vendor / Device ID: Conexant CX20590 */ 0x17aa21db, /* Subsystem ID */ 13, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x0, 0x17aa21db), + AZALIA_SUBVENDOR(0, 0x17aa21db), - AZALIA_PIN_CFG(0x0, 0x19, 0x04211040), - AZALIA_PIN_CFG(0x0, 0x1a, 0x61a19050), - AZALIA_PIN_CFG(0x0, 0x1b, 0x04a11060), - AZALIA_PIN_CFG(0x0, 0x1c, 0x6121401f), - AZALIA_PIN_CFG(0x0, 0x1d, 0x40f001f0), - AZALIA_PIN_CFG(0x0, 0x1e, 0x40f001f0), - AZALIA_PIN_CFG(0x0, 0x1f, 0x90170110), - AZALIA_PIN_CFG(0x0, 0x20, 0x40f001f0), - AZALIA_PIN_CFG(0x0, 0x22, 0x40f001f0), - AZALIA_PIN_CFG(0x0, 0x23, 0x90a60170), + AZALIA_PIN_CFG(0, 0x19, 0x04211040), + AZALIA_PIN_CFG(0, 0x1a, 0x61a19050), + AZALIA_PIN_CFG(0, 0x1b, 0x04a11060), + AZALIA_PIN_CFG(0, 0x1c, 0x6121401f), + AZALIA_PIN_CFG(0, 0x1d, 0x40f001f0), + AZALIA_PIN_CFG(0, 0x1e, 0x40f001f0), + AZALIA_PIN_CFG(0, 0x1f, 0x90170110), + AZALIA_PIN_CFG(0, 0x20, 0x40f001f0), + AZALIA_PIN_CFG(0, 0x22, 0x40f001f0), + AZALIA_PIN_CFG(0, 0x23, 0x90a60170), /* Misc entries */ 0x00b707C0, /* Enable PortB as Output with HP amp */ @@ -56,10 +56,10 @@ const u32 cim_verb_data[] = { 0x80862806, /* Codec Vendor / Device ID: Intel PantherPoint HDMI */ 0x80860101, /* Subsystem ID */ 4, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x3, 0x80860101), - AZALIA_PIN_CFG(0x3, 0x05, 0x18560010), - AZALIA_PIN_CFG(0x3, 0x06, 0x18560020), - AZALIA_PIN_CFG(0x3, 0x07, 0x18560030), + AZALIA_SUBVENDOR(3, 0x80860101), + AZALIA_PIN_CFG(3, 0x05, 0x18560010), + AZALIA_PIN_CFG(3, 0x06, 0x18560020), + AZALIA_PIN_CFG(3, 0x07, 0x18560030), }; const u32 pc_beep_verbs[] = { diff --git a/src/mainboard/lenovo/x230/hda_verb.c b/src/mainboard/lenovo/x230/hda_verb.c index ff1a2dd153..f5b5bfdab0 100644 --- a/src/mainboard/lenovo/x230/hda_verb.c +++ b/src/mainboard/lenovo/x230/hda_verb.c @@ -26,33 +26,33 @@ const u32 cim_verb_data[] = { 0x10ec0269, /* Codec Vendor / Device ID: Realtek ALC269VC */ 0x17aa21fa, /* Subsystem ID */ 19, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x0, 0x17aa21fa), + AZALIA_SUBVENDOR(0, 0x17aa21fa), /* Ext. Microphone Connector: External,Right; MicIn,3.5mm; Black,JD; DA,Seq */ - AZALIA_PIN_CFG(0x0, 0x0a, 0x04a11020), + AZALIA_PIN_CFG(0, 0x0a, 0x04a11020), /* Headphones Connector: External,Right; HP,3.5mm; Black,JD; DA,Seq */ - AZALIA_PIN_CFG(0x0, 0x0b, 0x0421101f), + AZALIA_PIN_CFG(0, 0x0b, 0x0421101f), /* Not connected: N/A,N/A; Other,Unknown; Unknown,JD; DA,Seq */ - AZALIA_PIN_CFG(0x0, 0x0c, 0x40f000f0), + AZALIA_PIN_CFG(0, 0x0c, 0x40f000f0), /* Internal Speakers Fixed,Int; Speaker,Other Analog; Unknown,nJD; DA,Seq */ - AZALIA_PIN_CFG(0x0, 0x0d, 0x90170110), + AZALIA_PIN_CFG(0, 0x0d, 0x90170110), /* Not connected */ - AZALIA_PIN_CFG(0x0, 0x0f, 0x40f000f0), + AZALIA_PIN_CFG(0, 0x0f, 0x40f000f0), /* Internal Microphone: Fixed,Int,Top; Mic In,ATIPI; Unknown,nJD; DA,Seq */ - AZALIA_PIN_CFG(0x0, 0x11, 0xd5a30140), - AZALIA_PIN_CFG(0x0, 0x12, 0x90a60140), - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), - AZALIA_PIN_CFG(0x0, 0x15, 0x03211020), - AZALIA_PIN_CFG(0x0, 0x18, 0x03a11830), - AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1d, 0x40138205), - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x11, 0xd5a30140), + AZALIA_PIN_CFG(0, 0x12, 0x90a60140), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x15, 0x03211020), + AZALIA_PIN_CFG(0, 0x18, 0x03a11830), + AZALIA_PIN_CFG(0, 0x19, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1d, 0x40138205), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* Misc entries */ 0x01970804, @@ -83,10 +83,10 @@ const u32 cim_verb_data[] = { 0x80862806, /* Codec Vendor / Device ID: Intel PantherPoint HDMI */ 0x80860101, /* Subsystem ID */ 4, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x3, 0x80860101), - AZALIA_PIN_CFG(0x3, 0x05, 0x18560010), - AZALIA_PIN_CFG(0x3, 0x06, 0x18560020), - AZALIA_PIN_CFG(0x3, 0x07, 0x18560030), + AZALIA_SUBVENDOR(3, 0x80860101), + AZALIA_PIN_CFG(3, 0x05, 0x18560010), + AZALIA_PIN_CFG(3, 0x06, 0x18560020), + AZALIA_PIN_CFG(3, 0x07, 0x18560030), }; const u32 pc_beep_verbs[] = { diff --git a/src/mainboard/lenovo/x60/hda_verb.c b/src/mainboard/lenovo/x60/hda_verb.c index 071249897c..91a071a67c 100644 --- a/src/mainboard/lenovo/x60/hda_verb.c +++ b/src/mainboard/lenovo/x60/hda_verb.c @@ -18,7 +18,7 @@ const u32 cim_verb_data[] = { 0x17aa2025, /* Subsystem ID */ 11, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x0, 0x17aa2025), + AZALIA_SUBVENDOR(0, 0x17aa2025), AZALIA_PIN_CFG(0, 0x05, 0xc3014110), AZALIA_PIN_CFG(0, 0x06, 0x4221401f), @@ -29,7 +29,7 @@ const u32 cim_verb_data[] = { AZALIA_PIN_CFG(0, 0x16, 0x59f311f0), AZALIA_PIN_CFG(0, 0x17, 0x59931122), AZALIA_PIN_CFG(0, 0x18, 0x41a19023), - AZALIA_PIN_CFG(0, 0x19, 0x9933e12e) + AZALIA_PIN_CFG(0, 0x19, 0x9933e12e), }; const u32 pc_beep_verbs[0] = {}; AZALIA_ARRAY_SIZES; |