1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <device/azalia_device.h>
5 const u32 cim_verb_data
[] = {
6 /* coreboot specific header */
7 0x10ec0236, // Codec Vendor ID: Realtek ALC3204
8 0x10280D76, // Subsystem ID
9 0x00000021, // Number of jacks (NID entries)
12 /* NID 0x01, HDA Codec Subsystem ID Verb table */
13 AZALIA_SUBVENDOR(0, 0x10280D76),
15 /* Pin Widget Verb Table */
18 * Requirement is to use PCH DMIC. Hence,
19 * commented out codec's Internal DMIC.
20 * AZALIA_PIN_CFG(0, 0x12, 0x90A60130),
21 * AZALIA_PIN_CFG(0, 0x13, 0x40000000),
23 AZALIA_PIN_CFG(0, 0x12, 0x90a60140),
24 AZALIA_PIN_CFG(0, 0x13, 0x40000000),
25 AZALIA_PIN_CFG(0, 0x14, 0x90170110),
26 AZALIA_PIN_CFG(0, 0x18, 0x411111f0),
27 AZALIA_PIN_CFG(0, 0x19, 0x00a11030),
28 AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
29 AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
30 AZALIA_PIN_CFG(0, 0x1d, 0x40700001),
31 AZALIA_PIN_CFG(0, 0x1e, 0x421212f2),
32 AZALIA_PIN_CFG(0, 0x21, 0x00211020),
44 /* ALC3204 default-1(Class D RESET) */
49 /* ALC3204 default-2 (Tco) */
54 /* ALC3204 Speaker output power - 4 ohm
55 * 2W (+12dB gain) + Combo Jack TRS setting
61 /* H/W AGC setting-1 */
66 /* H/W AGC setting-2 */
71 /* Zero data + EAPD to verb-control */
81 /* ALC3204 default-3 */
86 /* ALC3204 default-4 */
101 /* Microphone + Array MIC security Disable +ADC clock Enable */
111 /* EQ Bypass + EQ HPF cutoff 250Hz */
143 const u32 pc_beep_verbs
[] = {
144 /* PCBeep pass through to NID14 for ePSA test-1 */
149 /* PCBeep pass through to NID14 for ePSA test-2 */