coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
hda_verb.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #include <device/azalia_device.h>
4 
5 const u32 cim_verb_data[] = {
6 
7  /*
8  * VerbTable: CFL Display Audio Codec
9  * Revision ID = 0xFF
10  * Codec Vendor: 0x8086280B
11  */
12 
13  0x8086280B,
14  0xFFFFFFFF,
15  0x00000005,
16 
17  /*
18  * Display Audio Verb Table
19  * For GEN9, the Vendor Node ID is 08h
20  * Port to be exposed to the inbox driver in the vanilla mode
21  * PORT C - BIT[7:6] = 01b
22  */
23  0x00878140,
24  0x00878140,
25  0x00878140,
26  0x00878140,
27  /* Pin Widget 5 - PORT B - Configuration Default: 0x18560010 */
28  0x00571C10,
29  0x00571D00,
30  0x00571E56,
31  0x00571F18,
32  /* Pin Widget 6 - PORT C - Configuration Default: 0x18560020 */
33  0x00671C20,
34  0x00671D00,
35  0x00671E56,
36  0x00671F18,
37  /* Pin Widget 7 - PORT D - Configuration Default: 0x18560030 */
38  0x00771C30,
39  0x00771D00,
40  0x00771E56,
41  0x00771F18,
42  /* Disable the third converter and third Pin (NID 08h) */
43  0x00878140,
44  0x00878140,
45  0x00878140,
46  0x00878140,
47 
48  /* ALC700 */
49  0x10EC0700,
50  0xFFFFFFFF,
51  0x00000015,
52 
53  /*
54  * HDA Codec Subsystem ID Verb-table
55  * HDA Codec Subsystem ID : 0x10EC112C
56  */
57  0x0017202C,
58  0x00172111,
59  0x001722EC,
60  0x00172310,
61 
62  /*
63  * Pin Widget Verb-table
64  * Widget node 0x01
65  */
66  0x0017FF00,
67  0x0017FF00,
68  0x0017FF00,
69  0x0017FF00,
70  /* Pin widget 0x12 - DMIC */
71  0x01271C00,
72  0x01271D00,
73  0x01271E00,
74  0x01271F40,
75  /* Pin widget 0x13 - DMIC */
76  0x01371CF0,
77  0x01371D11,
78  0x01371E11,
79  0x01371F41,
80  /* Pin widget 0x14 - FRONT (Port-D) */
81  0x01471CF0,
82  0x01471D11,
83  0x01471E11,
84  0x01471F41,
85  /* Pin widget 0x15 - I2S-OUT */
86  0x01571C10,
87  0x01571D01,
88  0x01571E17,
89  0x01571F90,
90  /* Pin widget 0x16 - LINE3 (Port-B) */
91  0x01671C20,
92  0x01671D10,
93  0x01671E01,
94  0x01671F01,
95  /* Pin widget 0x17 - I2S-OUT */
96  0x01771CF0,
97  0x01771D11,
98  0x01771E11,
99  0x01771F41,
100  /* Pin widget 0x18 - I2S-IN */
101  0x01871CF0,
102  0x01871D11,
103  0x01871E11,
104  0x01871F41,
105  /* Pin widget 0x19 - MIC2 (Port-F) */
106  0x01971C30,
107  0x01971D90,
108  0x01971EA1,
109  0x01971F02,
110  /* Pin widget 0x1A - LINE1 (Port-C) */
111  0x01A71CF0,
112  0x01A71D11,
113  0x01A71E11,
114  0x01A71F41,
115  /* Pin widget 0x1B - LINE2 (Port-E) */
116  0x01B71C40,
117  0x01B71D90,
118  0x01B71EA1,
119  0x01B71F01,
120  /* Pin widget 0x1D - PC-BEEP */
121  0x01D71C69,
122  0x01D71D84,
123  0x01D71E45,
124  0x01D71F40,
125  /* Pin widget 0x1E - S/PDIF-OUT */
126  0x01E71CF0,
127  0x01E71D11,
128  0x01E71E11,
129  0x01E71F41,
130  /* Pin widget 0x1F - S/PDIF-IN */
131  0x01F71CF0,
132  0x01F71D11,
133  0x01F71E11,
134  0x01F71F41,
135  /* Pin widget 0x21 - P-OUT (Port-I) */
136  0x02171C2F,
137  0x02171D10,
138  0x02171E21,
139  0x02171F02,
140  /* Pin widget 0x29 - I2S-IN */
141  0x02971CF0,
142  0x02971D11,
143  0x02971E11,
144  0x02971F41,
145  /*
146  * Widget node 0x20 : MIC2-Vrefo-R and MIC2-vrefo-L
147  * to independent control
148  */
149  0x02050045,
150  0x02045089,
151  0x0205004A,
152  0x0204201B,
153  /* Widget node 0x20 - 1 */
154  0x05850000,
155  0x05843888,
156  0x0205006F,
157  0x02042C0B,
158  /*
159  * Widget node 0x20 - 2 : Line2-JD gating MIC2-Vrefo-R,
160  * P-JD gating MIC2-vrefo-L
161  */
162  0x0205006B,
163  0x02044260,
164  0x05B50010,
165  0x05B45C1D,
166 
167  /* Widget node 0X20 for ALC1305 */
168  0x02050024,
169  0x02040010,
170  0x02050026,
171  0x02040000,
172  0x02050028,
173  0x02040000,
174  0x02050029,
175  0x0204B024,
176 
177 };
178 
179 const u32 pc_beep_verbs[] = {
180 };
181 
const u32 cim_verb_data[]
Definition: hda_verb.c:5
const u32 pc_beep_verbs[]
Definition: hda_verb.c:37
AZALIA_ARRAY_SIZES
Definition: hda_verb.c:39
uint32_t u32
Definition: stdint.h:51