• Shawn Lin's avatar
    mmc: dw_mmc-rockchip: parse rockchip, desired-num-phases from DT · 1a12a70f
    Shawn Lin authored
    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: default avatarShawn Lin <shawn.lin@rock-chips.com>
    Signed-off-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
    Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
    1a12a70f
dw_mmc-rockchip.c 10.7 KB