summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMark Pearson <markpearson@lenovo.com>2021-05-31 10:55:02 -0400
committerMark Brown <broonie@kernel.org>2021-06-02 12:03:19 +0100
commit19a0aa9b04c5ab9a063b6ceaf7211ee7d9a9d24d (patch)
tree1cf0cde62d053229e155f6487e546dd27cc6dcd3 /sound
parentb640e8a4bd24e17ce24a064d704aba14831651a8 (diff)
ASoC: AMD Renoir - add DMI entry for Lenovo 2020 AMD platforms
More laptops identified where the AMD ACP bridge needs to be blocked or the microphone will not work when connected to HDMI. Use DMI to block the microphone PCM device for these platforms. Suggested-by: Gabriel Craciunescu <nix.or.die@gmail.com> Signed-off-by: Mark Pearson <markpearson@lenovo.com> Link: https://lore.kernel.org/r/20210531145502.6079-1-markpearson@lenovo.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/amd/renoir/rn-pci-acp3x.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/sound/soc/amd/renoir/rn-pci-acp3x.c b/sound/soc/amd/renoir/rn-pci-acp3x.c
index 19438da5dfa5..c9fb1c8fbf8c 100644
--- a/sound/soc/amd/renoir/rn-pci-acp3x.c
+++ b/sound/soc/amd/renoir/rn-pci-acp3x.c
@@ -199,6 +199,41 @@ static const struct dmi_system_id rn_acp_quirk_table[] = {
DMI_EXACT_MATCH(DMI_BOARD_NAME, "20NLCTO1WW"),
}
},
+ {
+ /* Lenovo ThinkPad P14s Gen 1 (20Y1) */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_BOARD_NAME, "20Y1"),
+ }
+ },
+ {
+ /* Lenovo ThinkPad T14s Gen1 */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_BOARD_NAME, "20UH"),
+ }
+ },
+ {
+ /* Lenovo ThinkPad T14s Gen1 Campus */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_BOARD_NAME, "20UJ"),
+ }
+ },
+ {
+ /* Lenovo ThinkPad T14 Gen 1*/
+ .matches = {
+ DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_BOARD_NAME, "20UD"),
+ }
+ },
+ {
+ /* Lenovo ThinkPad X13 Gen 1*/
+ .matches = {
+ DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_BOARD_NAME, "20UF"),
+ }
+ },
{}
};