Skip to contentSkip to conversation

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

PATCH In review James Young 2 participants 2 messages Mar 18, 2021 – Mar 19, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/mmc/host/sdhci-acpi.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/mmc/host/sdhci-acpi.c +2 -0
index b6574e7fd26b..c3fbf8c825c4 100644
@@ -772,6 +772,7 @@ static const struct sdhci_acpi_uid_slot sdhci_acpi_uids[] = {
 	{ "QCOM8051", NULL, &sdhci_acpi_slot_qcom_sd_3v },
 	{ "QCOM8052", NULL, &sdhci_acpi_slot_qcom_sd },
 	{ "AMDI0040", NULL, &sdhci_acpi_slot_amd_emmc },
+	{ "AMDI0041", NULL, &sdhci_acpi_slot_amd_emmc },
 	{ },
 };
 
@@ -789,6 +790,7 @@ static const struct acpi_device_id sdhci_acpi_ids[] = {
 	{ "QCOM8051" },
 	{ "QCOM8052" },
 	{ "AMDI0040" },
+	{ "AMDI0041" },
 	{ },
 };
 MODULE_DEVICE_TABLE(acpi, sdhci_acpi_ids);
Signature · 1 line
2.25.1
#1 lore raw
Quoted 8 lines · James Young

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.

Applied for next, thanks!

Kind regards
Uffe

Quoted 27 lines
---
 drivers/mmc/host/sdhci-acpi.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/mmc/host/sdhci-acpi.c +2 -1
index b6574e7fd26b..c3fbf8c825c4 100644
@@ -772,6 +772,7 @@ static const struct sdhci_acpi_uid_slot sdhci_acpi_uids[] = {
        { "QCOM8051", NULL, &sdhci_acpi_slot_qcom_sd_3v },
        { "QCOM8052", NULL, &sdhci_acpi_slot_qcom_sd },
        { "AMDI0040", NULL, &sdhci_acpi_slot_amd_emmc },
+       { "AMDI0041", NULL, &sdhci_acpi_slot_amd_emmc },
        { },
 };
 
@@ -789,6 +790,7 @@ static const struct acpi_device_id sdhci_acpi_ids[] = {
        { "QCOM8051" },
        { "QCOM8052" },
        { "AMDI0040" },
+       { "AMDI0041" },
        { },
 };
 MODULE_DEVICE_TABLE(acpi, sdhci_acpi_ids);
--

2.25.1