Skip to contentSkip to conversation

mmc: sdhci-pci: Add support for Intel KBP

PATCH Applied Adrian Hunter 2 participants 4 messages Jun 22, 2016 – Jul 12, 2016

Subsystems (2)
lore
Share & tools
lore

Adrian Hunter

author maintainer
#0 lore raw

PATCH 1/1 mmc: sdhci-pci: Add support for Intel KBP

Add PCI ID for Intel KBP SD host controller.

---
 drivers/mmc/host/sdhci-pci-core.c | 8 ++++++++
 drivers/mmc/host/sdhci-pci.h      | 1 +
 2 files changed, 9 insertions(+)
drivers/mmc/host/sdhci-pci-core.c +8 -0
index a4dbf7421edc..5b03a7ecc6c9 100644
@@ -1215,6 +1215,14 @@ static const struct pci_device_id pci_ids[] = {
 	},
 
 	{
+		.vendor		= PCI_VENDOR_ID_INTEL,
+		.device		= PCI_DEVICE_ID_INTEL_KBP_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,
 		.subvendor	= PCI_ANY_ID,
drivers/mmc/host/sdhci-pci.h +1 -0
index 89e7151684a1..968b81ed8e4d 100644
@@ -34,6 +34,7 @@
 #define PCI_DEVICE_ID_INTEL_APL_SD	0x5aca
 #define PCI_DEVICE_ID_INTEL_APL_EMMC	0x5acc
 #define PCI_DEVICE_ID_INTEL_APL_SDIO	0x5ad0
+#define PCI_DEVICE_ID_INTEL_KBP_SD	0xa2f5
 
 /*
  * PCI registers
Signature · 1 line
1.9.1
Applied
#1 lore raw
Quoted 3 lines · Adrian Hunter

Add PCI ID for Intel KBP SD host controller.

Thanks, applied for next!

Kind regards
Uffe

Quoted 39 lines
---
 drivers/mmc/host/sdhci-pci-core.c | 8 ++++++++
 drivers/mmc/host/sdhci-pci.h      | 1 +
 2 files changed, 9 insertions(+)
drivers/mmc/host/sdhci-pci-core.c +8 -0
index a4dbf7421edc..5b03a7ecc6c9 100644
@@ -1215,6 +1215,14 @@ static const struct pci_device_id pci_ids[] = {
        },
 
        {
+               .vendor         = PCI_VENDOR_ID_INTEL,
+               .device         = PCI_DEVICE_ID_INTEL_KBP_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,
                .subvendor      = PCI_ANY_ID,
drivers/mmc/host/sdhci-pci.h +1 -1
index 89e7151684a1..968b81ed8e4d 100644
@@ -34,6 +34,7 @@
 #define PCI_DEVICE_ID_INTEL_APL_SD     0x5aca
 #define PCI_DEVICE_ID_INTEL_APL_EMMC   0x5acc
 #define PCI_DEVICE_ID_INTEL_APL_SDIO   0x5ad0
+#define PCI_DEVICE_ID_INTEL_KBP_SD     0xa2f5
 
 /*
  * PCI registers
--

1.9.1

author maintainer
#2 lore raw
Quoted 6 lines · Ulf Hansson
Quoted 3 lines · Adrian Hunter

Add PCI ID for Intel KBP SD host controller.

Thanks, applied for next!

It turns out this ID is wrong! Can you please drop this patch from next?

Quoted 44 lines

Kind regards
Uffe

Quoted 39 lines
---
 drivers/mmc/host/sdhci-pci-core.c | 8 ++++++++
 drivers/mmc/host/sdhci-pci.h      | 1 +
 2 files changed, 9 insertions(+)
drivers/mmc/host/sdhci-pci-core.c +8 -0
index a4dbf7421edc..5b03a7ecc6c9 100644
@@ -1215,6 +1215,14 @@ static const struct pci_device_id pci_ids[] = {
        },
 
        {
+               .vendor         = PCI_VENDOR_ID_INTEL,
+               .device         = PCI_DEVICE_ID_INTEL_KBP_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,
                .subvendor      = PCI_ANY_ID,
drivers/mmc/host/sdhci-pci.h +1 -1
index 89e7151684a1..968b81ed8e4d 100644
@@ -34,6 +34,7 @@
 #define PCI_DEVICE_ID_INTEL_APL_SD     0x5aca
 #define PCI_DEVICE_ID_INTEL_APL_EMMC   0x5acc
 #define PCI_DEVICE_ID_INTEL_APL_SDIO   0x5ad0
+#define PCI_DEVICE_ID_INTEL_KBP_SD     0xa2f5
 
 /*
  * PCI registers
--

1.9.1

#3 lore raw
Quoted 9 lines · Adrian Hunter
Quoted 6 lines · Ulf Hansson
Quoted 3 lines · Adrian Hunter

Add PCI ID for Intel KBP SD host controller.

Thanks, applied for next!

It turns out this ID is wrong! Can you please drop this patch from next?

I have dropped it from my next branch, sorry for the delay!

Kind regards
Uffe

Quoted 46 lines
Quoted 45 lines

Kind regards
Uffe

Quoted 39 lines
---
 drivers/mmc/host/sdhci-pci-core.c | 8 ++++++++
 drivers/mmc/host/sdhci-pci.h      | 1 +
 2 files changed, 9 insertions(+)
drivers/mmc/host/sdhci-pci-core.c +8 -0
index a4dbf7421edc..5b03a7ecc6c9 100644
@@ -1215,6 +1215,14 @@ static const struct pci_device_id pci_ids[] = {
        },
 
        {
+               .vendor         = PCI_VENDOR_ID_INTEL,
+               .device         = PCI_DEVICE_ID_INTEL_KBP_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,
                .subvendor      = PCI_ANY_ID,
drivers/mmc/host/sdhci-pci.h +1 -1
index 89e7151684a1..968b81ed8e4d 100644
@@ -34,6 +34,7 @@
 #define PCI_DEVICE_ID_INTEL_APL_SD     0x5aca
 #define PCI_DEVICE_ID_INTEL_APL_EMMC   0x5acc
 #define PCI_DEVICE_ID_INTEL_APL_SDIO   0x5ad0
+#define PCI_DEVICE_ID_INTEL_KBP_SD     0xa2f5
 
 /*
  * PCI registers
--

1.9.1