.sdmmc.hs.core_phase = 3,
.sdmmc.ddr.core_phase = 2,
.sdmmc.ddr.tx_phase = 0,
- .sdmmc.hs2.core_phase = 3,
+ .sdmmc.hs2.core_phase = 2,
.sdmmc.hs2.tx_phase = 0,
.sdmmc.hs4.tx_delay = 0,
.sdmmc.sd_hs.core_phase = 3,
nmatch = aml_sd_emmc_tuning_transfer(mmc, opcode,
blk_pattern, host->blk_test, blksz);
if (nmatch != TUNING_NUM_PER_POINT) {
- clkc->core_phase = para->hs2.tx_phase;
- clkc->tx_phase = para->hs2.core_phase;
+ if (host->data->chip_type != MMC_CHIP_SM1) {
+ clkc->core_phase = para->hs2.tx_phase;
+ clkc->tx_phase = para->hs2.core_phase;
+ }
writel(vclk, host->base + SD_EMMC_CLOCK_V3);
pr_info("%s:try clock:0x%x>>>rx_tuning[%d] = %d\n",
mmc_hostname(host->mmc),