mmc: sdhci-msm: Define new Register address map
authorSayali Lokhande <sayalil@codeaurora.org>
Tue, 19 Jun 2018 05:39:18 +0000 (11:09 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 16 Jul 2018 09:21:45 +0000 (11:21 +0200)
commitf15358885dda65ed930885f9c19d37398fb06d48
tree58b9b3d390b0f3c44a24b2ee6c19a6dc0dc5cbad
parent26eb2607fa281d98eed28c8c3949f6786695bf7a
mmc: sdhci-msm: Define new Register address map

For SDCC version 5.0.0, MCI registers are removed from SDCC
interface and some registers are moved to HC.
Define a new data structure where we can statically define
the address offsets for the registers in different SDCC versions.

Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
Signed-off-by: Vijay Viswanath <vviswana@codeaurora.org>
Reviewed-by: Evan Green <evgreen@chromium.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-msm.c