diff options
author | Maurice Petallo <mauricex.r.petallo@intel.com> | 2014-07-08 07:11:01 -0400 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2014-07-10 08:58:29 -0400 |
commit | f25c33724d1512a72554c0ad4cb70b43ba15374e (patch) | |
tree | 05aef5afbddc4d01c5facc90246293864f44e4dc /drivers/mmc | |
parent | d61b59461b0cd0106f03e566d537b9072029e059 (diff) |
mmc: sdhci: add DDR50 1.8V mode support for BayTrail eMMC Controller
This is to enable DDR50 bus speed mode with 1.8V signaling capability
for BayTrail ACPI and PCI mode eMMC Controller.
Signed-off-by: Maurice Petallo <mauricex.r.petallo@intel.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/sdhci-acpi.c | 3 | ||||
-rw-r--r-- | drivers/mmc/host/sdhci-pci.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci-acpi.c b/drivers/mmc/host/sdhci-acpi.c index 840788ebdc7f..8c5337002c51 100644 --- a/drivers/mmc/host/sdhci-acpi.c +++ b/drivers/mmc/host/sdhci-acpi.c | |||
@@ -124,7 +124,8 @@ static const struct sdhci_acpi_chip sdhci_acpi_chip_int = { | |||
124 | 124 | ||
125 | static const struct sdhci_acpi_slot sdhci_acpi_slot_int_emmc = { | 125 | static const struct sdhci_acpi_slot sdhci_acpi_slot_int_emmc = { |
126 | .chip = &sdhci_acpi_chip_int, | 126 | .chip = &sdhci_acpi_chip_int, |
127 | .caps = MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE | MMC_CAP_HW_RESET, | 127 | .caps = MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE | |
128 | MMC_CAP_HW_RESET | MMC_CAP_1_8V_DDR, | ||
128 | .caps2 = MMC_CAP2_HC_ERASE_SZ, | 129 | .caps2 = MMC_CAP2_HC_ERASE_SZ, |
129 | .flags = SDHCI_ACPI_RUNTIME_PM, | 130 | .flags = SDHCI_ACPI_RUNTIME_PM, |
130 | .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN, | 131 | .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN, |
diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c index dc336ee6751e..42f4633d0060 100644 --- a/drivers/mmc/host/sdhci-pci.c +++ b/drivers/mmc/host/sdhci-pci.c | |||
@@ -268,7 +268,7 @@ static void sdhci_pci_int_hw_reset(struct sdhci_host *host) | |||
268 | static int byt_emmc_probe_slot(struct sdhci_pci_slot *slot) | 268 | static int byt_emmc_probe_slot(struct sdhci_pci_slot *slot) |
269 | { | 269 | { |
270 | slot->host->mmc->caps |= MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE | | 270 | slot->host->mmc->caps |= MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE | |
271 | MMC_CAP_HW_RESET; | 271 | MMC_CAP_HW_RESET | MMC_CAP_1_8V_DDR; |
272 | slot->host->mmc->caps2 |= MMC_CAP2_HC_ERASE_SZ; | 272 | slot->host->mmc->caps2 |= MMC_CAP2_HC_ERASE_SZ; |
273 | slot->hw_reset = sdhci_pci_int_hw_reset; | 273 | slot->hw_reset = sdhci_pci_int_hw_reset; |
274 | return 0; | 274 | return 0; |