From 0f16306557df5d7f5232fe07de1f77dfb9526389 Mon Sep 17 00:00:00 2001 From: Nan Li Date: Wed, 27 Feb 2019 14:16:44 +0800 Subject: [PATCH] sdio: set sdio hs mode co_phase [1/1] PD#SWPL-5206 Problem: Setup time in sdio highspeed mode of txlx is inconsistent with the protocol standard. Solution: set co_phase = 2. Verify: r321 Change-Id: I3e5a1bca335faea6397513de772d3ee35ea76d40 Signed-off-by: Nan Li --- drivers/amlogic/mmc/aml_sd_emmc_v3.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/amlogic/mmc/aml_sd_emmc_v3.c b/drivers/amlogic/mmc/aml_sd_emmc_v3.c index 345785165ddf..c670c97d3159 100644 --- a/drivers/amlogic/mmc/aml_sd_emmc_v3.c +++ b/drivers/amlogic/mmc/aml_sd_emmc_v3.c @@ -383,6 +383,7 @@ static void aml_sd_emmc_set_timing_v3(struct amlsd_platform *pdata, clkc->tx_phase = para->hs2.tx_phase; } else if (timing == MMC_TIMING_SD_HS) { if (aml_card_type_non_sdio(pdata) + || (host->data->chip_type == MMC_CHIP_TXLX) || (host->data->chip_type == MMC_CHIP_G12A)) clkc->core_phase = para->sd_hs.core_phase; if ((pdata->calc_f)