Jonathon Hall | a86704a | 2023-09-14 14:41:20 -0400 | [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 | 0x10ec0269, /* Codec Vendor/Device ID: Realtek ALC269 */ |
| 7 | 0x10ec0269, /* Subsystem ID */ |
| 8 | 16, /* Number of entries */ |
| 9 | |
| 10 | AZALIA_RESET(0x1), |
| 11 | |
| 12 | AZALIA_SUBVENDOR(0, 0x10ec0269), |
| 13 | AZALIA_PIN_CFG(0, 0x12, 0x90a60130), /* DMIC */ |
| 14 | AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* FRONT */ |
| 15 | AZALIA_PIN_CFG(0, 0x17, 0x40000000), /* N/C */ |
| 16 | AZALIA_PIN_CFG(0, 0x18, 0x04a11020), /* MIC1 */ |
| 17 | AZALIA_PIN_CFG(0, 0x19, 0x411111f0), /* N/C */ |
| 18 | AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* N/C */ |
| 19 | AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), /* N/C */ |
| 20 | AZALIA_PIN_CFG(0, 0x1d, 0x40e38105), /* BEEP */ |
| 21 | AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* N/C */ |
| 22 | AZALIA_PIN_CFG(0, 0x21, 0x0421101f), /* HP-OUT */ |
| 23 | |
| 24 | /* EQ */ |
| 25 | 0x02050011, |
| 26 | 0x02040710, |
| 27 | 0x02050012, |
| 28 | 0x02041901, |
| 29 | |
| 30 | 0x0205000D, |
| 31 | 0x02044440, |
| 32 | 0x02050007, |
| 33 | 0x02040040, |
| 34 | |
| 35 | 0x02050002, |
| 36 | 0x0204AAB8, |
| 37 | 0x02050008, |
| 38 | 0x02040300, |
| 39 | |
| 40 | 0x02050017, |
| 41 | 0x020400AF, |
| 42 | 0x02050005, |
| 43 | 0x020400C0, |
| 44 | |
| 45 | 0x8086281a, /* Codec Vendor/Device ID: Intel Jasper Lake HDMI */ |
| 46 | 0x80860101, /* Subsystem ID */ |
| 47 | 6, /* Number of entries */ |
| 48 | |
| 49 | AZALIA_SUBVENDOR(2, 0x80860101), |
| 50 | AZALIA_PIN_CFG(2, 0x04, 0x18560010), |
| 51 | AZALIA_PIN_CFG(2, 0x06, 0x18560010), |
| 52 | AZALIA_PIN_CFG(2, 0x08, 0x18560010), |
| 53 | AZALIA_PIN_CFG(2, 0x0a, 0x18560010), |
| 54 | AZALIA_PIN_CFG(2, 0x0b, 0x18560010), |
| 55 | }; |
| 56 | |
| 57 | const u32 pc_beep_verbs[] = {}; |
| 58 | |
| 59 | AZALIA_ARRAY_SIZES; |