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
0x10134210,
// Codec Vendor / Device ID: Cirrus Logic CS4210
8
0x152D0924,
// Subsystem ID
9
0x00000007,
// Number of jacks
10
11
/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x152D0924 */
12
AZALIA_SUBVENDOR
(0, 0x152D0924),
13
14
0x00170500,
15
16
/* Pin Widget Verb Table */
17
18
/* Pin Complex (NID 0x05) */
19
AZALIA_PIN_CFG
(0, 0x05, 0x022110f0),
20
21
/* Pin Complex (NID 0x06) */
22
AZALIA_PIN_CFG
(0, 0x06, 0x901700f0),
23
24
/* Pin Complex (NID 0x07) */
25
AZALIA_PIN_CFG
(0, 0x07, 0x02a110f0),
26
27
/* Pin Complex (NID 0x08) */
28
AZALIA_PIN_CFG
(0, 0x08, 0x77a70037),
29
30
/* Pin Complex (NID 0x09) */
31
AZALIA_PIN_CFG
(0, 0x09, 0xb7a6003e),
32
33
/* Pin Complex (NID 0x0a) */
34
AZALIA_PIN_CFG
(0, 0x0a, 0x434510f0),
35
};
36
37
const
u32
pc_beep_verbs
[] = {
38
0x00170500,
/* power up codec */
39
0x00270500,
/* power up DAC */
40
0x00670500,
/* power up speaker */
41
0x00670740,
/* enable speaker output */
42
0x0023B04B,
/* set DAC gain */
43
};
44
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
samsung
lumpy
hda_verb.c
Generated by
1.9.1