summaryrefslogtreecommitdiff
path: root/src/mainboard/google/auron
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2024-06-06 18:07:54 +0200
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2024-06-07 11:13:19 +0000
commitca9f94854176808651d075b968aa7551cf4d2ae6 (patch)
treec8352dbe2f1adaa340029f329c87920721be4be7 /src/mainboard/google/auron
parent14feda4412d0365471b46f5c2d087e02e5182d77 (diff)
mb/**/hda_verb: Use `AZALIA_PIN_CFG_NC(0)`
Replace `0x411111f0` with `AZALIA_PIN_CFG_NC(0)`, which evaluates to the same value and conveys additional information to the reader. Done with a bulk search and replace operation. Change-Id: Ibd84daec017bc1ab1ee4edd906fda80231c134cc Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82394 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'src/mainboard/google/auron')
-rw-r--r--src/mainboard/google/auron/variants/auron_paine/include/variant/hda_verb.h10
-rw-r--r--src/mainboard/google/auron/variants/auron_yuna/include/variant/hda_verb.h8
-rw-r--r--src/mainboard/google/auron/variants/gandof/include/variant/hda_verb.h10
-rw-r--r--src/mainboard/google/auron/variants/lulu/include/variant/hda_verb.h10
4 files changed, 19 insertions, 19 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 4d269aedaf..4097b4a3a8 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
@@ -24,7 +24,7 @@ const u32 cim_verb_data[] = {
/* Pin Widget Verb Table */
/* Pin Complex (NID 0x12) DMIC - Disabled */
- AZALIA_PIN_CFG(0, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x12, AZALIA_PIN_CFG_NC(0)),
/* Pin Complex (NID 0x14) SPKR-OUT - Internal Speakers */
// group 1, cap 0
@@ -34,10 +34,10 @@ const u32 cim_verb_data[] = {
AZALIA_PIN_CFG(0, 0x14, 0x90170110),
/* Pin Complex (NID 0x17) MONO Out - Disabled */
- AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, AZALIA_PIN_CFG_NC(0)),
/* Pin Complex (NID 0x18) MIC1 PORTB - Disabled */
- AZALIA_PIN_CFG(0, 0x18, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, AZALIA_PIN_CFG_NC(0)),
/* Pin Complex (NID 0x19) MIC2 - 3.5mm Jack */
// group2, cap 0
@@ -54,7 +54,7 @@ const u32 cim_verb_data[] = {
AZALIA_PIN_CFG(0, 0x1A, 0x90a70111),
/* Pin Complex (NID 0x1B) LINE2 - Disabled */
- AZALIA_PIN_CFG(0, 0x1B, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1B, AZALIA_PIN_CFG_NC(0)),
/* Pin Complex (NID 0x1D) PCBeep */
// eapd low on ex-amp, laptop, custom enable
@@ -64,7 +64,7 @@ const u32 cim_verb_data[] = {
AZALIA_PIN_CFG(0, 0x1D, 0x4015812d),
/* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled*/
- AZALIA_PIN_CFG(0, 0x1E, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1E, AZALIA_PIN_CFG_NC(0)),
/* Pin Complex (NID 0x21) HP-OUT - 3.5mm Jack*/
// group2, cap 1
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 538f131c29..f8b509caca 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
@@ -37,7 +37,7 @@ const u32 cim_verb_data[] = {
AZALIA_PIN_CFG(0, 0x17, 0x40000008),
/* Pin Complex (NID 0x18) Disabled */
- AZALIA_PIN_CFG(0, 0x18, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, AZALIA_PIN_CFG_NC(0)),
/* Pin Complex (NID 0x19) MIC2 - 3.5mm Jack */
// group2, cap 0
@@ -47,10 +47,10 @@ const u32 cim_verb_data[] = {
AZALIA_PIN_CFG(0, 0x19, 0x03a11020),
/* Pin Complex (NID 0x1A) LINE1 - Disabled */
- AZALIA_PIN_CFG(0, 0x1A, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1A, AZALIA_PIN_CFG_NC(0)),
/* Pin Complex (NID 0x1B) LINE2 - Disabled */
- AZALIA_PIN_CFG(0, 0x1B, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1B, AZALIA_PIN_CFG_NC(0)),
/* Pin Complex (NID 0x1D) PCBeep */
// eapd low on ex-amp, laptop, custom enable
@@ -60,7 +60,7 @@ const u32 cim_verb_data[] = {
AZALIA_PIN_CFG(0, 0x1D, 0x4015812d),
/* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled*/
- AZALIA_PIN_CFG(0, 0x1E, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1E, AZALIA_PIN_CFG_NC(0)),
/* Pin Complex (NID 0x21) HP-OUT - 3.5mm Jack*/
// group1
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 c0db8c2c94..6cc5bf0579 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
@@ -38,10 +38,10 @@ const u32 cim_verb_data[] = {
AZALIA_PIN_CFG(0, 0x14, 0x90170110),
/* Pin Complex (NID 0x17) MONO Out - Disabled */
- AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, AZALIA_PIN_CFG_NC(0)),
/* Pin Complex (NID 0x18) MIC1 PORTB - Disabled */
- AZALIA_PIN_CFG(0, 0x18, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, AZALIA_PIN_CFG_NC(0)),
/* Pin Complex (NID 0x19) MIC2 - 3.5mm Jack */
// group2, cap 0
@@ -51,10 +51,10 @@ const u32 cim_verb_data[] = {
AZALIA_PIN_CFG(0, 0x19, 0x03a11020),
/* Pin Complex (NID 0x1A) LINE1 - Disabled */
- AZALIA_PIN_CFG(0, 0x1A, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1A, AZALIA_PIN_CFG_NC(0)),
/* Pin Complex (NID 0x1B) LINE2 - Disabled */
- AZALIA_PIN_CFG(0, 0x1B, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1B, AZALIA_PIN_CFG_NC(0)),
/* Pin Complex (NID 0x1D) PCBeep */
// eapd low on ex-amp, laptop, custom enable
@@ -64,7 +64,7 @@ const u32 cim_verb_data[] = {
AZALIA_PIN_CFG(0, 0x1D, 0x4015812d),
/* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled */
- AZALIA_PIN_CFG(0, 0x1E, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1E, AZALIA_PIN_CFG_NC(0)),
/* Pin Complex (NID 0x21) HP-OUT - 3.5mm Jack */
// group2, cap 1
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 33ae199293..3f9ec3f5e3 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
@@ -38,10 +38,10 @@ const u32 cim_verb_data[] = {
AZALIA_PIN_CFG(0, 0x14, 0x90170110),
/* Pin Complex (NID 0x17) MONO Out - Disabled */
- AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, AZALIA_PIN_CFG_NC(0)),
/* Pin Complex (NID 0x18) MIC1 PORTB - Disabled */
- AZALIA_PIN_CFG(0, 0x18, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, AZALIA_PIN_CFG_NC(0)),
/* Pin Complex (NID 0x19) MIC2 - 3.5mm Jack */
// group2, cap 0
@@ -51,10 +51,10 @@ const u32 cim_verb_data[] = {
AZALIA_PIN_CFG(0, 0x19, 0x03a11020),
/* Pin Complex (NID 0x1A) LINE1 - Disabled */
- AZALIA_PIN_CFG(0, 0x1A, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1A, AZALIA_PIN_CFG_NC(0)),
/* Pin Complex (NID 0x1B) LINE2 - Disabled */
- AZALIA_PIN_CFG(0, 0x1B, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1B, AZALIA_PIN_CFG_NC(0)),
/* Pin Complex (NID 0x1D) PCBeep */
// eapd low on ex-amp, laptop, custom enable
@@ -64,7 +64,7 @@ const u32 cim_verb_data[] = {
AZALIA_PIN_CFG(0, 0x1d, 0x4015812d),
/* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled*/
- AZALIA_PIN_CFG(0, 0x1E, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1E, AZALIA_PIN_CFG_NC(0)),
/* Pin Complex (NID 0x21) HP-OUT - 3.5mm Jack*/
// group2, cap 1