1 // SPDX-License-Identifier: GPL-2.0-only 2 /* 3 * amd-acpi-match.c - tables and support for ACP platforms 4 * ACPI enumeration. 5 * 6 * Copyright 2025 Advanced Micro Devices, Inc. 7 */ 8 9 #include <sound/soc-acpi.h> 10 11 struct snd_soc_acpi_codecs amp_rt1019 = { 12 .num_codecs = 1, 13 .codecs = {"10EC1019"} 14 }; 15 16 struct snd_soc_acpi_codecs amp_max = { 17 .num_codecs = 1, 18 .codecs = {"MX98360A"} 19 }; 20 21 struct snd_soc_acpi_mach snd_soc_acpi_amd_acp_machines[] = { 22 { 23 .id = "10EC5682", 24 .drv_name = "acp3xalc56821019", 25 .machine_quirk = snd_soc_acpi_codec_list, 26 .quirk_data = &_rt1019, 27 }, 28 { 29 .id = "RTL5682", 30 .drv_name = "acp3xalc5682sm98360", 31 .machine_quirk = snd_soc_acpi_codec_list, 32 .quirk_data = &_max, 33 }, 34 { 35 .id = "RTL5682", 36 .drv_name = "acp3xalc5682s1019", 37 .machine_quirk = snd_soc_acpi_codec_list, 38 .quirk_data = &_rt1019, 39 }, 40 { 41 .id = "AMDI1019", 42 .drv_name = "renoir-acp", 43 }, 44 { 45 .id = "ESSX8336", 46 .drv_name = "acp3x-es83xx", 47 }, 48 {}, 49 }; 50 EXPORT_SYMBOL_NS_GPL(snd_soc_acpi_amd_acp_machines, "SND_SOC_ACP_COMMON"); 51 52 struct snd_soc_acpi_mach snd_soc_acpi_amd_rmb_acp_machines[] = { 53 { 54 .id = "10508825", 55 .drv_name = "rmb-nau8825-max", 56 .machine_quirk = snd_soc_acpi_codec_list, 57 .quirk_data = &_max, 58 }, 59 { 60 .id = "AMDI0007", 61 .drv_name = "rembrandt-acp", 62 }, 63 { 64 .id = "RTL5682", 65 .drv_name = "rmb-rt5682s-rt1019", 66 .machine_quirk = snd_soc_acpi_codec_list, 67 .quirk_data = &_rt1019, 68 }, 69 {}, 70 }; 71 EXPORT_SYMBOL_NS_GPL(snd_soc_acpi_amd_rmb_acp_machines, "SND_SOC_ACP_COMMON"); 72 73 struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_acp_machines[] = { 74 { 75 .id = "AMDI0052", 76 .drv_name = "acp63-acp", 77 }, 78 {}, 79 }; 80 EXPORT_SYMBOL_NS_GPL(snd_soc_acpi_amd_acp63_acp_machines, "SND_SOC_ACP_COMMON"); 81 82 struct snd_soc_acpi_mach snd_soc_acpi_amd_acp70_acp_machines[] = { 83 { 84 .id = "AMDI0029", 85 .drv_name = "acp70-acp", 86 }, 87 {}, 88 }; 89 EXPORT_SYMBOL_NS_GPL(snd_soc_acpi_amd_acp70_acp_machines, "SND_SOC_ACP_COMMON"); 90 91 MODULE_DESCRIPTION("AMD ACP tables and support for ACPI enumeration"); 92 MODULE_LICENSE("GPL"); 93 MODULE_AUTHOR("Venkataprasad.potturu@amd.com"); 94