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/google | |
parent | 73c92dac0d400b5311546d9520c015169f819845 (diff) | |
download | coreboot-ec21170b876fc6af00141e409bba83d958dc3c6e.tar.xz |
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/google')
21 files changed, 246 insertions, 246 deletions
diff --git a/src/mainboard/google/auron/variants/auron_paine/include/variant/hda_verb.h b/src/mainboard/google/auron/variants/auron_paine/include/variant/hda_verb.h index f7cb2486ac..520879bd57 100644 --- a/src/mainboard/google/auron/variants/auron_paine/include/variant/hda_verb.h +++ b/src/mainboard/google/auron/variants/auron_paine/include/variant/hda_verb.h @@ -32,59 +32,59 @@ const u32 cim_verb_data[] = { /* Bits 7:0 - Payload */ /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0), + AZALIA_PIN_CFG(0, 0x12, 0x411111f0), /* Pin Complex (NID 0x14) SPKR-OUT - Internal Speakers */ // group 1, cap 0 // no connector, no jack detect // speaker out, analog // fixed function, internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB - Disabled */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* Pin Complex (NID 0x19) MIC2 - 3.5mm Jack */ // group2, cap 0 // black, jack detect // Mic in, 3.5mm Jack // connector, External left panel - AZALIA_PIN_CFG(0x0, 0x19, 0x03a11020), + AZALIA_PIN_CFG(0, 0x19, 0x03a11020), /* Pin Complex (NID 0x1A) LINE1 - Internal Mic */ // group 1, cap 1 // no connector, no jack detect // mic in, analog connection // Fixed function, internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x1A, 0x90a70111), + AZALIA_PIN_CFG(0, 0x1A, 0x90a70111), /* Pin Complex (NID 0x1B) LINE2 - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1B, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1B, 0x411111f0), /* Pin Complex (NID 0x1D) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, Internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x1D, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1D, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled*/ - AZALIA_PIN_CFG(0x0, 0x1E, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1E, 0x411111f0), /* Pin Complex (NID 0x21) HP-OUT - 3.5mm Jack*/ // group2, cap 1 // black, jack detect // HPOut, 3.5mm Jack // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x03211021), + AZALIA_PIN_CFG(0, 0x21, 0x03211021), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/auron/variants/auron_yuna/include/variant/hda_verb.h b/src/mainboard/google/auron/variants/auron_yuna/include/variant/hda_verb.h index e283e954bb..31b97a045a 100644 --- a/src/mainboard/google/auron/variants/auron_yuna/include/variant/hda_verb.h +++ b/src/mainboard/google/auron/variants/auron_yuna/include/variant/hda_verb.h @@ -32,55 +32,55 @@ const u32 cim_verb_data[] = { /* Bits 7:0 - Payload */ /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - Enabled */ - AZALIA_PIN_CFG(0x0, 0x12, 0x90a60130), + AZALIA_PIN_CFG(0, 0x12, 0x90a60130), /* Pin Complex (NID 0x14) SPKR-OUT - Internal Speakers */ // group 1, cap 0 // no connector, no jack detect // speaker out, analog // fixed function, internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* Pin Complex (NID 0x17) MONO Out - Enabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x40000008), + AZALIA_PIN_CFG(0, 0x17, 0x40000008), /* Pin Complex (NID 0x18) Disabled */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* Pin Complex (NID 0x19) MIC2 - 3.5mm Jack */ // group2, cap 0 // black, jack detect // Mic in, 3.5mm Jack // connector, External left panel - AZALIA_PIN_CFG(0x0, 0x19, 0x03a11020), + AZALIA_PIN_CFG(0, 0x19, 0x03a11020), /* Pin Complex (NID 0x1A) LINE1 - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1A, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1A, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1B, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1B, 0x411111f0), /* Pin Complex (NID 0x1D) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, Internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x1D, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1D, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled*/ - AZALIA_PIN_CFG(0x0, 0x1E, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1E, 0x411111f0), /* Pin Complex (NID 0x21) HP-OUT - 3.5mm Jack*/ // group1 // black, jack detect // HPOut, 3.5mm Jack // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f), + AZALIA_PIN_CFG(0, 0x21, 0x0321101f), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/auron/variants/gandof/include/variant/hda_verb.h b/src/mainboard/google/auron/variants/gandof/include/variant/hda_verb.h index dc2d534a65..48419741ce 100644 --- a/src/mainboard/google/auron/variants/gandof/include/variant/hda_verb.h +++ b/src/mainboard/google/auron/variants/gandof/include/variant/hda_verb.h @@ -32,7 +32,7 @@ const u32 cim_verb_data[] = { /* Bits 7:0 - Payload */ /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ @@ -41,50 +41,50 @@ const u32 cim_verb_data[] = { // no connector, no jack detect // mic in, digital // fixed function, internal - AZALIA_PIN_CFG(0x0, 0x12, 0x90a60130), + AZALIA_PIN_CFG(0, 0x12, 0x90a60130), /* Pin Complex (NID 0x14) SPKR-OUT - Internal Speakers */ // group 1, cap 0 // no connector, no jack detect // speaker out, analog // fixed function, internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB - Disabled */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* Pin Complex (NID 0x19) MIC2 - 3.5mm Jack */ // group2, cap 0 // black, jack detect // Mic in, 3.5mm Jack // connector, External left panel - AZALIA_PIN_CFG(0x0, 0x19, 0x03a11020), + AZALIA_PIN_CFG(0, 0x19, 0x03a11020), /* Pin Complex (NID 0x1A) LINE1 - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1A, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1A, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1B, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1B, 0x411111f0), /* Pin Complex (NID 0x1D) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, Internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x1D, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1D, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1E, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1E, 0x411111f0), /* Pin Complex (NID 0x21) HP-OUT - 3.5mm Jack */ // group2, cap 1 // black, jack detect // HPOut, 3.5mm Jack // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x03211021), + AZALIA_PIN_CFG(0, 0x21, 0x03211021), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/auron/variants/lulu/include/variant/hda_verb.h b/src/mainboard/google/auron/variants/lulu/include/variant/hda_verb.h index a214a50eef..e00d5b0cda 100644 --- a/src/mainboard/google/auron/variants/lulu/include/variant/hda_verb.h +++ b/src/mainboard/google/auron/variants/lulu/include/variant/hda_verb.h @@ -32,7 +32,7 @@ const u32 cim_verb_data[] = { /* Bits 7:0 - Payload */ /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ @@ -41,50 +41,50 @@ const u32 cim_verb_data[] = { // no connector, no jack detect // mic in, digital // fixed function, internal - AZALIA_PIN_CFG(0x0, 0x12, 0x90a60130), + AZALIA_PIN_CFG(0, 0x12, 0x90a60130), /* Pin Complex (NID 0x14) SPKR-OUT - Internal Speakers */ // group 1, cap 0 // no connector, no jack detect // speaker out, analog // fixed function, internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB - Disabled */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* Pin Complex (NID 0x19) MIC2 - 3.5mm Jack */ // group2, cap 0 // black, jack detect // Mic in, 3.5mm Jack // connector, External left panel - AZALIA_PIN_CFG(0x0, 0x19, 0x03a11020), + AZALIA_PIN_CFG(0, 0x19, 0x03a11020), /* Pin Complex (NID 0x1A) LINE1 - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1A, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1A, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1B, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1B, 0x411111f0), /* Pin Complex (NID 0x1D) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, Internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1d, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled*/ - AZALIA_PIN_CFG(0x0, 0x1E, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1E, 0x411111f0), /* Pin Complex (NID 0x21) HP-OUT - 3.5mm Jack*/ // group2, cap 1 // black, jack detect // HPOut, 3.5mm Jack // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x03211021), + AZALIA_PIN_CFG(0, 0x21, 0x03211021), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/beltino/variants/mccloud/hda_verb.c b/src/mainboard/google/beltino/variants/mccloud/hda_verb.c index 233a8eecca..6b319dbb52 100644 --- a/src/mainboard/google/beltino/variants/mccloud/hda_verb.c +++ b/src/mainboard/google/beltino/variants/mccloud/hda_verb.c @@ -30,51 +30,51 @@ const u32 cim_verb_data[] = { 0x000F0002, // Pad - get revision id /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0), + AZALIA_PIN_CFG(0, 0x12, 0x411111f0), /* Pin Complex (NID 0x14) SPKR-OUT PORTD - Disabled */ - AZALIA_PIN_CFG(0x0, 0x14, 0x401111f0), + AZALIA_PIN_CFG(0, 0x14, 0x401111f0), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB */ // group 1, cap 1 // black, jack detect // mic in, analog // connector, left panel - AZALIA_PIN_CFG(0x0, 0x19, 0x03a71011), + AZALIA_PIN_CFG(0, 0x19, 0x03a71011), /* Pin Complex (NID 0x19) MIC2 PORTF - Disabled */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* Pin Complex (NID 0x1A) LINE1 PORTC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 PORTE - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1d) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, internal - AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1d, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* Pin Complex (NID 0x21) HPOUT PORT-I */ // group1, // black, jack detect // HPOut, 1/8 stereo // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f), + AZALIA_PIN_CFG(0, 0x21, 0x0321101f), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/beltino/variants/monroe/hda_verb.c b/src/mainboard/google/beltino/variants/monroe/hda_verb.c index 8281fb86d0..5af715d9f3 100644 --- a/src/mainboard/google/beltino/variants/monroe/hda_verb.c +++ b/src/mainboard/google/beltino/variants/monroe/hda_verb.c @@ -30,43 +30,43 @@ const u32 cim_verb_data[] = { 0x000F0002, // Pad - get revision id /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - internal mic */ - AZALIA_PIN_CFG(0x0, 0x12, 0xb7a60110), + AZALIA_PIN_CFG(0, 0x12, 0xb7a60110), /* Pin Complex (NID 0x14) SPKR-OUT PORTD - Disabled */ - AZALIA_PIN_CFG(0x0, 0x14, 0x401111f0), + AZALIA_PIN_CFG(0, 0x14, 0x401111f0), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB - Disabled*/ - AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0), + AZALIA_PIN_CFG(0, 0x19, 0x411111f0), /* Pin Complex (NID 0x19) MIC2 PORTF - 3.5mm Jack*/ - AZALIA_PIN_CFG(0x0, 0x18, 0x03a11020), + AZALIA_PIN_CFG(0, 0x18, 0x03a11020), /* Pin Complex (NID 0x1A) LINE1 PORTC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 PORTE - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1d) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, internal - AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1d, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* Pin Complex (NID 0x21) HPOUT PORT-I - Disabled */ - AZALIA_PIN_CFG(0x0, 0x21, 0x411111f0), + AZALIA_PIN_CFG(0, 0x21, 0x411111f0), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/beltino/variants/panther/hda_verb.c b/src/mainboard/google/beltino/variants/panther/hda_verb.c index 233a8eecca..6b319dbb52 100644 --- a/src/mainboard/google/beltino/variants/panther/hda_verb.c +++ b/src/mainboard/google/beltino/variants/panther/hda_verb.c @@ -30,51 +30,51 @@ const u32 cim_verb_data[] = { 0x000F0002, // Pad - get revision id /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0), + AZALIA_PIN_CFG(0, 0x12, 0x411111f0), /* Pin Complex (NID 0x14) SPKR-OUT PORTD - Disabled */ - AZALIA_PIN_CFG(0x0, 0x14, 0x401111f0), + AZALIA_PIN_CFG(0, 0x14, 0x401111f0), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB */ // group 1, cap 1 // black, jack detect // mic in, analog // connector, left panel - AZALIA_PIN_CFG(0x0, 0x19, 0x03a71011), + AZALIA_PIN_CFG(0, 0x19, 0x03a71011), /* Pin Complex (NID 0x19) MIC2 PORTF - Disabled */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* Pin Complex (NID 0x1A) LINE1 PORTC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 PORTE - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1d) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, internal - AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1d, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* Pin Complex (NID 0x21) HPOUT PORT-I */ // group1, // black, jack detect // HPOut, 1/8 stereo // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f), + AZALIA_PIN_CFG(0, 0x21, 0x0321101f), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/beltino/variants/tricky/hda_verb.c b/src/mainboard/google/beltino/variants/tricky/hda_verb.c index 233a8eecca..6b319dbb52 100644 --- a/src/mainboard/google/beltino/variants/tricky/hda_verb.c +++ b/src/mainboard/google/beltino/variants/tricky/hda_verb.c @@ -30,51 +30,51 @@ const u32 cim_verb_data[] = { 0x000F0002, // Pad - get revision id /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0), + AZALIA_PIN_CFG(0, 0x12, 0x411111f0), /* Pin Complex (NID 0x14) SPKR-OUT PORTD - Disabled */ - AZALIA_PIN_CFG(0x0, 0x14, 0x401111f0), + AZALIA_PIN_CFG(0, 0x14, 0x401111f0), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB */ // group 1, cap 1 // black, jack detect // mic in, analog // connector, left panel - AZALIA_PIN_CFG(0x0, 0x19, 0x03a71011), + AZALIA_PIN_CFG(0, 0x19, 0x03a71011), /* Pin Complex (NID 0x19) MIC2 PORTF - Disabled */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* Pin Complex (NID 0x1A) LINE1 PORTC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 PORTE - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1d) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, internal - AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1d, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* Pin Complex (NID 0x21) HPOUT PORT-I */ // group1, // black, jack detect // HPOut, 1/8 stereo // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f), + AZALIA_PIN_CFG(0, 0x21, 0x0321101f), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/beltino/variants/zako/hda_verb.c b/src/mainboard/google/beltino/variants/zako/hda_verb.c index 233a8eecca..6b319dbb52 100644 --- a/src/mainboard/google/beltino/variants/zako/hda_verb.c +++ b/src/mainboard/google/beltino/variants/zako/hda_verb.c @@ -30,51 +30,51 @@ const u32 cim_verb_data[] = { 0x000F0002, // Pad - get revision id /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0), + AZALIA_PIN_CFG(0, 0x12, 0x411111f0), /* Pin Complex (NID 0x14) SPKR-OUT PORTD - Disabled */ - AZALIA_PIN_CFG(0x0, 0x14, 0x401111f0), + AZALIA_PIN_CFG(0, 0x14, 0x401111f0), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB */ // group 1, cap 1 // black, jack detect // mic in, analog // connector, left panel - AZALIA_PIN_CFG(0x0, 0x19, 0x03a71011), + AZALIA_PIN_CFG(0, 0x19, 0x03a71011), /* Pin Complex (NID 0x19) MIC2 PORTF - Disabled */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* Pin Complex (NID 0x1A) LINE1 PORTC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 PORTE - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1d) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, internal - AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1d, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* Pin Complex (NID 0x21) HPOUT PORT-I */ // group1, // black, jack detect // HPOut, 1/8 stereo // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f), + AZALIA_PIN_CFG(0, 0x21, 0x0321101f), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/butterfly/hda_verb.c b/src/mainboard/google/butterfly/hda_verb.c index 231c188d17..973bf73978 100644 --- a/src/mainboard/google/butterfly/hda_verb.c +++ b/src/mainboard/google/butterfly/hda_verb.c @@ -20,25 +20,25 @@ const u32 cim_verb_data[] = { 0x111d76e5, // Codec Vendor / Device ID: IDT 92HD99 0x103c18f9, // Subsystem ID 115, // Number of 4 dword sets - AZALIA_SUBVENDOR(0x0, 0x103c18F9), + AZALIA_SUBVENDOR(0, 0x103c18F9), /* 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(0, 0x11, 0xd5a30140), /* * Hardware EQ Parameters @@ -175,10 +175,10 @@ const u32 cim_verb_data[] = { 0x80860101, // Subsystem ID // Revision ID: 0x100000 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/google/drallion/variants/drallion/include/variant/hda_verb.h b/src/mainboard/google/drallion/variants/drallion/include/variant/hda_verb.h index 10fbaf13f5..d50fc1e34a 100644 --- a/src/mainboard/google/drallion/variants/drallion/include/variant/hda_verb.h +++ b/src/mainboard/google/drallion/variants/drallion/include/variant/hda_verb.h @@ -27,21 +27,21 @@ const u32 cim_verb_data[] = { /* Rest Codec First */ AZALIA_RESET(0x1), /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x102808b6), + AZALIA_SUBVENDOR(0, 0x102808b6), /* Pin Widget Verb Table */ - AZALIA_PIN_CFG(0x0, 0x12, 0xb7a60130), - AZALIA_PIN_CFG(0x0, 0x13, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), - AZALIA_PIN_CFG(0x0, 0x16, 0x40000000), - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x19, 0x04a11030), - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1d, 0x40c00001), - AZALIA_PIN_CFG(0x0, 0x1e, 0x421212f2), - AZALIA_PIN_CFG(0x0, 0x21, 0x04211020), + AZALIA_PIN_CFG(0, 0x12, 0xb7a60130), + AZALIA_PIN_CFG(0, 0x13, 0x411111f0), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x16, 0x40000000), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x19, 0x04a11030), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1d, 0x40c00001), + AZALIA_PIN_CFG(0, 0x1e, 0x421212f2), + AZALIA_PIN_CFG(0, 0x21, 0x04211020), /* D reset */ 0x0205003C, diff --git a/src/mainboard/google/jecht/hda_verb.c b/src/mainboard/google/jecht/hda_verb.c index 01ba78f34b..535e7e8600 100644 --- a/src/mainboard/google/jecht/hda_verb.c +++ b/src/mainboard/google/jecht/hda_verb.c @@ -27,51 +27,51 @@ const u32 cim_verb_data[] = { 0x000F0002, // Pad - get revision id /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0), + AZALIA_PIN_CFG(0, 0x12, 0x411111f0), /* Pin Complex (NID 0x14) SPKR-OUT PORTD - Disabled */ - AZALIA_PIN_CFG(0x0, 0x14, 0x411111f0), + AZALIA_PIN_CFG(0, 0x14, 0x411111f0), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB */ // group 1, cap 1 // black, jack detect // mic in, analog // connector, left panel - AZALIA_PIN_CFG(0x0, 0x18, 0x03a71011), + AZALIA_PIN_CFG(0, 0x18, 0x03a71011), /* Pin Complex (NID 0x19) MIC2 PORTF - Disabled */ - AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0), + AZALIA_PIN_CFG(0, 0x19, 0x411111f0), /* Pin Complex (NID 0x1A) LINE1 PORTC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1A, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1A, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 PORTE - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1B, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1B, 0x411111f0), /* Pin Complex (NID 0x1D) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, internal - AZALIA_PIN_CFG(0x0, 0x1D, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1D, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1E, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1E, 0x411111f0), /* Pin Complex (NID 0x21) HPOUT PORT-I */ // group1, // black, jack detect // HPOut, 1/8 stereo // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f), + AZALIA_PIN_CFG(0, 0x21, 0x0321101f), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/link/hda_verb.c b/src/mainboard/google/link/hda_verb.c index b824f0fc9a..11c92a9ed6 100644 --- a/src/mainboard/google/link/hda_verb.c +++ b/src/mainboard/google/link/hda_verb.c @@ -76,34 +76,34 @@ const u32 cim_verb_data[] = { /* Pin Widget Verb Table */ /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x144DC0C2 */ - AZALIA_SUBVENDOR(0x0, 0x144dc0c2), + AZALIA_SUBVENDOR(0, 0x144dc0c2), /* Pin Complex (NID 0x0B) Port-G Analog Unknown Speaker at Int N/A */ - AZALIA_PIN_CFG(0x0, 0x0b, 0x901700f0), + AZALIA_PIN_CFG(0, 0x0b, 0x901700f0), /* Pin Complex (NID 0x0C) N/C */ - AZALIA_PIN_CFG(0x0, 0x0c, 0x70f000f0), + AZALIA_PIN_CFG(0, 0x0c, 0x70f000f0), /* Pin Complex (NID 0x0D) N/C */ - AZALIA_PIN_CFG(0x0, 0x0d, 0x70f000f0), + AZALIA_PIN_CFG(0, 0x0d, 0x70f000f0), /* Pin Complex (NID 0x0E) N/C */ - AZALIA_PIN_CFG(0x0, 0x0e, 0x70f000f0), + AZALIA_PIN_CFG(0, 0x0e, 0x70f000f0), /* Pin Complex (NID 0x0F) N/C */ - AZALIA_PIN_CFG(0x0, 0x0f, 0x70f000f0), + AZALIA_PIN_CFG(0, 0x0f, 0x70f000f0), /* Pin Complex (NID 0x10) Port-D 1/8 Black HP Out at Ext Left */ - AZALIA_PIN_CFG(0x0, 0x10, 0x032110f0), + AZALIA_PIN_CFG(0, 0x10, 0x032110f0), /* Pin Complex (NID 0x11) Port-B Click Mic */ - AZALIA_PIN_CFG(0x0, 0x11, 0x90a700f0), + AZALIA_PIN_CFG(0, 0x11, 0x90a700f0), /* Pin Complex (NID 0x12) Port-C Combo Jack Mic or D-Mic */ - AZALIA_PIN_CFG(0x0, 0x12, 0x03a110f0), + AZALIA_PIN_CFG(0, 0x12, 0x03a110f0), /* Pin Complex (NID 0x13) What you hear */ - AZALIA_PIN_CFG(0x0, 0x13, 0x90d600f0), + AZALIA_PIN_CFG(0, 0x13, 0x90d600f0), /* coreboot specific header */ 0x80862806, // Codec Vendor / Device ID: Intel CougarPoint HDMI @@ -111,16 +111,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) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x06, 0x18560020), + AZALIA_PIN_CFG(3, 0x06, 0x18560020), /* Pin Complex (NID 0x07) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x07, 0x18560030) + AZALIA_PIN_CFG(3, 0x07, 0x18560030), }; diff --git a/src/mainboard/google/parrot/hda_verb.c b/src/mainboard/google/parrot/hda_verb.c index e0454c7824..6a015e77fc 100644 --- a/src/mainboard/google/parrot/hda_verb.c +++ b/src/mainboard/google/parrot/hda_verb.c @@ -38,59 +38,59 @@ const u32 cim_verb_data[] = { /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x10250742 */ - AZALIA_SUBVENDOR(0x0, 0x10250742), + AZALIA_SUBVENDOR(0, 0x10250742), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC */ - AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0), + AZALIA_PIN_CFG(0, 0x12, 0x411111f0), /* Pin Complex (NID 0x14) SPKR-OUT PORTD */ // group 1, front left/right // no connector, no jack detect // speaker out, analog // fixed function, internal - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* Pin Complex (NID 0x17) */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* Pin Complex (NID 0x19) MIC2 PORTF */ // group 2, cap 1 // black, jack detect // mic in, analog // connector, right panel - AZALIA_PIN_CFG(0x0, 0x19, 0x04a71021), + AZALIA_PIN_CFG(0, 0x19, 0x04a71021), /* Pin Complex (NID 0x1A) LINE1 PORTC */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 PORTE */ // group 2, cap 0 // no connector, no jack detect // mic in, analog // fixed function, internal - AZALIA_PIN_CFG(0x0, 0x1b, 0x90a70120), + AZALIA_PIN_CFG(0, 0x1b, 0x90a70120), /* Pin Complex (NID 0x1d) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, internal - AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1d, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT */ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* Pin Complex (NID 0x21) HPOUT PORTA? */ // group1, // black, jack detect // HPOut, 1/8 stereo // connector, right panel - AZALIA_PIN_CFG(0x0, 0x21, 0x0421101f), + AZALIA_PIN_CFG(0, 0x21, 0x0421101f), /* Undocumented speaker output volume settings from Compal and Realtek */ /* Widget node 0x20 */ @@ -117,16 +117,16 @@ const u32 cim_verb_data[] = { 0x00000004, // Number of jacks /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */ - AZALIA_SUBVENDOR(0x0, 0x80860101), + AZALIA_SUBVENDOR(0, 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) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x06, 0x18560020), + AZALIA_PIN_CFG(3, 0x06, 0x18560020), /* Pin Complex (NID 0x07) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x07, 0x18560030) + AZALIA_PIN_CFG(3, 0x07, 0x18560030), }; const u32 pc_beep_verbs[] = { diff --git a/src/mainboard/google/sarien/variants/arcada/include/variant/hda_verb.h b/src/mainboard/google/sarien/variants/arcada/include/variant/hda_verb.h index 10fbaf13f5..d50fc1e34a 100644 --- a/src/mainboard/google/sarien/variants/arcada/include/variant/hda_verb.h +++ b/src/mainboard/google/sarien/variants/arcada/include/variant/hda_verb.h @@ -27,21 +27,21 @@ const u32 cim_verb_data[] = { /* Rest Codec First */ AZALIA_RESET(0x1), /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x102808b6), + AZALIA_SUBVENDOR(0, 0x102808b6), /* Pin Widget Verb Table */ - AZALIA_PIN_CFG(0x0, 0x12, 0xb7a60130), - AZALIA_PIN_CFG(0x0, 0x13, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), - AZALIA_PIN_CFG(0x0, 0x16, 0x40000000), - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x19, 0x04a11030), - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1d, 0x40c00001), - AZALIA_PIN_CFG(0x0, 0x1e, 0x421212f2), - AZALIA_PIN_CFG(0x0, 0x21, 0x04211020), + AZALIA_PIN_CFG(0, 0x12, 0xb7a60130), + AZALIA_PIN_CFG(0, 0x13, 0x411111f0), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x16, 0x40000000), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x19, 0x04a11030), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1d, 0x40c00001), + AZALIA_PIN_CFG(0, 0x1e, 0x421212f2), + AZALIA_PIN_CFG(0, 0x21, 0x04211020), /* D reset */ 0x0205003C, diff --git a/src/mainboard/google/sarien/variants/sarien/include/variant/hda_verb.h b/src/mainboard/google/sarien/variants/sarien/include/variant/hda_verb.h index 6eb6d14f6b..e2c0647f12 100644 --- a/src/mainboard/google/sarien/variants/sarien/include/variant/hda_verb.h +++ b/src/mainboard/google/sarien/variants/sarien/include/variant/hda_verb.h @@ -27,19 +27,19 @@ const u32 cim_verb_data[] = { /* Rest Codec First */ AZALIA_RESET(0x1), /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x102808b8), + AZALIA_SUBVENDOR(0, 0x102808b8), /* Pin Widget Verb Table */ - AZALIA_PIN_CFG(0x0, 0x12, 0x90a60140), - AZALIA_PIN_CFG(0x0, 0x13, 0x40000000), - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x19, 0x04a11030), - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1d, 0x40700001), - AZALIA_PIN_CFG(0x0, 0x1e, 0x421212f2), - AZALIA_PIN_CFG(0x0, 0x21, 0x04211020), + AZALIA_PIN_CFG(0, 0x12, 0x90a60140), + AZALIA_PIN_CFG(0, 0x13, 0x40000000), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x19, 0x04a11030), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1d, 0x40700001), + AZALIA_PIN_CFG(0, 0x1e, 0x421212f2), + AZALIA_PIN_CFG(0, 0x21, 0x04211020), /* ALC3204 default-1 */ 0x02050040, diff --git a/src/mainboard/google/slippy/variants/falco/hda_verb.c b/src/mainboard/google/slippy/variants/falco/hda_verb.c index 3d12d8aa37..02d39072ae 100644 --- a/src/mainboard/google/slippy/variants/falco/hda_verb.c +++ b/src/mainboard/google/slippy/variants/falco/hda_verb.c @@ -27,55 +27,55 @@ const u32 cim_verb_data[] = { 0x000F0002, // Pad - get revision id /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - interior mobile lid */ - AZALIA_PIN_CFG(0x0, 0x12, 0xb7a60110), + AZALIA_PIN_CFG(0, 0x12, 0xb7a60110), /* Pin Complex (NID 0x14) SPKR-OUT PORTD */ // group 1, front left/right // no connector, no jack detect // speaker out, analog // fixed function, internal - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB - Disabled */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* Pin Complex (NID 0x19) MIC2 PORTF */ // group 1, cap 1 // black, jack detect // mic in, analog // connector, left panel - AZALIA_PIN_CFG(0x0, 0x19, 0x03a71011), + AZALIA_PIN_CFG(0, 0x19, 0x03a71011), /* Pin Complex (NID 0x1A) LINE1 PORTC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 PORTE - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), /* Pin Complex (NID 0x1d) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, internal - AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1d, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* Pin Complex (NID 0x21) HPOUT PORT-I */ // group1, // black, jack detect // HPOut, 1/8 stereo // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f), + AZALIA_PIN_CFG(0, 0x21, 0x0321101f), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/slippy/variants/leon/hda_verb.c b/src/mainboard/google/slippy/variants/leon/hda_verb.c index 39a5c78e83..6e01ca58aa 100644 --- a/src/mainboard/google/slippy/variants/leon/hda_verb.c +++ b/src/mainboard/google/slippy/variants/leon/hda_verb.c @@ -27,55 +27,55 @@ const u32 cim_verb_data[] = { 0x000F0002, // Pad - get revision id /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - Internal Mic */ - AZALIA_PIN_CFG(0x0, 0x12, 0xb7a61010), + AZALIA_PIN_CFG(0, 0x12, 0xb7a61010), /* Pin Complex (NID 0x14) SPKR-OUT - Internal Speakers */ // group 1, cap 0 // no connector, no jack detect // speaker out, analog // fixed function, internal - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB - Disabled */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* Pin Complex (NID 0x19) MIC2 - 3.5mm Jack */ // group2, cap 0 // black, jack detect // Mic in, 3.5mm Jack // connector, External left panel - AZALIA_PIN_CFG(0x0, 0x19, 0x03a11020), + AZALIA_PIN_CFG(0, 0x19, 0x03a11020), /* Pin Complex (NID 0x1A) LINE1 - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), /* Pin Complex (NID 0x1D) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, Internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1d, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled*/ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* Pin Complex (NID 0x21) HP-OUT - 3.5mm Jack*/ // group2, cap 1 // black, jack detect // HPOut, 3.5mm Jack // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x03211021), + AZALIA_PIN_CFG(0, 0x21, 0x03211021), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/slippy/variants/peppy/hda_verb.c b/src/mainboard/google/slippy/variants/peppy/hda_verb.c index a5ec9bb2a6..4d6ef3430a 100644 --- a/src/mainboard/google/slippy/variants/peppy/hda_verb.c +++ b/src/mainboard/google/slippy/variants/peppy/hda_verb.c @@ -27,59 +27,59 @@ const u32 cim_verb_data[] = { 0x000F0002, // Pad - get revision id /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0), + AZALIA_PIN_CFG(0, 0x12, 0x411111f0), /* Pin Complex (NID 0x14) SPKR-OUT - Internal Speakers */ // group 1, cap 0 // no connector, no jack detect // speaker out, analog // fixed function, internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB - Disabled */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* Pin Complex (NID 0x19) MIC2 - 3.5mm Jack */ // group2, cap 0 // black, jack detect // Mic in, 3.5mm Jack // connector, External left panel - AZALIA_PIN_CFG(0x0, 0x19, 0x03a11020), + AZALIA_PIN_CFG(0, 0x19, 0x03a11020), /* Pin Complex (NID 0x1A) LINE1 - Internal Mic */ // group 1, cap 1 // no connector, no jack detect // mic in, analog connection // Fixed function, internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x1a, 0x90a70111), + AZALIA_PIN_CFG(0, 0x1a, 0x90a70111), /* Pin Complex (NID 0x1B) LINE2 - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), /* Pin Complex (NID 0x1D) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, Internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1d, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled*/ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* Pin Complex (NID 0x21) HP-OUT - 3.5mm Jack*/ // group2, cap 1 // black, jack detect // HPOut, 3.5mm Jack // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x03211021), + AZALIA_PIN_CFG(0, 0x21, 0x03211021), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/slippy/variants/wolf/hda_verb.c b/src/mainboard/google/slippy/variants/wolf/hda_verb.c index 56fe320082..11ff65b1c0 100644 --- a/src/mainboard/google/slippy/variants/wolf/hda_verb.c +++ b/src/mainboard/google/slippy/variants/wolf/hda_verb.c @@ -32,55 +32,55 @@ const u32 cim_verb_data[] = { /* Bits 7:0 - Payload */ /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - interior mobile lid */ - AZALIA_PIN_CFG(0x0, 0x12, 0xb7a60110), + AZALIA_PIN_CFG(0, 0x12, 0xb7a60110), /* Pin Complex (NID 0x14) SPKR-OUT - Internal Speakers */ // group 1, cap 0 // no connector, no jack detect // speaker out, analog // fixed function, internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB - Disabled */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* Pin Complex (NID 0x19) MIC2 - 3.5mm Jack */ // group2, cap 0 // black, jack detect // Mic in, 3.5mm Jack // connector, External left panel - AZALIA_PIN_CFG(0x0, 0x19, 0x03a11020), + AZALIA_PIN_CFG(0, 0x19, 0x03a11020), /* Pin Complex (NID 0x1A) LINE1 PORTC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), /* Pin Complex (NID 0x1D) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, Internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1d, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled*/ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* Pin Complex (NID 0x21) HP-OUT - 3.5mm Jack*/ // group2, cap 1 // black, jack detect // HPOut, 3.5mm Jack // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x03211021), + AZALIA_PIN_CFG(0, 0x21, 0x03211021), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/stout/hda_verb.c b/src/mainboard/google/stout/hda_verb.c index 46ca274799..abaa8020f8 100644 --- a/src/mainboard/google/stout/hda_verb.c +++ b/src/mainboard/google/stout/hda_verb.c @@ -22,39 +22,39 @@ const u32 cim_verb_data[] = { 0x0000000c, // 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), /* Stout MIC detect setup */ 0x02050018, @@ -68,16 +68,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[] = { |