Debian Codegraph @

src/mainboard/samsung/lumpy/hda_verb.c

raw symbols SCIP
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 0x00000008, // Number of jacks
10
11 /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x152D0924 */
12 AZALIA_SUBVENDOR(0, 0x152D0924),
13
14 0x00170500,
15 0x00170500, /* Padding */
16 0x00170500, /* Padding */
17 0x00170500, /* Padding */
18
19 /* Pin Widget Verb Table */
20
21 /* Pin Complex (NID 0x05) */
22 AZALIA_PIN_CFG(0, 0x05, 0x022110f0),
23
24 /* Pin Complex (NID 0x06) */
25 AZALIA_PIN_CFG(0, 0x06, 0x901700f0),
26
27 /* Pin Complex (NID 0x07) */
28 AZALIA_PIN_CFG(0, 0x07, 0x02a110f0),
29
30 /* Pin Complex (NID 0x08) */
31 AZALIA_PIN_CFG(0, 0x08, 0x77a70037),
32
33 /* Pin Complex (NID 0x09) */
34 AZALIA_PIN_CFG(0, 0x09, 0xb7a6003e),
35
36 /* Pin Complex (NID 0x0a) */
37 AZALIA_PIN_CFG(0, 0x0a, 0x434510f0),
38 };
39
40 const u32 pc_beep_verbs[] = {
41 0x00170500, /* power up codec */
42 0x00270500, /* power up DAC */
43 0x00670500, /* power up speaker */
44 0x00670740, /* enable speaker output */
45 0x0023B04B, /* set DAC gain */
46 };
47 AZALIA_ARRAY_SIZES;