Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

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

Signed-off-by: Derek Browne <Derek.Browne@intel.com>
Signed-off-by: Alvin (Weike) Chen <alvin.chen@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Derek Browne and committed by
Ulf Hansson
43e968ce c938a53a

+13
+12
drivers/mmc/host/sdhci-pci.c
··· 103 103 SDHCI_QUIRK_BROKEN_TIMEOUT_VAL, 104 104 }; 105 105 106 + static const struct sdhci_pci_fixes sdhci_intel_qrk = { 107 + .quirks = SDHCI_QUIRK_NO_HISPD_BIT, 108 + }; 109 + 106 110 static int mrst_hc_probe_slot(struct sdhci_pci_slot *slot) 107 111 { 108 112 slot->host->mmc->caps |= MMC_CAP_8_BIT_DATA; ··· 753 749 .subvendor = PCI_ANY_ID, 754 750 .subdevice = PCI_ANY_ID, 755 751 .driver_data = (kernel_ulong_t)&sdhci_rtsx, 752 + }, 753 + 754 + { 755 + .vendor = PCI_VENDOR_ID_INTEL, 756 + .device = PCI_DEVICE_ID_INTEL_QRK_SD, 757 + .subvendor = PCI_ANY_ID, 758 + .subdevice = PCI_ANY_ID, 759 + .driver_data = (kernel_ulong_t)&sdhci_intel_qrk, 756 760 }, 757 761 758 762 {
+1
drivers/mmc/host/sdhci-pci.h
··· 17 17 #define PCI_DEVICE_ID_INTEL_CLV_SDIO2 0x08fb 18 18 #define PCI_DEVICE_ID_INTEL_CLV_EMMC0 0x08e5 19 19 #define PCI_DEVICE_ID_INTEL_CLV_EMMC1 0x08e6 20 + #define PCI_DEVICE_ID_INTEL_QRK_SD 0x08A7 20 21 21 22 /* 22 23 * PCI registers