Skip to content
Commit 88bd652b authored by Chun-Hung Wu's avatar Chun-Hung Wu Committed by Ulf Hansson
Browse files

mmc: mediatek: command queue support



Support command queue for mt6779 platform.
a. Add msdc_set_busy_timeout() to calculate emmc write timeout.
b. Connect mtk msdc driver to cqhci driver through
   host->cq_host->ops = &msdc_cmdq_ops;
c. msdc_cmdq_irq() will link up with cqchi_irq(). Besides, it provides
   more irq error messages like RSPCRCERR/CMDTO/DATACRCERR/DATTMO.
d. Select kernel config MMC_CQHCI for MMC_MTK

Signed-off-by: default avatarChun-Hung Wu <chun-hung.wu@mediatek.com>
Acked-by: default avatarYong Mao <yong.mao@mediatek.com>
Link: https://lore.kernel.org/r/1595205759-5825-4-git-send-email-chun-hung.wu@mediatek.com
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 557011b6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment