summaryrefslogtreecommitdiff
path: root/src/mainboard/system76/bonw14/hda_verb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/system76/bonw14/hda_verb.c')
-rw-r--r--src/mainboard/system76/bonw14/hda_verb.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/mainboard/system76/bonw14/hda_verb.c b/src/mainboard/system76/bonw14/hda_verb.c
new file mode 100644
index 0000000000..00f5fdb8d9
--- /dev/null
+++ b/src/mainboard/system76/bonw14/hda_verb.c
@@ -0,0 +1,30 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <device/azalia_device.h>
+
+const u32 cim_verb_data[] = {
+ /* Realtek, ALC1220 */
+ 0x10ec1220, /* Vendor ID */
+ 0x15587714, /* Subsystem ID */
+ 12, /* Number of entries */
+ AZALIA_SUBVENDOR(0, 0x15587714),
+ AZALIA_PIN_CFG(0, 0x12, 0x90a60130),
+ AZALIA_PIN_CFG(0, 0x14, 0x40000000),
+ AZALIA_PIN_CFG(0, 0x15, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x16, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x04a11040),
+ AZALIA_PIN_CFG(0, 0x19, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1b, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x1d, 0x4094022d),
+ AZALIA_PIN_CFG(0, 0x1e, 0x04451120),
+};
+
+const u32 pc_beep_verbs[] = {
+ // Enable DMIC microphone on ALC1220
+ 0x02050036,
+ 0x02042a6a,
+};
+
+AZALIA_ARRAY_SIZES;