summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/dw_mmc.c
diff options
context:
space:
mode:
authorShawn Lin <shawn.lin@rock-chips.com>2017-05-16 14:28:54 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2017-06-29 17:13:59 +0200
commit1a12a70fa6784baf2b8b9301ac2c22d1b1ab2979 (patch)
tree1099b339a26dce99cb1386eb903fadcaf2ac424c /drivers/mmc/host/dw_mmc.c
parentfca0c33003b1523a9579696515870b164311e56e (diff)
mmc: dw_mmc-rockchip: parse rockchip, desired-num-phases from DT
Currently we unconditionally do tuning for each degree, which costs 900ms for each boot and resume. May someone argue that this is a question of accuracy VS time. But I would say it's a trick of how we need to do decision for our boards. If we don't care the time we spend at all, we could definitely do tuning for each degree. But when we need to improve the user experience, for instance, speed up resuming from S3, we should also have the right to do that. This patch add parsing "rockchip,desired-num-phases", for folks to specify the number of doing tuning. If not specified, 360 will be used as before. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/dw_mmc.c')
0 files changed, 0 insertions, 0 deletions