summaryrefslogtreecommitdiff
path: root/src/mainboard/asus
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/asus
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/asus')
-rw-r--r--src/mainboard/asus/h61m-cs/hda_verb.c30
-rw-r--r--src/mainboard/asus/maximus_iv_gene-z/hda_verb.c38
-rw-r--r--src/mainboard/asus/p8h61-m_lx/hda_verb.c30
-rw-r--r--src/mainboard/asus/p8h61-m_pro/hda_verb.c38
-rw-r--r--src/mainboard/asus/p8z77-m_pro/hda_verb.c38
5 files changed, 87 insertions, 87 deletions
diff --git a/src/mainboard/asus/h61m-cs/hda_verb.c b/src/mainboard/asus/h61m-cs/hda_verb.c
index 4ee07a7237..f985419e9a 100644
--- a/src/mainboard/asus/h61m-cs/hda_verb.c
+++ b/src/mainboard/asus/h61m-cs/hda_verb.c
@@ -22,21 +22,21 @@ const u32 cim_verb_data[] = {
0x10ec0887, /* Codec Vendor / Device ID: Realtek */
0x10438445, /* Subsystem ID */
15, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x10438445),
- AZALIA_PIN_CFG(0x0, 0x11, 0x40330000),
- AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x14, 0x01014010),
- AZALIA_PIN_CFG(0x0, 0x15, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x16, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x18, 0x01a19030),
- AZALIA_PIN_CFG(0x0, 0x19, 0x02a19040),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x0181303f),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x02214020),
- AZALIA_PIN_CFG(0x0, 0x1c, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x4024c601),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1f, 0x411111f0),
+ AZALIA_SUBVENDOR(0, 0x10438445),
+ AZALIA_PIN_CFG(0, 0x11, 0x40330000),
+ AZALIA_PIN_CFG(0, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x14, 0x01014010),
+ AZALIA_PIN_CFG(0, 0x15, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x16, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x01a19030),
+ AZALIA_PIN_CFG(0, 0x19, 0x02a19040),
+ AZALIA_PIN_CFG(0, 0x1a, 0x0181303f),
+ AZALIA_PIN_CFG(0, 0x1b, 0x02214020),
+ AZALIA_PIN_CFG(0, 0x1c, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x4024c601),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1f, 0x411111f0),
};
const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/asus/maximus_iv_gene-z/hda_verb.c b/src/mainboard/asus/maximus_iv_gene-z/hda_verb.c
index 3b8eeff1fe..8c8b35f215 100644
--- a/src/mainboard/asus/maximus_iv_gene-z/hda_verb.c
+++ b/src/mainboard/asus/maximus_iv_gene-z/hda_verb.c
@@ -21,29 +21,29 @@ const u32 cim_verb_data[] = {
0x10ec0889, /* Realtek ALC889 */
0x10ec0889, /* Subsystem ID */
15, /* Number of entries */
- AZALIA_SUBVENDOR(0x0, 0x10ec0889),
- AZALIA_PIN_CFG(0x0, 0x11, 0x414471f0),
- AZALIA_PIN_CFG(0x0, 0x12, 0x59a3112e),
- AZALIA_PIN_CFG(0x0, 0x14, 0x01014010),
- AZALIA_PIN_CFG(0x0, 0x15, 0x01011014),
- AZALIA_PIN_CFG(0x0, 0x16, 0x01016011),
- AZALIA_PIN_CFG(0x0, 0x17, 0x01012012),
- AZALIA_PIN_CFG(0x0, 0x18, 0x01a19030),
- AZALIA_PIN_CFG(0x0, 0x19, 0x02a19020),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x01813040),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x02214050),
- AZALIA_PIN_CFG(0x0, 0x1c, 0x9993114f),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x59f00190),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x014471f0),
- AZALIA_PIN_CFG(0x0, 0x1f, 0x41c451f0),
+ AZALIA_SUBVENDOR(0, 0x10ec0889),
+ AZALIA_PIN_CFG(0, 0x11, 0x414471f0),
+ AZALIA_PIN_CFG(0, 0x12, 0x59a3112e),
+ AZALIA_PIN_CFG(0, 0x14, 0x01014010),
+ AZALIA_PIN_CFG(0, 0x15, 0x01011014),
+ AZALIA_PIN_CFG(0, 0x16, 0x01016011),
+ AZALIA_PIN_CFG(0, 0x17, 0x01012012),
+ AZALIA_PIN_CFG(0, 0x18, 0x01a19030),
+ AZALIA_PIN_CFG(0, 0x19, 0x02a19020),
+ AZALIA_PIN_CFG(0, 0x1a, 0x01813040),
+ AZALIA_PIN_CFG(0, 0x1b, 0x02214050),
+ AZALIA_PIN_CFG(0, 0x1c, 0x9993114f),
+ AZALIA_PIN_CFG(0, 0x1d, 0x59f00190),
+ AZALIA_PIN_CFG(0, 0x1e, 0x014471f0),
+ AZALIA_PIN_CFG(0, 0x1f, 0x41c451f0),
0x80862805, /* Intel CougarPoint HDMI */
0x80860101, /* Subsystem ID */
4, /* Number of entries */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x18560010),
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560010),
+ AZALIA_SUBVENDOR(3, 0x80860101),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x07, 0x18560010),
};
const u32 pc_beep_verbs[] = {};
diff --git a/src/mainboard/asus/p8h61-m_lx/hda_verb.c b/src/mainboard/asus/p8h61-m_lx/hda_verb.c
index fb56759248..b24df6411c 100644
--- a/src/mainboard/asus/p8h61-m_lx/hda_verb.c
+++ b/src/mainboard/asus/p8h61-m_lx/hda_verb.c
@@ -21,21 +21,21 @@ const u32 cim_verb_data[] = {
0x10ec0887, /* Realtek ALC887-VD */
0x10438445, /* Subsystem ID */
15, /* Number of entries */
- AZALIA_SUBVENDOR(0x0, 0x10438445),
- AZALIA_PIN_CFG(0x0, 0x11, 0x99430130),
- AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x14, 0x01014010),
- AZALIA_PIN_CFG(0x0, 0x15, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x16, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x18, 0x01a19840),
- AZALIA_PIN_CFG(0x0, 0x19, 0x02a19c50),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x0181304f),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x02214c20),
- AZALIA_PIN_CFG(0x0, 0x1c, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x4004c601),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1f, 0x411111f0),
+ AZALIA_SUBVENDOR(0, 0x10438445),
+ AZALIA_PIN_CFG(0, 0x11, 0x99430130),
+ AZALIA_PIN_CFG(0, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x14, 0x01014010),
+ AZALIA_PIN_CFG(0, 0x15, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x16, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x01a19840),
+ AZALIA_PIN_CFG(0, 0x19, 0x02a19c50),
+ AZALIA_PIN_CFG(0, 0x1a, 0x0181304f),
+ AZALIA_PIN_CFG(0, 0x1b, 0x02214c20),
+ AZALIA_PIN_CFG(0, 0x1c, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x4004c601),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1f, 0x411111f0),
};
const u32 pc_beep_verbs[] = {};
diff --git a/src/mainboard/asus/p8h61-m_pro/hda_verb.c b/src/mainboard/asus/p8h61-m_pro/hda_verb.c
index 403ecb2730..fc73c29b27 100644
--- a/src/mainboard/asus/p8h61-m_pro/hda_verb.c
+++ b/src/mainboard/asus/p8h61-m_pro/hda_verb.c
@@ -19,29 +19,29 @@ const u32 cim_verb_data[] = {
0x10ec0887, /* Codec Vendor / Device ID: Realtek */
0x10438444, /* Subsystem ID */
15, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x10438444),
- AZALIA_PIN_CFG(0x0, 0x11, 0x99430140),
- AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x14, 0x01014010),
- AZALIA_PIN_CFG(0x0, 0x15, 0x01011012),
- AZALIA_PIN_CFG(0x0, 0x16, 0x01016011),
- AZALIA_PIN_CFG(0x0, 0x17, 0x01012014),
- AZALIA_PIN_CFG(0x0, 0x18, 0x01a19850),
- AZALIA_PIN_CFG(0x0, 0x19, 0x02a19c60),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x0181305f),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x02214c20),
- AZALIA_PIN_CFG(0x0, 0x1c, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x4005e601),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x01456130),
- AZALIA_PIN_CFG(0x0, 0x1f, 0x411111f0),
+ AZALIA_SUBVENDOR(0, 0x10438444),
+ AZALIA_PIN_CFG(0, 0x11, 0x99430140),
+ AZALIA_PIN_CFG(0, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x14, 0x01014010),
+ AZALIA_PIN_CFG(0, 0x15, 0x01011012),
+ AZALIA_PIN_CFG(0, 0x16, 0x01016011),
+ AZALIA_PIN_CFG(0, 0x17, 0x01012014),
+ AZALIA_PIN_CFG(0, 0x18, 0x01a19850),
+ AZALIA_PIN_CFG(0, 0x19, 0x02a19c60),
+ AZALIA_PIN_CFG(0, 0x1a, 0x0181305f),
+ AZALIA_PIN_CFG(0, 0x1b, 0x02214c20),
+ AZALIA_PIN_CFG(0, 0x1c, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x4005e601),
+ AZALIA_PIN_CFG(0, 0x1e, 0x01456130),
+ AZALIA_PIN_CFG(0, 0x1f, 0x411111f0),
0x80862805, /* Codec Vendor / Device ID: Intel */
0x80860101, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
- AZALIA_PIN_CFG(0x3, 0x05, 0x58560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x58560020),
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030),
+ AZALIA_SUBVENDOR(3, 0x80860101),
+ AZALIA_PIN_CFG(3, 0x05, 0x58560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x58560020),
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};
const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/asus/p8z77-m_pro/hda_verb.c b/src/mainboard/asus/p8z77-m_pro/hda_verb.c
index 4ab54f9238..b8e8d87a5a 100644
--- a/src/mainboard/asus/p8z77-m_pro/hda_verb.c
+++ b/src/mainboard/asus/p8z77-m_pro/hda_verb.c
@@ -22,29 +22,29 @@ const u32 cim_verb_data[] = {
0x10ec0892, /* Codec Vendor / Device ID: Realtek */
0x10438436, /* Subsystem ID */
15, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x10438436),
- AZALIA_PIN_CFG(0x0, 0x11, 0x99430140),
- AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x14, 0x01014010),
- AZALIA_PIN_CFG(0x0, 0x15, 0x01011012),
- AZALIA_PIN_CFG(0x0, 0x16, 0x01016011),
- AZALIA_PIN_CFG(0x0, 0x17, 0x01012014),
- AZALIA_PIN_CFG(0x0, 0x18, 0x01a19850),
- AZALIA_PIN_CFG(0x0, 0x19, 0x02a19c60),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x0181305f),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x02214c20),
- AZALIA_PIN_CFG(0x0, 0x1c, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x4005e601),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x01456130),
- AZALIA_PIN_CFG(0x0, 0x1f, 0x411111f0),
+ AZALIA_SUBVENDOR(0, 0x10438436),
+ AZALIA_PIN_CFG(0, 0x11, 0x99430140),
+ AZALIA_PIN_CFG(0, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x14, 0x01014010),
+ AZALIA_PIN_CFG(0, 0x15, 0x01011012),
+ AZALIA_PIN_CFG(0, 0x16, 0x01016011),
+ AZALIA_PIN_CFG(0, 0x17, 0x01012014),
+ AZALIA_PIN_CFG(0, 0x18, 0x01a19850),
+ AZALIA_PIN_CFG(0, 0x19, 0x02a19c60),
+ AZALIA_PIN_CFG(0, 0x1a, 0x0181305f),
+ AZALIA_PIN_CFG(0, 0x1b, 0x02214c20),
+ AZALIA_PIN_CFG(0, 0x1c, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x4005e601),
+ AZALIA_PIN_CFG(0, 0x1e, 0x01456130),
+ AZALIA_PIN_CFG(0, 0x1f, 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, 0x58560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x58560020),
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030),
+ AZALIA_SUBVENDOR(3, 0x80860101),
+ AZALIA_PIN_CFG(3, 0x05, 0x58560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x58560020),
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};
const u32 pc_beep_verbs[0] = {};