summaryrefslogtreecommitdiff
path: root/src/mainboard/system76/oryp8/hda_verb.c
diff options
context:
space:
mode:
authorJeremy Soller <jeremy@system76.com>2021-10-13 08:16:04 -0600
committerPatrick Georgi <pgeorgi@google.com>2021-11-02 20:48:37 +0000
commitb44202b29ab27b6a902ed7abb41288b6461b66aa (patch)
tree1b7f275b2aca9c37deeb13c4559f64b81205cecc /src/mainboard/system76/oryp8/hda_verb.c
parentfdaccd875da610954e3bc1136fad8a3c70ceae71 (diff)
mb/system76/oryp8: Add System76 Oryx Pro 8
https://tech-docs.system76.com/models/oryp8/README.html Tested with TianoCore (UeifPayloadPkg). Working: - PS/2 keyboard, touchpad - Both DIMM slots - Both M.2 SSD slots - All USB ports - Webcam - Ethernet - WiFi/Bluetooth - Integrated graphics using Intel GOP driver - Internal microphone - Internal speakers - Combined 3.5mm headphone & microphone jack - Combined 3.5mm microphone & S/PDIF jack* - S3 suspend/resume - Booting to Pop!_OS Linux 21.10 and Windows 10 20H2 - Flashing with flashrom Not working: - Discrete/Hybrid graphics Not tested: - Thunderbolt functionality - S/PDIF output Change-Id: Iabc8e273f997d7f5852ddec63e0c1bf0c9434acb Signed-off-by: Jeremy Soller <jeremy@system76.com> Signed-off-by: Tim Crawford <tcrawford@system76.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/57652 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/system76/oryp8/hda_verb.c')
-rw-r--r--src/mainboard/system76/oryp8/hda_verb.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/mainboard/system76/oryp8/hda_verb.c b/src/mainboard/system76/oryp8/hda_verb.c
new file mode 100644
index 0000000000..47d28ddd43
--- /dev/null
+++ b/src/mainboard/system76/oryp8/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 */
+ 0x155865f1, /* Subsystem ID */
+ 12, /* Number of entries */
+ AZALIA_SUBVENDOR(0, 0x155865f1),
+ AZALIA_PIN_CFG(0, 0x12, 0x90a60130),
+ AZALIA_PIN_CFG(0, 0x14, 0x0421101f),
+ AZALIA_PIN_CFG(0, 0x15, 0x40000000),
+ 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, 0x40b7952d),
+ AZALIA_PIN_CFG(0, 0x1e, 0x04451150),
+};
+
+const u32 pc_beep_verbs[] = {
+ // Enable DMIC microphone on ALC1220
+ 0x02050036,
+ 0x02042a6a,
+};
+
+AZALIA_ARRAY_SIZES;