mmc: Add support for Intel SPT
Adrian Hunter
maintainercover mmc: Add support for Intel SPT
Hi
Here are a couple of patches to add some IDs.
Please queue them as fixes.
Adrian Hunter (2):
mmc: sdhci-acpi: Add ACPI HID INT344D
mmc: sdhci-pci: Add support for Intel SPT
drivers/mmc/host/sdhci-acpi.c | 2 ++ drivers/mmc/host/sdhci-pci.c | 25 +++++++++++++++++++++++++ drivers/mmc/host/sdhci-pci.h | 3 +++ 3 files changed, 30 insertions(+)
Regards
Adrian
Adrian Hunter
maintainerPATCH 1/2 mmc: sdhci-acpi: Add ACPI HID INT344D
Add ACPI HID INT344D for an Intel SDIO host controller.
Signed-off-by Adrian Hunter <[email protected]>
--- drivers/mmc/host/sdhci-acpi.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/mmc/host/sdhci-acpi.c +2 -0
@@ -247,6 +247,7 @@ static const struct sdhci_acpi_uid_slot sdhci_acpi_uids[] = { { "INT33BB" , "3" , &sdhci_acpi_slot_int_sd }, { "INT33C6" , NULL, &sdhci_acpi_slot_int_sdio }, { "INT3436" , NULL, &sdhci_acpi_slot_int_sdio }, + { "INT344D" , NULL, &sdhci_acpi_slot_int_sdio }, { "PNP0D40" }, { }, };
@@ -257,6 +258,7 @@ static const struct acpi_device_id sdhci_acpi_ids[] = { { "INT33BB" }, { "INT33C6" }, { "INT3436" }, + { "INT344D" }, { "PNP0D40" }, { }, };
Signature · 1 line
1.9.1
Adrian Hunter
maintainerPATCH 2/2 mmc: sdhci-pci: Add support for Intel SPT
In reply to Adrian HunterAdd PCI IDs for SPT eMMC, SDIO and SD card.
Signed-off-by Adrian Hunter <[email protected]>
--- drivers/mmc/host/sdhci-pci.c | 25 +++++++++++++++++++++++++ drivers/mmc/host/sdhci-pci.h | 3 +++ 2 files changed, 28 insertions(+)
drivers/mmc/host/sdhci-pci.c +25 -0
@@ -993,6 +993,31 @@ static const struct pci_device_id pci_ids[] = { .subdevice = PCI_ANY_ID, .driver_data = (kernel_ulong_t)&sdhci_intel_mrfl_mmc, }, + + { + .vendor = PCI_VENDOR_ID_INTEL, + .device = PCI_DEVICE_ID_INTEL_SPT_EMMC, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .driver_data = (kernel_ulong_t)&sdhci_intel_byt_emmc, + }, + + { + .vendor = PCI_VENDOR_ID_INTEL, + .device = PCI_DEVICE_ID_INTEL_SPT_SDIO, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .driver_data = (kernel_ulong_t)&sdhci_intel_byt_sdio, + }, + + { + .vendor = PCI_VENDOR_ID_INTEL, + .device = PCI_DEVICE_ID_INTEL_SPT_SD, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .driver_data = (kernel_ulong_t)&sdhci_intel_byt_sd, + }, + { .vendor = PCI_VENDOR_ID_O2, .device = PCI_DEVICE_ID_O2_8120,
drivers/mmc/host/sdhci-pci.h +3 -0
@@ -21,6 +21,9 @@#define PCI_DEVICE_ID_INTEL_CLV_EMMC0 0x08e5#define PCI_DEVICE_ID_INTEL_CLV_EMMC1 0x08e6#define PCI_DEVICE_ID_INTEL_QRK_SD 0x08A7 +#define PCI_DEVICE_ID_INTEL_SPT_EMMC 0x9d2b +#define PCI_DEVICE_ID_INTEL_SPT_SDIO 0x9d2c +#define PCI_DEVICE_ID_INTEL_SPT_SD 0x9d2d/* * PCI registers
Signature · 1 line
1.9.1
Ulf Hansson
AppliedQuoted 11 lines · Adrian Hunter
Hi
Here are a couple of patches to add some IDs.
Please queue them as fixes.
Adrian Hunter (2):
mmc: sdhci-acpi: Add ACPI HID INT344D
mmc: sdhci-pci: Add support for Intel SPT
Quoted 8 lines
drivers/mmc/host/sdhci-acpi.c | 2 ++ drivers/mmc/host/sdhci-pci.c | 25 +++++++++++++++++++++++++ drivers/mmc/host/sdhci-pci.h | 3 +++ 3 files changed, 30 insertions(+)Regards
Adrian
Thanks! Applied for fixes.
Kind regards
Uffe