blob: 8f2188c5b9add515c0599ee6efafeff668ac3658 [file] [log] [blame]
Angel Pons60ec3652020-04-03 01:22:13 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Naresh G Solankiaf295492016-10-21 20:18:46 +05302
3#ifndef HDA_VERB_H
4#define HDA_VERB_H
5
6#include <device/azalia_device.h>
7
8const u32 cim_verb_data[] = {
9
10 0x8086280B,
11 0x00000000,
12 0x00000005,
13
14 /*
15 * Display Audio Verb Table
16 * Enable the third converter and pin first (NID 08h)
17 */
18 0x00878101,
19 0x00878101,
20 0x00878101,
21 0x00878101,
22
23 AZALIA_PIN_CFG(0, 0x05, 0x18560010),
24 AZALIA_PIN_CFG(0, 0x06, 0x18560020),
25 AZALIA_PIN_CFG(0, 0x07, 0x18560030),
26
27 /* Disable the third converter and third pin (NID 08h) */
28 0x00878100,
29 0x00878100,
30 0x00878100,
31 0x00878100,
32
33 /* ALC 286 */
34 0x10EC0286,
35 0x00000000,
36 0x00000023,
37
38 AZALIA_SUBVENDOR(0, 0x10EC108E),
39 AZALIA_PIN_CFG(0, 0x01, 0x00000000),
40 AZALIA_PIN_CFG(0, 0x12, 0x411111F0),
41 AZALIA_PIN_CFG(0, 0x13, 0x40000000),
42 AZALIA_PIN_CFG(0, 0x14, 0x9017011F),
43 AZALIA_PIN_CFG(0, 0x17, 0x90170110),
44 AZALIA_PIN_CFG(0, 0x18, 0x03A11040),
45 AZALIA_PIN_CFG(0, 0x19, 0x411111F0),
46 AZALIA_PIN_CFG(0, 0x1A, 0x411111F0),
47 AZALIA_PIN_CFG(0, 0x1D, 0x4066A22D),
48 AZALIA_PIN_CFG(0, 0x1E, 0x411111F0),
49 AZALIA_PIN_CFG(0, 0x21, 0x03211020),
50
51 /* Widget node 0x20 */
52 0x02050071,
53 0x02040014,
54 0x02050010,
55 0x02040C22,
56 /* Widget node 0x20 - 1 */
57 0x0205004F,
58 0x02045029,
59 0x0205004F,
60 0x02045029,
61 /* Widget node 0x20 - 2 */
62 0x0205002B,
63 0x02040DD0,
64 0x0205002D,
65 0x02047020,
66 /* Widget node 0x20 - 3 */
67 0x0205000E,
68 0x02046C80,
69 0x01771F90,
70 0x01771F90,
71 /* TI AMP settings */
72 0x02050022,
73 0x0204004C,
74 0x02050023,
75 0x02040000,
76
77 0x02050025,
78 0x02040000,
79 0x02050026,
80 0x0204B010,
81
82 0x000F0000,
83 0x000F0000,
84 0x000F0000,
85 0x000F0000,
86
87 0x000F0000,
88 0x000F0000,
89 0x000F0000,
90 0x000F0000,
91
92 0x02050022,
93 0x0204004C,
94 0x02050023,
95 0x02040002,
96
97 0x02050025,
98 0x02040011,
99 0x02050026,
100 0x0204B010,
101
102 0x000F0000,
103 0x000F0000,
104 0x000F0000,
105 0x000F0000,
106
107 0x000F0000,
108 0x000F0000,
109 0x000F0000,
110 0x000F0000,
111
112 0x02050022,
113 0x0204004C,
114 0x02050023,
115 0x0204000D,
116
117 0x02050025,
118 0x02040010,
119 0x02050026,
120 0x0204B010,
121
122 0x000F0000,
123 0x000F0000,
124 0x000F0000,
125 0x000F0000,
126
127 0x000F0000,
128 0x000F0000,
129 0x000F0000,
130 0x000F0000,
131
132 0x02050022,
133 0x0204004C,
134 0x02050023,
135 0x02040025,
136
137 0x02050025,
138 0x02040008,
139 0x02050026,
140 0x0204B010,
141
142 0x000F0000,
143 0x000F0000,
144 0x000F0000,
145 0x000F0000,
146
147 0x000F0000,
148 0x000F0000,
149 0x000F0000,
150 0x000F0000,
151
152 0x02050022,
153 0x0204004C,
154 0x02050023,
155 0x02040002,
156
157 0x02050025,
158 0x02040000,
159 0x02050026,
160 0x0204B010,
161
162 0x000F0000,
163 0x000F0000,
164 0x000F0000,
165 0x000F0000,
166
167 0x000F0000,
168 0x000F0000,
169 0x000F0000,
170 0x000F0000,
171
172 0x02050022,
173 0x0204004C,
174 0x02050023,
175 0x02040003,
176
177 0x02050025,
178 0x02040000,
179 0x02050026,
180 0x0204B010
181};
182
183const u32 pc_beep_verbs[] = {
184};
185AZALIA_ARRAY_SIZES;
186#endif