mmc: dw_mmc: support DDR mode
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 24 Feb 2011 04:46:11 +0000 (13:46 +0900)
committerChris Ball <cjb@laptop.org>
Tue, 15 Mar 2011 17:51:47 +0000 (13:51 -0400)
commit41babf753cc82ab6208903625a084bf305c32d06
tree1418a029223084fc3860a64683b3a65b0baeec0a
parente7054ba1f73c0a0e2489251499bdbc21b88b4190
mmc: dw_mmc: support DDR mode

This patch adds DDR mode support to dw_mmc.

If we set any bit in UHS_REG bit[16:31], the card of that slot is
supported for DDR mode.  For example, if UHS_REG[16] is set, card
number 0 is DDR mode.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/dw_mmc.c
drivers/mmc/host/dw_mmc.h