Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mmc: sdhci-acpi: Add device ID for the AMDI0041 variant of the AMD eMMC controller.

This variant is present on a Lenovo IdeaPad Slim 1, which uses an AMD Dali/Athlon Silver 3050e.
The Windows AMD SD Host Controller driver also lists this as a valid device ID.

Adding this device ID makes the internal eMMC storage on the Lenovo accessible.
Consequently this makes Linux installable and usable on it as well.

Signed-off-by: James Young <james@pocketfluff.org>
Link: https://lore.kernel.org/r/20210318124025.3002861-1-james@pocketfluff.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

James Young and committed by
Ulf Hansson
955047f3 eb9cb722

+2
+2
drivers/mmc/host/sdhci-acpi.c
··· 772 772 { "QCOM8051", NULL, &sdhci_acpi_slot_qcom_sd_3v }, 773 773 { "QCOM8052", NULL, &sdhci_acpi_slot_qcom_sd }, 774 774 { "AMDI0040", NULL, &sdhci_acpi_slot_amd_emmc }, 775 + { "AMDI0041", NULL, &sdhci_acpi_slot_amd_emmc }, 775 776 { }, 776 777 }; 777 778 ··· 790 789 { "QCOM8051" }, 791 790 { "QCOM8052" }, 792 791 { "AMDI0040" }, 792 + { "AMDI0041" }, 793 793 { }, 794 794 }; 795 795 MODULE_DEVICE_TABLE(acpi, sdhci_acpi_ids);