1 /* SPDX-License-Identifier: GPL-2.0-only */
3 /* Bits 31:28 - Codec Address */
5 /* Bits 19:8 - Verb ID */
6 /* Bits 7:0 - Payload */
8 #include <device/azalia_device.h>
10 const u32 cim_verb_data
[] = {
11 0x10ec0269, /* Codec Vendor / Device ID: Realtek ALC269VC */
12 0x17aa21fa, /* Subsystem ID */
13 18, /* Number of 4 dword sets */
14 AZALIA_SUBVENDOR(0, 0x17aa21fa),
16 /* Ext. Microphone Connector: External,Right; MicIn,3.5mm; Black,JD; DA,Seq */
17 AZALIA_PIN_CFG(0, 0x0a, 0x04a11020),
19 /* Headphones Connector: External,Right; HP,3.5mm; Black,JD; DA,Seq */
20 AZALIA_PIN_CFG(0, 0x0b, 0x0421101f),
22 /* Not connected: N/A,N/A; Other,Unknown; Unknown,JD; DA,Seq */
23 AZALIA_PIN_CFG(0, 0x0c, 0x40f000f0),
25 /* Internal Speakers Fixed,Int; Speaker,Other Analog; Unknown,nJD; DA,Seq */
26 AZALIA_PIN_CFG(0, 0x0d, 0x90170110),
29 AZALIA_PIN_CFG(0, 0x0f, 0x40f000f0),
31 /* Internal Microphone: Fixed,Int,Top; Mic In,ATIPI; Unknown,nJD; DA,Seq */
32 AZALIA_PIN_CFG(0, 0x11, 0xd5a30140),
33 AZALIA_PIN_CFG(0, 0x12, 0x90a60140),
34 AZALIA_PIN_CFG(0, 0x14, 0x90170110),
35 AZALIA_PIN_CFG(0, 0x15, 0x03211020),
36 AZALIA_PIN_CFG(0, 0x18, 0x03a11830),
37 AZALIA_PIN_CFG(0, 0x19, 0x411111f0),
44 AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
45 AZALIA_PIN_CFG(0, 0x1d, 0x40138205),
46 AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),
51 0x00b707C0, /* Enable PortB as Output with HP amp */
52 0x00d70740, /* Enable PortD as Output */
53 0x0017a200, /* Disable ClkEn of PortSenseTst */
54 0x0017c621, /* Slave Port - Port A used as microphone input for
56 Master Port - Port B used for Jack Presence Detect
57 Enable Combo Jack Detection */
58 0x0017a208, /* Enable ClkEn of PortSenseTst */
59 0x00170500, /* Set power state to D0 */
61 /* --- Codec #3 --- */
62 0x80862806, /* Codec Vendor / Device ID: Intel PantherPoint HDMI */
63 0x80860101, /* Subsystem ID */
64 4, /* Number of 4 dword sets */
65 AZALIA_SUBVENDOR(3, 0x80860101),
66 AZALIA_PIN_CFG(3, 0x05, 0x18560010),
67 AZALIA_PIN_CFG(3, 0x06, 0x18560020),
68 AZALIA_PIN_CFG(3, 0x07, 0x18560030),
71 const u32 pc_beep_verbs
[] = {
72 0x02177a00, /* Digital PCBEEP Gain: 0h=-9db, 1h=-6db ... 4h=+3db, 5h=+6db */