Sean Rhodes | 3252897 | 2022-03-09 09:07:40 +0000 | [diff] [blame] | 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 | 0x10ec0269, /* Codec Vendor / Device ID: Realtek ALC269 */ |
| 8 | 0x10ec111e, /* Subsystem ID */ |
| 9 | 15, /* Number of jacks (NID entries) */ |
| 10 | |
| 11 | /* Reset Codec First */ |
| 12 | AZALIA_RESET(0x1), |
| 13 | |
| 14 | /* HDA Codec Subsystem ID */ |
| 15 | AZALIA_SUBVENDOR(0, 0x1C6C1240), |
| 16 | |
| 17 | /* Pin Widget Verb-table */ |
| 18 | AZALIA_PIN_CFG(0, 0x01, 0x00000000), |
| 19 | AZALIA_PIN_CFG(0, 0x12, 0x411111f0), |
| 20 | AZALIA_PIN_CFG(0, 0x14, 0x94171110), |
| 21 | AZALIA_PIN_CFG(0, 0x17, 0x411111f0), |
| 22 | AZALIA_PIN_CFG(0, 0x18, 0x04ab1020), |
| 23 | AZALIA_PIN_CFG(0, 0x19, 0x411111f0), |
| 24 | AZALIA_PIN_CFG(0, 0x1a, 0x93171110), |
| 25 | AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), |
| 26 | AZALIA_PIN_CFG(0, 0x1d, 0x411111f0), |
| 27 | AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), |
| 28 | AZALIA_PIN_CFG(0, 0x21, 0x042b1010), |
| 29 | |
| 30 | 0x00370600, |
| 31 | 0x00270600, |
| 32 | 0x00b707C0, |
| 33 | 0x00d70740, |
| 34 | |
| 35 | 0x0017a200, |
| 36 | 0x0017c621, |
| 37 | 0x0017a208, |
| 38 | 0x00170500, |
| 39 | |
| 40 | 0x8086280d, /* Codec Vendor / Device ID: Intel */ |
| 41 | 0x80860101, /* Subsystem ID */ |
| 42 | 4, /* Number of 4 dword sets */ |
| 43 | |
| 44 | AZALIA_SUBVENDOR(2, 0x80860101), |
| 45 | |
| 46 | AZALIA_PIN_CFG(2, 0x05, 0x18560010), |
| 47 | AZALIA_PIN_CFG(2, 0x06, 0x18560020), |
| 48 | AZALIA_PIN_CFG(2, 0x07, 0x18560030), |
| 49 | }; |
| 50 | |
| 51 | const u32 pc_beep_verbs[] = { |
| 52 | }; |
| 53 | |
| 54 | AZALIA_ARRAY_SIZES; |