mmc: sdhci-of-dwcmshc: fix some config for rk3576

1. Set the default tx dll tap value to 0x7 for hs400.
2. Set the default cmd dll tap value to 0x7.
3. Configure the RK_TAP_VALUE_SEL flag.

Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: If9d920756b0ecc960bb607f1fcec889daff51f46
This commit is contained in:
Yifeng Zhao
2024-03-18 11:51:07 +08:00
committed by Tao Huang
parent 1e07e1d604
commit 94f1bbce63

View File

@@ -536,12 +536,12 @@ static const struct dwcmshc_driver_data rk3562_drvdata = {
static const struct dwcmshc_driver_data rk3576_drvdata = {
.pdata = &sdhci_dwcmshc_rk35xx_pdata,
.flags = RK_PLATFROM | RK_DLL_CMD_OUT,
.flags = RK_PLATFROM | RK_DLL_CMD_OUT | RK_TAP_VALUE_SEL,
.hs200_tx_tap = 16,
.hs400_tx_tap = 9,
.hs400_cmd_tap = 8,
.hs400_strbin_tap = 4,
.ddr50_strbin_delay_num = 16,
.hs400_tx_tap = 7,
.hs400_cmd_tap = 7,
.hs400_strbin_tap = 5,
.ddr50_strbin_delay_num = 10,
};
static const struct of_device_id sdhci_dwcmshc_dt_ids[] = {