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
/* coreboot specific header */
7
0x10EC0298,
/* Codec Vendor - Device ID: Realtek ALC298 */
8
0x152D1165,
/* Subsystem ID Quanta */
9
0x0000000C,
/* Number of jacks */
10
11
/* HDA Codec Subsystem ID Verb Table */
12
AZALIA_SUBVENDOR
(0, 0x152D1165),
13
14
/* Pin Widget Verb Table */
15
16
/* Widget node 1 (NID 0x01) */
17
0x0017FF00,
18
0x0017FF00,
19
0x0017FF00,
20
0x0017FF00,
21
22
/* Pin Complex (NID 0x12) DMIC */
23
AZALIA_PIN_CFG
(0, 0x12, 0x90A60130),
24
25
/* Pin Complex (NID 0x13) DMIC */
26
AZALIA_PIN_CFG
(0, 0x13, 0x411111F0),
27
28
/* Pin Complex (NID 0x14) SPEAKER-OUT (Port-D) */
29
AZALIA_PIN_CFG
(0, 0x14, 0x90180110),
30
31
/* Pin Complex (NID 0x17) I2S-OUT */
32
AZALIA_PIN_CFG
(0, 0x17, 0x01011120),
33
34
/* Pin Complex (NID 0x18) MIC1 (Port-B) */
35
AZALIA_PIN_CFG
(0, 0x18, 0x411111F0),
36
37
/* Pin Complex (NID 0x19) I2S-IN */
38
AZALIA_PIN_CFG
(0, 0x19, 0x90870140),
39
40
/* Pin Complex (NID 0x1A) LINE1 (Port-C) */
41
AZALIA_PIN_CFG
(0, 0x1A, 0x411111F0),
42
43
/* Pin Complex (NID 0x1D) PC-BEEP */
44
AZALIA_PIN_CFG
(0, 0x1D, 0x40400001),
45
46
/* Pin Complex (NID 0x1E) SPDIF-OUT */
47
AZALIA_PIN_CFG
(0, 0x1E, 0x411111F0),
48
49
/* Pin Complex (NID 0x1F) SPDIF-IN */
50
AZALIA_PIN_CFG
(0, 0x1F, 0x411111F0),
51
52
/* Pin Complex (NID 0x21) HP-OUT (Port-A) */
53
AZALIA_PIN_CFG
(0, 0x21, 0x411111F0),
54
55
/* POST I2S bypass output SRC */
56
0x0205002D,
57
0x0204C020,
58
0x0205002D,
59
0x0204C020,
60
61
};
62
63
const
u32
pc_beep_verbs
[0] = {};
64
65
AZALIA_ARRAY_SIZES
;
azalia_device.h
AZALIA_SUBVENDOR
#define AZALIA_SUBVENDOR(codec, val)
Definition:
azalia_device.h:148
AZALIA_PIN_CFG
#define AZALIA_PIN_CFG(codec, pin, val)
Definition:
azalia_device.h:134
cim_verb_data
const u32 cim_verb_data[]
Definition:
hda_verb.c:5
pc_beep_verbs
const u32 pc_beep_verbs[]
Definition:
hda_verb.c:37
AZALIA_ARRAY_SIZES
AZALIA_ARRAY_SIZES
Definition:
hda_verb.c:39
u32
uint32_t u32
Definition:
stdint.h:51
src
mainboard
facebook
fbg1701
hda_verb.c
Generated by
1.9.1