summaryrefslogtreecommitdiffstats
path: root/src/mainboard/intel/coffeelake_rvp/variants/cfl_h/include/variant/hda_verb.h
blob: e276cf7f6e8967d0d2d8b7aefa19d758b4a31a1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef HDA_VERB_H
#define HDA_VERB_H

#include <device/azalia_device.h>

const u32 cim_verb_data[] = {

	/*
	 * VerbTable: CFL Display Audio Codec
	 * Revision ID = 0xFF
	 * Codec Vendor: 0x8086280B
	 */

	0x8086280B,
	0xFFFFFFFF,
	0x00000005,

	/*
	 * Display Audio Verb Table
	 * For GEN9, the Vendor Node ID is 08h
	 * Port to be exposed to the inbox driver in the vanilla mode
	 * PORT C - BIT[7:6] = 01b
	 */
	0x00878140,
	0x00878140,
	0x00878140,
	0x00878140,
	/* Pin Widget 5 - PORT B - Configuration Default: 0x18560010 */
	0x00571C10,
	0x00571D00,
	0x00571E56,
	0x00571F18,
	/* Pin Widget 6 - PORT C - Configuration Default: 0x18560020 */
	0x00671C20,
	0x00671D00,
	0x00671E56,
	0x00671F18,
	/* Pin Widget 7 - PORT D - Configuration Default: 0x18560030 */
	0x00771C30,
	0x00771D00,
	0x00771E56,
	0x00771F18,
	/* Disable the third converter and third Pin (NID 08h) */
	0x00878140,
	0x00878140,
	0x00878140,
	0x00878140,

	/* ALC700 */
	0x10EC0700,
	0xFFFFFFFF,
	0x00000015,

	/*
	 * HDA Codec Subsystem ID Verb-table
	 * HDA Codec Subsystem ID : 0x10EC112C
	 */
	0x0017202C,
	0x00172111,
	0x001722EC,
	0x00172310,

	/*
	 * Pin Widget Verb-table
	 * Widget node 0x01
	 */
	0x0017FF00,
	0x0017FF00,
	0x0017FF00,
	0x0017FF00,
	/* Pin widget 0x12 - DMIC */
	0x01271C00,
	0x01271D00,
	0x01271E00,
	0x01271F40,
	/* Pin widget 0x13 - DMIC */
	0x01371CF0,
	0x01371D11,
	0x01371E11,
	0x01371F41,
	/* Pin widget 0x14 - FRONT (Port-D) */
	0x01471CF0,
	0x01471D11,
	0x01471E11,
	0x01471F41,
	/* Pin widget 0x15 - I2S-OUT */
	0x01571C10,
	0x01571D01,
	0x01571E17,
	0x01571F90,
	/* Pin widget 0x16 - LINE3 (Port-B) */
	0x01671C20,
	0x01671D10,
	0x01671E01,
	0x01671F01,
	/* Pin widget 0x17 - I2S-OUT */
	0x01771CF0,
	0x01771D11,
	0x01771E11,
	0x01771F41,
	/* Pin widget 0x18 - I2S-IN */
	0x01871CF0,
	0x01871D11,
	0x01871E11,
	0x01871F41,
	/* Pin widget 0x19 - MIC2 (Port-F) */
	0x01971C30,
	0x01971D90,
	0x01971EA1,
	0x01971F02,
	/* Pin widget 0x1A - LINE1 (Port-C) */
	0x01A71CF0,
	0x01A71D11,
	0x01A71E11,
	0x01A71F41,
	/* Pin widget 0x1B - LINE2 (Port-E) */
	0x01B71C40,
	0x01B71D90,
	0x01B71EA1,
	0x01B71F01,
	/* Pin widget 0x1D - PC-BEEP */
	0x01D71C69,
	0x01D71D84,
	0x01D71E45,
	0x01D71F40,
	/* Pin widget 0x1E - S/PDIF-OUT */
	0x01E71CF0,
	0x01E71D11,
	0x01E71E11,
	0x01E71F41,
	/* Pin widget 0x1F - S/PDIF-IN */
	0x01F71CF0,
	0x01F71D11,
	0x01F71E11,
	0x01F71F41,
	/* Pin widget 0x21 - P-OUT (Port-I) */
	0x02171C2F,
	0x02171D10,
	0x02171E21,
	0x02171F02,
	/* Pin widget 0x29 - I2S-IN */
	0x02971CF0,
	0x02971D11,
	0x02971E11,
	0x02971F41,
	/*
	 * Widget node 0x20 :  MIC2-Vrefo-R and MIC2-vrefo-L
	 * to independent control
	 */
	0x02050045,
	0x02045089,
	0x0205004A,
	0x0204201B,
	/* Widget node 0x20 - 1 */
	0x05850000,
	0x05843888,
	0x0205006F,
	0x02042C0B,
	/*
	 * Widget node 0x20 - 2 : Line2-JD gating MIC2-Vrefo-R,
	 * P-JD gating MIC2-vrefo-L
	 */
	0x0205006B,
	0x02044260,
	0x05B50010,
	0x05B45C1D,

	/* Widget node 0X20 for ALC1305 */
	0x02050024,
	0x02040010,
	0x02050026,
	0x02040000,
	0x02050028,
	0x02040000,
	0x02050029,
	0x0204B024,

};

const u32 pc_beep_verbs[] = {
};

AZALIA_ARRAY_SIZES;
#endif