]> asedeno.scripts.mit.edu Git - linux.git/commit
mmc: sdhci-msm: Add msm version specific ops and data structures
authorVijay Viswanath <vviswana@codeaurora.org>
Tue, 19 Jun 2018 05:39:19 +0000 (11:09 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 16 Jul 2018 09:21:45 +0000 (11:21 +0200)
commit6ed4bb4387033a12694e7d766a3612e6cd42a4c0
tree270797ecc9d9e02ee861c37e1b9ebbb2bd824449
parentf15358885dda65ed930885f9c19d37398fb06d48
mmc: sdhci-msm: Add msm version specific ops and data structures

In addition to offsets of certain registers changing, the registers in
core_mem have been shifted to HC mem as well. To access these
registers, define msm version specific functions. These functions can
be loaded into the function pointers at the time of probe based on
the msm version detected.

Also defind new data structure to hold version specific Ops and
register addresses.

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