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 <nan.li@amlogic.com>
This commit is contained in:
Nan Li
2019-02-27 14:16:44 +08:00
committed by Luke Go
parent 35bc41f8d8
commit 0f16306557

View File

@@ -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)