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  0x10ec0256, /* Codec Vendor/Device ID: Realtek ALC256 */
7  0x10ec0256, /* Subsystem ID */
8  16, /* Number of entries */
9 
10  AZALIA_RESET(0x1),
11 
12  AZALIA_SUBVENDOR(0, 0x10ec0256),
13  AZALIA_PIN_CFG(0, 0x12, 0x90a60140), /* Front digital mic */
14  AZALIA_PIN_CFG(0, 0x13, 0x411111f0), /* NC */
15  AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* Internal speakers */
16  AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* NC */
17  AZALIA_PIN_CFG(0, 0x19, 0x04a11130), /* Jack analog mic */
18  AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* NC */
19  AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), /* NC */
20  AZALIA_PIN_CFG(0, 0x1d, 0x411111f0), /* NC */
21  AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* NC */
22  AZALIA_PIN_CFG(0, 0x21, 0x04211120), /* Jack analog out */
23 
24  /* Hidden SW reset */
25  0x0205001a,
26  0x0204c003,
27  0x0205001a,
28  0x02048003,
29 
30  /* Class D power on reset control */
31  0x0205003c,
32  0x02040354,
33  0x0205003c,
34  0x02040314,
35 
36  /* LDO3 output set to 1.2V */
37  0x0205001b,
38  0x02040a4b,
39  0x02050019,
40  0x02040e12,
41 
42  /* SPK power */
43  0x02050038,
44  0x02046901,
45  0x02050007,
46  0x02040200,
47 
48  0x8086280b, /* Codec Vendor/Device ID: Intel CometPoint HDMI */
49  0x80860101, /* Subsystem ID */
50  4, /* Number of entries */
51 
52  AZALIA_SUBVENDOR(2, 0x80860101),
53  AZALIA_PIN_CFG(2, 0x05, 0x18560010),
54  AZALIA_PIN_CFG(2, 0x06, 0x18560010),
55  AZALIA_PIN_CFG(2, 0x07, 0x18560010),
56 };
57 
58 const u32 pc_beep_verbs[] = {};
59 
#define AZALIA_SUBVENDOR(codec, val)
#define AZALIA_PIN_CFG(codec, pin, val)
#define AZALIA_RESET(pin)
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