soc/mediatek/mt8196: Add PMIC MT6373 driver
[coreboot2.git] / src / mainboard / starlabs / starbook / variants / kbl / hda_verb.c
blob9c023897f0393c913c185433688f273425f36f6d
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <device/azalia_device.h>
5 const u32 cim_verb_data[] = {
6 /* coreboot specific header */
7 0x10ec0269, /* Codec Vendor / Device ID: Realtek ALC269 */
8 0x10ec10d0, /* Subsystem ID */
9 18, /* Number of jacks (NID entries) */
11 /* Reset Codec First */
12 AZALIA_RESET(0x1),
14 /* HDA Codec Subsystem ID Verb-table */
15 AZALIA_SUBVENDOR(0, 0x10ec10d0),
17 /* Pin Widget Verb-table */
18 AZALIA_PIN_CFG(0, 0x01, 0x00000000),
19 AZALIA_PIN_CFG(0, 0x12, 0x90a61120),
20 AZALIA_PIN_CFG(0, 0x14, 0x90171110),
21 AZALIA_PIN_CFG(0, 0x15, 0x04ab1020),
22 AZALIA_PIN_CFG(0, 0x17, 0x411111F0),
23 AZALIA_PIN_CFG(0, 0x18, 0x04AB1020),
24 AZALIA_PIN_CFG(0, 0x19, 0x411111F0),
25 AZALIA_PIN_CFG(0, 0x1A, 0x411111F0),
26 AZALIA_PIN_CFG(0, 0x1B, 0x411111F0),
27 AZALIA_PIN_CFG(0, 0x1D, 0x411111F0),
28 AZALIA_PIN_CFG(0, 0x1E, 0x411111F0),
30 /* ALC269 Default 1 */
31 0x02050018,
32 0x02043984,
33 0x0205001C,
34 0x02040800,
36 /* ALC269 Default 2 */
37 0x02050024,
38 0x02040000,
39 0x02050004,
40 0x02040080,
42 /* ALC269 Default 3 */
43 0x02050008,
44 0x02040300,
45 0x0205000C,
46 0x02043F00,
48 /* ALC269 Default 4 */
49 0x02050015,
50 0x02048002,
51 0x02050015,
52 0x02048002,
54 /* ALC269 Default 5 */
55 0x00C37080,
56 0x00270610,
57 0x00D37080,
58 0x00370610,
60 0x8086280b, /* Codec Vendor / Device ID: Intel */
61 0x80860101, /* Subsystem ID */
62 4, /* Number of 4 dword sets */
64 AZALIA_SUBVENDOR(2, 0x80860101),
66 AZALIA_PIN_CFG(2, 0x05, 0x18560010),
67 AZALIA_PIN_CFG(2, 0x06, 0x18560010),
68 AZALIA_PIN_CFG(2, 0x07, 0x18560010),
71 const u32 pc_beep_verbs[] = {};
73 AZALIA_ARRAY_SIZES;