Debian Codegraph @

src/mainboard/google/brya/variants/pujjocento/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 0x10ec0257, // Codec Vendor / Device ID: Realtek ALC257
8 0x10ec0257, // Subsystem ID
9 0x00000010, // Number of jacks (NID entries)
10
11 AZALIA_RESET(0x1),
12 /* NID 0x01, HDA Codec Subsystem ID Verb table */
13 AZALIA_SUBVENDOR(0, 0x10ec3a2c),
14
15 /* Pin Widget Verb Table */
16
17 /*
18 * DMIC
19 * Requirement is to use PCH DMIC. Hence,
20 * commented out codec's Internal DMIC.
21 * AZALIA_PIN_CFG(0, 0x12, 0x90A60130),
22 * AZALIA_PIN_CFG(0, 0x13, 0x40000000),
23 */
24
25 /* Pin widget 0x14 - Front (Port-D) */
26 AZALIA_PIN_CFG(0, 0x14, 0x90170110),
27 /* Pin widget 0x18 - NPC */
28 AZALIA_PIN_CFG(0, 0x18, 0x411111F0),
29 /* Pin widget 0x19 - MIC2 (Port-F) */
30 AZALIA_PIN_CFG(0, 0x19, 0x04A11030),
31 /* Pin widget 0x1A - LINE1 (Port-C) */
32 AZALIA_PIN_CFG(0, 0x1a, 0x411111F0),
33 /* Pin widget 0x1B - NPC */
34 AZALIA_PIN_CFG(0, 0x1b, 0x411111F0),
35 /* Pin widget 0x1D - BEEP-IN */
36 AZALIA_PIN_CFG(0, 0x1d, 0x40579A2D),
37 /* Pin widget 0x1E - NPC */
38 AZALIA_PIN_CFG(0, 0x1e, 0x411111F0),
39 /* Pin widget 0x21 - HP1-OUT (Port-I) */
40 AZALIA_PIN_CFG(0, 0x21, 0x04211020),
41 /* Widget node 0x20 - 0 */
42 0x0205001A,
43 0x0204C003,
44 0x0205001A,
45 0x0204C003,
46 /* Widget node 0x20 - 1 */
47 0x02050038,
48 0x02046981,
49 0x0205001B,
50 0x02040A4B,
51 /* Widget node 0x20 - 2 */
52 0x0205003C,
53 0x02043154,
54 0x0205003C,
55 0x02043114,
56 /* Widget node 0x20 - 3 */
57 0x02050046,
58 0x02040004,
59 0x05750003,
60 0x057409A3,
61 /* Widget node 0x20 - 4 */
62 0x02050009,
63 0x02044003,
64 0x0205000A,
65 0x02047778,
66 /* Widget node 0x20 - 5 */
67 0x02050037,
68 0x0204FE15,
69 0x02050030,
70 0x02049000,
71 };
72
73 const u32 pc_beep_verbs[] = {
74 /* Dos beep path - 1 */
75 0x02050010,
76 0x02040020,
77 0x02050036,
78 0x02047151,
79 /* Dos beep path - 2 */
80 0x01470740,
81 0x0143B000,
82 0x01470C02,
83 0x01470C02,
84 };
85
86 AZALIA_ARRAY_SIZES;