summaryrefslogtreecommitdiff
path: root/src/mainboard/google/auron
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/auron
parent73c92dac0d400b5311546d9520c015169f819845 (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/google/auron')
-rw-r--r--src/mainboard/google/auron/variants/auron_paine/include/variant/hda_verb.h22
-rw-r--r--src/mainboard/google/auron/variants/auron_yuna/include/variant/hda_verb.h22
-rw-r--r--src/mainboard/google/auron/variants/gandof/include/variant/hda_verb.h22
-rw-r--r--src/mainboard/google/auron/variants/lulu/include/variant/hda_verb.h22
4 files changed, 44 insertions, 44 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 */