mmc: sdhci_am654: Add Initial Support for AM654 SDHCI driver
authorFaiz Abbas <faiz_abbas@ti.com>
Mon, 10 Dec 2018 18:35:07 +0000 (00:05 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 17 Dec 2018 07:26:24 +0000 (08:26 +0100)
commit41fd4caeb00bbd6dc55f056f3e8e956697b0760d
treee0cd64658ce7f4f0d77ca6083759a2111c386781
parent49d14adb0031e380e6a0d52d2b853a7f8db3f65f
mmc: sdhci_am654: Add Initial Support for AM654 SDHCI driver

The host controllers on TI's AM654 SOCs are not compatible with
the phy and consumer model of the sdhci-of-arasan driver. It turns out
that for optimal operation at higher speeds, a special tuning procedure
needs to be implemented which involves configuration of platform
specific phy registers.

Therefore, branch out to a new sdhci_am654 driver and add the phy
register space with all phy configurations to it. Populate AM654
specific callbacks to sdhci_ops and add SDHCI_QUIRKS wherever
applicable.

Only add support for upto High Speed for SD card and upto DDR52 speed
mode for eMMC. Higher speeds will be added in subsequent patches.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/Kconfig
drivers/mmc/host/Makefile
drivers/mmc/host/sdhci-of-arasan.c
drivers/mmc/host/sdhci_am654.c [new file with mode: 0644]