summaryrefslogtreecommitdiff
path: root/src/mainboard/google/beltino
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2019-12-19 19:37:21 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-01-02 14:26:10 +0000
commitec21170b876fc6af00141e409bba83d958dc3c6e (patch)
treec9d7ed33d76cd210a7b77f803c2d67f60501050f /src/mainboard/google/beltino
parent73c92dac0d400b5311546d9520c015169f819845 (diff)
downloadcoreboot-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/beltino')
-rw-r--r--src/mainboard/google/beltino/variants/mccloud/hda_verb.c22
-rw-r--r--src/mainboard/google/beltino/variants/monroe/hda_verb.c22
-rw-r--r--src/mainboard/google/beltino/variants/panther/hda_verb.c22
-rw-r--r--src/mainboard/google/beltino/variants/tricky/hda_verb.c22
-rw-r--r--src/mainboard/google/beltino/variants/zako/hda_verb.c22
5 files changed, 55 insertions, 55 deletions
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 */