Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mmc: dw_mmc: support 8-bit buswidth

This patch adds support for 8-bit buswidth.
dw_mmc can use 8-bit buswidth and set to CTYPE_8BIT in card-type register.

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>

authored by

Jaehoon Chung and committed by
Chris Ball
c9b2a06f 37b7785e

+3
+3
drivers/mmc/host/dw_mmc.c
··· 673 673 case MMC_BUS_WIDTH_4: 674 674 slot->ctype = SDMMC_CTYPE_4BIT; 675 675 break; 676 + case MMC_BUS_WIDTH_8: 677 + slot->ctype = SDMMC_CTYPE_8BIT; 678 + break; 676 679 } 677 680 678 681 if (ios->clock) {