]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: rework selection of bus speed mode
authorSeungwon Jeon <tgih.jun@samsung.com>
Wed, 23 Apr 2014 08:08:44 +0000 (17:08 +0900)
committerChris Ball <chris@printf.net>
Mon, 12 May 2014 22:06:04 +0000 (18:06 -0400)
commitc452d4d84d841287c7d84fe5c3adebeb8e9f6c7e
tree8fad9da75d2f2086a2c1ec2ec89d51c1af29e969
parent88bb8f156d17e69ea10a2442c44524dfc213c3c6
mmc: rework selection of bus speed mode

Current implementation for bus speed mode selection is too
complicated. This patch is to simplify the codes and remove
some duplicate parts.

The following changes are including:
* Adds functions for each mode selection(HS, HS-DDR, HS200 and etc)
* Rearranged the mode selection sequence with supported device type
* Adds maximum speed for HS200 mode(hs200_max_dtr)
* Adds field definition for HS_TIMING of EXT_CSD

Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Tested-by: Jaehoon Chung <jh80.chung@samsung.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/core/debugfs.c
drivers/mmc/core/mmc.c
include/linux/mmc/card.h
include/linux/mmc/mmc.h