summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-esdhc.h
diff options
context:
space:
mode:
authoryangbo lu <yangbo.lu@nxp.com>2017-08-15 04:17:03 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2017-08-30 15:03:36 +0200
commit2f3110cc89c29a790c8b31c7983603d60b9ede49 (patch)
tree808f654d49f64a5a0d1a45675d34668d9613e29e /drivers/mmc/host/sdhci-esdhc.h
parentmmc: sdhci: fix SDHCI_QUIRK_NO_HISPD_BIT handling (diff)
downloadlinux-2f3110cc89c29a790c8b31c7983603d60b9ede49.tar.xz
linux-2f3110cc89c29a790c8b31c7983603d60b9ede49.zip
mmc: sdhci-of-esdhc: support ESDHC_CAPABILITIES_1 accessing
eSDHC is not a standard SD host controller. SDHCI_CAPABILITIES_1 register address is 0x44 while it's 0x114 (ESDHC_CAPABILITIES_1) for eSDHC. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-esdhc.h')
-rw-r--r--drivers/mmc/host/sdhci-esdhc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-esdhc.h b/drivers/mmc/host/sdhci-esdhc.h
index e7893f21b65e..dfa58f8b8dfa 100644
--- a/drivers/mmc/host/sdhci-esdhc.h
+++ b/drivers/mmc/host/sdhci-esdhc.h
@@ -54,6 +54,9 @@
#define ESDHC_CLOCK_HCKEN 0x00000002
#define ESDHC_CLOCK_IPGEN 0x00000001
+/* Host Controller Capabilities Register 2 */
+#define ESDHC_CAPABILITIES_1 0x114
+
/* Tuning Block Control Register */
#define ESDHC_TBCTL 0x120
#define ESDHC_TB_EN 0x00000004