mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
sdio: set sdio hs mode co_phase [1/1]
PD#SWPL-5152 Problem: Setup time in sdio highspeed mode of g12a is inconsistent with the protocol standard. Solution: set co_phase = 2. Verify: u212 Change-Id: Ifc4576ce83c810c2ae5cbd57fe53d12959a9acca Signed-off-by: Nan Li <nan.li@amlogic.com>
This commit is contained in:
@@ -343,7 +343,8 @@ static void aml_sd_emmc_set_timing_v3(struct amlsd_platform *pdata,
|
||||
clkc->core_phase = para->hs2.core_phase;
|
||||
clkc->tx_phase = para->hs2.tx_phase;
|
||||
} else if (timing == MMC_TIMING_SD_HS) {
|
||||
if (aml_card_type_non_sdio(pdata))
|
||||
if (aml_card_type_non_sdio(pdata)
|
||||
|| (host->data->chip_type == MMC_CHIP_G12A))
|
||||
clkc->core_phase = para->sd_hs.core_phase;
|
||||
if (pdata->calc_f) {
|
||||
clkc->core_phase = para->calc.core_phase;
|
||||
|
||||
Reference in New Issue
Block a user