Skip to contentSkip to conversation

mmc: sdhci-pci: Add support for Intel Quark X1000 SDIO host controller

PATCH New Chen, Alvin 3 participants 6 messages Jun 24, 2014 – Aug 11, 2014

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

PATCH v2 1/1 mmc: sdhci-pci: SDIO host controller support for Intel Quark X1000

In reply to Chen, Alvin

From: Derek Browne <[email protected]>

This patch is to enable SDIO host controller for Intel Quark X1000.

---
changelog v2:
*Delete '#define PCI_DEVICE_ID_INTEL_QUARK_ILB 0x095E' from 'include/linux/pci_ids.h'. *Move '#define PCI_DEVICE_ID_INTEL_QRK_SD 0x08A7' from 'include/linux/pci_ids.h'
to 'driver/mmc/host/sdhci-pci.h'.
*Update the subject and description.

 drivers/mmc/host/sdhci-pci.c |   12 ++++++++++++
 drivers/mmc/host/sdhci-pci.h |    1 +
 2 files changed, 13 insertions(+)
drivers/mmc/host/sdhci-pci.c +12 -0
index 52c42fc..1aeeefc 100644
@@ -103,6 +103,10 @@ static const struct sdhci_pci_fixes sdhci_cafe = {
 			  SDHCI_QUIRK_BROKEN_TIMEOUT_VAL,
 };
 
+static const struct sdhci_pci_fixes sdhci_intel_qrk = {
+	.quirks		= SDHCI_QUIRK_NO_HISPD_BIT,
+};
+
 static int mrst_hc_probe_slot(struct sdhci_pci_slot *slot)
 {
 	slot->host->mmc->caps |= MMC_CAP_8_BIT_DATA;
@@ -753,6 +757,14 @@ static const struct pci_device_id pci_ids[] = {
 
 	{
 		.vendor		= PCI_VENDOR_ID_INTEL,
+		.device		= PCI_DEVICE_ID_INTEL_QRK_SD,
+		.subvendor	= PCI_ANY_ID,
+		.subdevice	= PCI_ANY_ID,
+		.driver_data	= (kernel_ulong_t)&sdhci_intel_qrk,
+	},
+
+	{
+		.vendor		= PCI_VENDOR_ID_INTEL,
 		.device		= PCI_DEVICE_ID_INTEL_MRST_SD0,
 		.subvendor	= PCI_ANY_ID,
 		.subdevice	= PCI_ANY_ID,
drivers/mmc/host/sdhci-pci.h +1 -0
index 6d71871..c101477 100644
@@ -17,6 +17,7 @@
 #define PCI_DEVICE_ID_INTEL_CLV_SDIO2	0x08fb
 #define PCI_DEVICE_ID_INTEL_CLV_EMMC0	0x08e5
 #define PCI_DEVICE_ID_INTEL_CLV_EMMC1	0x08e6
+#define PCI_DEVICE_ID_INTEL_QRK_SD	0x08A7
 
 /*
  * PCI registers
Signature · 1 line
1.7.9.5
#0 lore raw

PATCH v2 1/1 mmc: sdhci-pci: Add support for Intel Quark X1000 SDIO host controller

From: "Alvin (Weike) Chen" <[email protected]>

Hi,
Intel Quark X1000 consists of one SDIO host controller which can be PCI enumerated. SDHCI-PCI layer doesn't support it. Thus, we add support for Intel Quark X1000 SDIO as well.

Derek Browne (1):
Quark SDIO host controller

 drivers/mmc/host/sdhci-pci.c |   12 ++++++++++++
 drivers/mmc/host/sdhci-pci.h |    1 +
 2 files changed, 13 insertions(+)
Signature · 1 line
1.7.9.5
Applied
#2 lore raw

Re: [PATCH v2] mmc: sdhci-pci: SDIO host controller support for Intel Quark X1000

In reply to Chen, Alvin
Quoted 6 lines · Alvin

From: Derek Browne <[email protected]>

This patch is to enable SDIO host controller for Intel Quark X1000.

Thanks! Applied for next.

Kind regards
Uffe

Quoted 60 lines

---
changelog v2:
*Delete '#define PCI_DEVICE_ID_INTEL_QUARK_ILB 0x095E' from 'include/linux/pci_ids.h'. *Move '#define PCI_DEVICE_ID_INTEL_QRK_SD 0x08A7' from 'include/linux/pci_ids.h'
to 'driver/mmc/host/sdhci-pci.h'.
*Update the subject and description.

 drivers/mmc/host/sdhci-pci.c |   12 ++++++++++++
 drivers/mmc/host/sdhci-pci.h |    1 +
 2 files changed, 13 insertions(+)
drivers/mmc/host/sdhci-pci.c +12 -0
index 52c42fc..1aeeefc 100644
@@ -103,6 +103,10 @@ static const struct sdhci_pci_fixes sdhci_cafe = {
                          SDHCI_QUIRK_BROKEN_TIMEOUT_VAL,
 };
 
+static const struct sdhci_pci_fixes sdhci_intel_qrk = {
+       .quirks         = SDHCI_QUIRK_NO_HISPD_BIT,
+};
+
 static int mrst_hc_probe_slot(struct sdhci_pci_slot *slot)
 {
        slot->host->mmc->caps |= MMC_CAP_8_BIT_DATA;
@@ -753,6 +757,14 @@ static const struct pci_device_id pci_ids[] = {
 
        {
                .vendor         = PCI_VENDOR_ID_INTEL,
+               .device         = PCI_DEVICE_ID_INTEL_QRK_SD,
+               .subvendor      = PCI_ANY_ID,
+               .subdevice      = PCI_ANY_ID,
+               .driver_data    = (kernel_ulong_t)&sdhci_intel_qrk,
+       },
+
+       {
+               .vendor         = PCI_VENDOR_ID_INTEL,
                .device         = PCI_DEVICE_ID_INTEL_MRST_SD0,
                .subvendor      = PCI_ANY_ID,
                .subdevice      = PCI_ANY_ID,
drivers/mmc/host/sdhci-pci.h +1 -1
index 6d71871..c101477 100644
@@ -17,6 +17,7 @@
 #define PCI_DEVICE_ID_INTEL_CLV_SDIO2  0x08fb
 #define PCI_DEVICE_ID_INTEL_CLV_EMMC0  0x08e5
 #define PCI_DEVICE_ID_INTEL_CLV_EMMC1  0x08e6
+#define PCI_DEVICE_ID_INTEL_QRK_SD     0x08A7
 
 /*
  * PCI registers
--

1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw

RE: [PATCH v2] mmc: sdhci-pci: SDIO host controller support for Intel Quark X1000

Quoted 9 lines

-----Original Message-----
From: Ulf Hansson [mailto:[email protected]]
Sent: Wednesday, July 02, 2014 5:01 PM
To: Chen, Alvin
Cc: Chris Ball; linux-mmc; [email protected]; Ong, Boon Leong
Subject: Re: [PATCH v2] mmc: sdhci-pci: SDIO host controller support for Intel Quark X1000

On 24 June 2014 15:56, Chen, Alvin <[email protected]> wrote:

Quoted 9 lines
Quoted 6 lines

From: Derek Browne <[email protected]>

This patch is to enable SDIO host controller for Intel Quark X1000.

Thanks! Applied for next.

Hi Ulf,
For this patch, are you in progress of getting it into v3.17 merge window? Just want to follow-up.

Many thanks
Boon Leong

#4 lore raw

RE: [PATCH v2] mmc: sdhci-pci: SDIO host controller support for Intel Quark X1000

Hi Ulf,

Any update for this patch? Just want to follow-up.

Best regards,Alvin Chen
ICFS Platform Engineering Solution
Flex Services (CMMI Level 3, IQA2005, IQA2008), Greater Asia Region Intel Information Technology Tel. 010-82171960 inet.8-7581960
Email. [email protected]

Quoted 35 lines

-----Original Message-----
From: Ong, Boon Leong
Sent: Wednesday, August 6, 2014 3:32 PM
To: Ulf Hansson
Cc: Chris Ball; linux-mmc; [email protected]; Chen, Alvin
Subject: RE: [PATCH v2] mmc: sdhci-pci: SDIO host controller support for Intel Quark X1000

Quoted 10 lines

-----Original Message-----
From: Ulf Hansson [mailto:[email protected]]
Sent: Wednesday, July 02, 2014 5:01 PM
To: Chen, Alvin
Cc: Chris Ball; linux-mmc; [email protected]; Ong, Boon Leong
Subject: Re: [PATCH v2] mmc: sdhci-pci: SDIO host controller support for Intel Quark X1000

On 24 June 2014 15:56, Chen, Alvin <[email protected]> wrote:

Quoted 9 lines
Quoted 6 lines

From: Derek Browne <[email protected]>

This patch is to enable SDIO host controller for Intel Quark X1000.

Thanks! Applied for next.

Hi Ulf,
For this patch, are you in progress of getting it into v3.17 merge
window?
Just want to follow-up.

Many thanks
Boon Leong

#5 lore raw

Re: [PATCH v2] mmc: sdhci-pci: SDIO host controller support for Intel Quark X1000

Quoted 3 lines · Alvin

Hi Ulf,

Any update for this patch? Just want to follow-up.

It will be included in my PR for 3.17.

Kind regards
Uffe

Quoted 45 lines

Best regards,Alvin Chen
ICFS Platform Engineering Solution
Flex Services (CMMI Level 3, IQA2005, IQA2008), Greater Asia Region Intel Information Technology Tel. 010-82171960 inet.8-7581960
Email. [email protected]

Quoted 35 lines

-----Original Message-----
From: Ong, Boon Leong
Sent: Wednesday, August 6, 2014 3:32 PM
To: Ulf Hansson
Cc: Chris Ball; linux-mmc; [email protected]; Chen, Alvin
Subject: RE: [PATCH v2] mmc: sdhci-pci: SDIO host controller support for Intel Quark X1000

Quoted 10 lines

-----Original Message-----
From: Ulf Hansson [mailto:[email protected]]
Sent: Wednesday, July 02, 2014 5:01 PM
To: Chen, Alvin
Cc: Chris Ball; linux-mmc; [email protected]; Ong, Boon Leong
Subject: Re: [PATCH v2] mmc: sdhci-pci: SDIO host controller support for Intel Quark X1000

On 24 June 2014 15:56, Chen, Alvin <[email protected]> wrote:

Quoted 9 lines
Quoted 6 lines

From: Derek Browne <[email protected]>

This patch is to enable SDIO host controller for Intel Quark X1000.

Thanks! Applied for next.

Hi Ulf,
For this patch, are you in progress of getting it into v3.17 merge
window?
Just want to follow-up.

Many thanks
Boon Leong