mmc: s5p_sdhci: support the Driver model for Exynos
authorJaehoon Chung <jh80.chung@samsung.com>
Fri, 9 Sep 2016 09:23:23 +0000 (18:23 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 10 Oct 2016 06:23:32 +0000 (15:23 +0900)
commit7aedafd6b374b9c052474dc248fa7173c5c048a2
tree04072308d3d34abab78583f02899bd64f3eee866
parentf5fd45ff64e28a73499548358e3d1ceda0de7daf
mmc: s5p_sdhci: support the Driver model for Exynos

This patch support the driver model for s5p_sdhci controller.
To support the legacy model, maintained the existing code.

Note: If use the Driver Model, it needs to modify the device-tree.
In future, will update the Device-tree and enable the configuratioin.
(CONFIG_BLK, CONFIG_DM_MMC and CONFING_DM_MMC_OPS)

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Minkyu Kang <mk7.kang@samsung.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/mmc/s5p_sdhci.c