public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] mmc: Add support for Intel SPT
@ 2015-01-05 12:47 Adrian Hunter
  2015-01-05 12:47 ` [PATCH 1/2] mmc: sdhci-acpi: Add ACPI HID INT344D Adrian Hunter
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Adrian Hunter @ 2015-01-05 12:47 UTC (permalink / raw)
  To: Ulf Hansson, Chris Ball; +Cc: linux-mmc

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] mmc: sdhci-acpi: Add ACPI HID INT344D
  2015-01-05 12:47 [PATCH 0/2] mmc: Add support for Intel SPT Adrian Hunter
@ 2015-01-05 12:47 ` Adrian Hunter
  2015-01-05 12:47 ` [PATCH 2/2] mmc: sdhci-pci: Add support for Intel SPT Adrian Hunter
  2015-01-05 15:23 ` [PATCH 0/2] mmc: " Ulf Hansson
  2 siblings, 0 replies; 4+ messages in thread
From: Adrian Hunter @ 2015-01-05 12:47 UTC (permalink / raw)
  To: Ulf Hansson, Chris Ball; +Cc: linux-mmc

Add ACPI HID INT344D for an Intel SDIO host controller.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
---
 drivers/mmc/host/sdhci-acpi.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/mmc/host/sdhci-acpi.c b/drivers/mmc/host/sdhci-acpi.c
index e3e56d3..970314e 100644
--- a/drivers/mmc/host/sdhci-acpi.c
+++ b/drivers/mmc/host/sdhci-acpi.c
@@ -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"  },
 	{ },
 };
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] mmc: sdhci-pci: Add support for Intel SPT
  2015-01-05 12:47 [PATCH 0/2] mmc: Add support for Intel SPT Adrian Hunter
  2015-01-05 12:47 ` [PATCH 1/2] mmc: sdhci-acpi: Add ACPI HID INT344D Adrian Hunter
@ 2015-01-05 12:47 ` Adrian Hunter
  2015-01-05 15:23 ` [PATCH 0/2] mmc: " Ulf Hansson
  2 siblings, 0 replies; 4+ messages in thread
From: Adrian Hunter @ 2015-01-05 12:47 UTC (permalink / raw)
  To: Ulf Hansson, Chris Ball; +Cc: linux-mmc

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

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
---
 drivers/mmc/host/sdhci-pci.c | 25 +++++++++++++++++++++++++
 drivers/mmc/host/sdhci-pci.h |  3 +++
 2 files changed, 28 insertions(+)

diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c
index 0342775..4f38554 100644
--- a/drivers/mmc/host/sdhci-pci.c
+++ b/drivers/mmc/host/sdhci-pci.c
@@ -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,
diff --git a/drivers/mmc/host/sdhci-pci.h b/drivers/mmc/host/sdhci-pci.h
index d57c3d1..1ec684d 100644
--- a/drivers/mmc/host/sdhci-pci.h
+++ b/drivers/mmc/host/sdhci-pci.h
@@ -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
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] mmc: Add support for Intel SPT
  2015-01-05 12:47 [PATCH 0/2] mmc: Add support for Intel SPT Adrian Hunter
  2015-01-05 12:47 ` [PATCH 1/2] mmc: sdhci-acpi: Add ACPI HID INT344D Adrian Hunter
  2015-01-05 12:47 ` [PATCH 2/2] mmc: sdhci-pci: Add support for Intel SPT Adrian Hunter
@ 2015-01-05 15:23 ` Ulf Hansson
  2 siblings, 0 replies; 4+ messages in thread
From: Ulf Hansson @ 2015-01-05 15:23 UTC (permalink / raw)
  To: Adrian Hunter; +Cc: Chris Ball, linux-mmc

On 5 January 2015 at 13:47, Adrian Hunter <adrian.hunter@intel.com> wrote:
> 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

Thanks! Applied for fixes.

Kind regards
Uffe

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-05 15:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-05 12:47 [PATCH 0/2] mmc: Add support for Intel SPT Adrian Hunter
2015-01-05 12:47 ` [PATCH 1/2] mmc: sdhci-acpi: Add ACPI HID INT344D Adrian Hunter
2015-01-05 12:47 ` [PATCH 2/2] mmc: sdhci-pci: Add support for Intel SPT Adrian Hunter
2015-01-05 15:23 ` [PATCH 0/2] mmc: " Ulf Hansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox