* [PATCH] mmc: sdhci: Add PCI IDs for Intel Braswell
@ 2014-08-20 10:27 Mika Westerberg
2014-08-29 11:08 ` Ulf Hansson
0 siblings, 1 reply; 2+ messages in thread
From: Mika Westerberg @ 2014-08-20 10:27 UTC (permalink / raw)
To: Chris Ball, Ulf Hansson
Cc: Alan Cox, Mika Westerberg, linux-mmc, linux-kernel
From: Alan Cox <alan@linux.intel.com>
The hardware is the same as used in Baytrail. Add these new PCI IDs to the
driver's list of supported IDs.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
---
drivers/mmc/host/sdhci-pci.c | 23 +++++++++++++++++++++++
drivers/mmc/host/sdhci-pci.h | 3 +++
2 files changed, 26 insertions(+)
diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c
index c3a1debc9289..03daad56d884 100644
--- a/drivers/mmc/host/sdhci-pci.c
+++ b/drivers/mmc/host/sdhci-pci.c
@@ -876,6 +876,29 @@ static const struct pci_device_id pci_ids[] = {
.driver_data = (kernel_ulong_t)&sdhci_intel_byt_emmc,
},
+ {
+ .vendor = PCI_VENDOR_ID_INTEL,
+ .device = PCI_DEVICE_ID_INTEL_BSW_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_BSW_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_BSW_SD,
+ .subvendor = PCI_ANY_ID,
+ .subdevice = PCI_ANY_ID,
+ .driver_data = (kernel_ulong_t)&sdhci_intel_byt_sd,
+ },
{
.vendor = PCI_VENDOR_ID_INTEL,
diff --git a/drivers/mmc/host/sdhci-pci.h b/drivers/mmc/host/sdhci-pci.h
index c101477ef3be..9c1909b2a3ad 100644
--- a/drivers/mmc/host/sdhci-pci.h
+++ b/drivers/mmc/host/sdhci-pci.h
@@ -11,6 +11,9 @@
#define PCI_DEVICE_ID_INTEL_BYT_SDIO 0x0f15
#define PCI_DEVICE_ID_INTEL_BYT_SD 0x0f16
#define PCI_DEVICE_ID_INTEL_BYT_EMMC2 0x0f50
+#define PCI_DEVICE_ID_INTEL_BSW_EMMC 0x2294
+#define PCI_DEVICE_ID_INTEL_BSW_SDIO 0x2295
+#define PCI_DEVICE_ID_INTEL_BSW_SD 0x2296
#define PCI_DEVICE_ID_INTEL_MRFL_MMC 0x1190
#define PCI_DEVICE_ID_INTEL_CLV_SDIO0 0x08f9
#define PCI_DEVICE_ID_INTEL_CLV_SDIO1 0x08fa
--
2.1.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mmc: sdhci: Add PCI IDs for Intel Braswell
2014-08-20 10:27 [PATCH] mmc: sdhci: Add PCI IDs for Intel Braswell Mika Westerberg
@ 2014-08-29 11:08 ` Ulf Hansson
0 siblings, 0 replies; 2+ messages in thread
From: Ulf Hansson @ 2014-08-29 11:08 UTC (permalink / raw)
To: Mika Westerberg
Cc: Chris Ball, Alan Cox, linux-mmc, linux-kernel@vger.kernel.org
On 20 August 2014 12:27, Mika Westerberg
<mika.westerberg@linux.intel.com> wrote:
> From: Alan Cox <alan@linux.intel.com>
>
> The hardware is the same as used in Baytrail. Add these new PCI IDs to the
> driver's list of supported IDs.
>
> Signed-off-by: Alan Cox <alan@linux.intel.com>
> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Thanks! Applied for next.
Kind regards
Uffe
> ---
> drivers/mmc/host/sdhci-pci.c | 23 +++++++++++++++++++++++
> drivers/mmc/host/sdhci-pci.h | 3 +++
> 2 files changed, 26 insertions(+)
>
> diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c
> index c3a1debc9289..03daad56d884 100644
> --- a/drivers/mmc/host/sdhci-pci.c
> +++ b/drivers/mmc/host/sdhci-pci.c
> @@ -876,6 +876,29 @@ static const struct pci_device_id pci_ids[] = {
> .driver_data = (kernel_ulong_t)&sdhci_intel_byt_emmc,
> },
>
> + {
> + .vendor = PCI_VENDOR_ID_INTEL,
> + .device = PCI_DEVICE_ID_INTEL_BSW_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_BSW_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_BSW_SD,
> + .subvendor = PCI_ANY_ID,
> + .subdevice = PCI_ANY_ID,
> + .driver_data = (kernel_ulong_t)&sdhci_intel_byt_sd,
> + },
>
> {
> .vendor = PCI_VENDOR_ID_INTEL,
> diff --git a/drivers/mmc/host/sdhci-pci.h b/drivers/mmc/host/sdhci-pci.h
> index c101477ef3be..9c1909b2a3ad 100644
> --- a/drivers/mmc/host/sdhci-pci.h
> +++ b/drivers/mmc/host/sdhci-pci.h
> @@ -11,6 +11,9 @@
> #define PCI_DEVICE_ID_INTEL_BYT_SDIO 0x0f15
> #define PCI_DEVICE_ID_INTEL_BYT_SD 0x0f16
> #define PCI_DEVICE_ID_INTEL_BYT_EMMC2 0x0f50
> +#define PCI_DEVICE_ID_INTEL_BSW_EMMC 0x2294
> +#define PCI_DEVICE_ID_INTEL_BSW_SDIO 0x2295
> +#define PCI_DEVICE_ID_INTEL_BSW_SD 0x2296
> #define PCI_DEVICE_ID_INTEL_MRFL_MMC 0x1190
> #define PCI_DEVICE_ID_INTEL_CLV_SDIO0 0x08f9
> #define PCI_DEVICE_ID_INTEL_CLV_SDIO1 0x08fa
> --
> 2.1.0
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-08-29 11:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-20 10:27 [PATCH] mmc: sdhci: Add PCI IDs for Intel Braswell Mika Westerberg
2014-08-29 11:08 ` Ulf Hansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).