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
/* Realtek, ALC1220 */
7
0x10ec1220,
/* Vendor ID */
8
0x155896e1,
/* Subsystem ID */
9
12,
/* Number of entries */
10
AZALIA_SUBVENDOR
(0, 0x155896e1),
11
AZALIA_PIN_CFG
(0, 0x12, 0x90a60140),
// DMIC
12
AZALIA_PIN_CFG
(0, 0x14, 0x0421101f),
// FRONT (Port-D)
13
AZALIA_PIN_CFG
(0, 0x15, 0x40000000),
// SURR (Port-A)
14
AZALIA_PIN_CFG
(0, 0x16, 0x411111f0),
// CENTER/LFE (Port-G)
15
AZALIA_PIN_CFG
(0, 0x17, 0x411111f0),
// SIDE (Port-H)
16
AZALIA_PIN_CFG
(0, 0x18, 0x04a11050),
// MIC1 (Port-B)
17
AZALIA_PIN_CFG
(0, 0x19, 0x411111f0),
// MIC2 (Port-F)
18
AZALIA_PIN_CFG
(0, 0x1a, 0x411111f0),
// LINE1 (Port-C)
19
AZALIA_PIN_CFG
(0, 0x1b, 0x90170110),
// LINE2 (Port-E)
20
AZALIA_PIN_CFG
(0, 0x1d, 0x40b7952d),
// PCBEEP
21
AZALIA_PIN_CFG
(0, 0x1e, 0x04451130),
// S/PDIF-OUT
22
};
23
24
const
u32
pc_beep_verbs
[] = {
25
// Enable DMIC microphone on ALC1220
26
0x02050036,
27
0x02042a6a,
28
};
29
30
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
system76
oryp5
hda_verb.c
Generated by
1.9.1