Skip to contentSkip to conversation

mmc: Add support for Intel SPT

PATCH Applied Adrian Hunter 2 participants 4 messages Jan 5, 2015

Subsystems (2)
lore
Share & tools
lore

Adrian Hunter

author maintainer
#0 lore raw

cover 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

author maintainer
#1 lore raw

PATCH 1/2 mmc: sdhci-acpi: Add ACPI HID INT344D

Add ACPI HID INT344D for an Intel SDIO host controller.

---
 drivers/mmc/host/sdhci-acpi.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/mmc/host/sdhci-acpi.c +2 -0
index e3e56d3..970314e 100644
@@ -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
author maintainer
#2 lore raw

PATCH 2/2 mmc: sdhci-pci: Add support for Intel SPT

In reply to Adrian Hunter

Add PCI IDs for SPT eMMC, SDIO and SD card.

---
 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
index 0342775..4f38554 100644
@@ -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
index d57c3d1..1ec684d 100644
@@ -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
Applied
#3 lore raw
In reply to Adrian Hunter
Quoted 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