summaryrefslogtreecommitdiff
path: root/src/mainboard/system76/lemp10/hda_verb.c
diff options
context:
space:
mode:
authorTim Crawford <tcrawford@system76.com>2021-04-13 09:46:12 -0600
committerFelix Held <felix-coreboot@felixheld.de>2021-09-15 15:30:03 +0000
commit4dcee4f21db560c42cb6d470857e4d8250fdd128 (patch)
tree987cb00dc32e82bce2c635e574536e728b867078 /src/mainboard/system76/lemp10/hda_verb.c
parent80f95b5214fd716bb146f795a0dd3921c088280e (diff)
mb/system76/lemp10: Add System76 Lemur Pro 10
https://tech-docs.system76.com/models/lemp10/README.html Tested with TianoCore (UefiPayloadPkg). Working: - PS/2 keyboard, touchpad - DIMM slot and onboard RAM - Both M.2 NVMe SSDs - MicroSD card reader - All USB ports - USB-PD - Webcam - WiFi/Bluetooth - Integrated graphics using Intel GOP driver - HDMI output - DP over USB-C output - Internal microphone - Internal speakers - Combined 3.5mm headphone/microphone jack - S0ix suspend* - Booting to Pop!_OS Linux 21.04 and Windows 10 - Flashing with flashrom Not working: - S0ix when a device is attached to the TBT port Change-Id: I15f7a3b6e9af07fcfde9a71d3f4a84ed625159b7 Signed-off-by: Jeremy Soller <jeremy@system76.com> Signed-off-by: Tim Crawford <tcrawford@system76.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/52294 Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/system76/lemp10/hda_verb.c')
-rw-r--r--src/mainboard/system76/lemp10/hda_verb.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/mainboard/system76/lemp10/hda_verb.c b/src/mainboard/system76/lemp10/hda_verb.c
new file mode 100644
index 0000000000..1259ba10ff
--- /dev/null
+++ b/src/mainboard/system76/lemp10/hda_verb.c
@@ -0,0 +1,26 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <device/azalia_device.h>
+
+const u32 cim_verb_data[] = {
+ /* Realtek, ALC293 */
+ 0x10ec0293, /* Vendor ID */
+ 0x155814a1, /* Subsystem ID */
+ 12, /* Number of entries */
+ AZALIA_SUBVENDOR(0, 0x155814a1),
+ AZALIA_PIN_CFG(0, 0x12, 0x90a60130),
+ AZALIA_PIN_CFG(0, 0x13, 0x40000000),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x15, 0x02211020),
+ AZALIA_PIN_CFG(0, 0x16, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x19, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x41748245),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),
+};
+
+const u32 pc_beep_verbs[] = {};
+
+AZALIA_ARRAY_SIZES;