@@ -96,7 +96,7 @@ static const struct sdhci_cdns6_ctrl_cfg reg_cfg[REG_CFG_MAX][MAX_TIMING_MODES]
9696 { "cdns,ctrl-hrs07-timing-delay-sd-sdr104" , 0x000a0001 }, // SD UHS1 SDR104
9797 { "cdns,ctrl-hrs07-timing-delay-sd-ddr50" , 0x00090001 }, // SD UHS1 DDR50
9898 { "cdns,ctrl-hrs07-timing-delay-mmc-ddr52" , 0x00090001 }, // MMC DDR52
99- { "cdns,ctrl-hrs07-timing-delay-mmc-hs200" , 0x00090000 }, // MMC HS200
99+ { "cdns,ctrl-hrs07-timing-delay-mmc-hs200" , 0x000a0001 }, // MMC HS200
100100 { "cdns,ctrl-hrs07-timing-delay-mmc-hs400" , 0x00090001 }, // MMC HS400
101101 { "cdns,ctrl-hrs07-timing-delay-mmc-hs400es" , 0x00090001 }, // MMC HS400ES
102102 },
@@ -126,7 +126,7 @@ static const struct sdhci_cdns6_ctrl_cfg reg_cfg[REG_CFG_MAX][MAX_TIMING_MODES]
126126 { "cdns,ctrl-hrs10-timing-delay-sd-sdr104" , 0x00090000 },
127127 { "cdns,ctrl-hrs10-timing-delay-sd-ddr50" , 0x00020000 },
128128 { "cdns,ctrl-hrs10-timing-delay-mmc-ddr52" , 0x00020000 },
129- { "cdns,ctrl-hrs10-timing-delay-mmc-hs200" , 0x00080000 },
129+ { "cdns,ctrl-hrs10-timing-delay-mmc-hs200" , 0x00090000 },
130130 { "cdns,ctrl-hrs10-timing-delay-mmc-hs400" , 0x00080000 },
131131 { "cdns,ctrl-hrs10-timing-delay-mmc-hs400es" , 0x00080000 },
132132 },
@@ -141,7 +141,7 @@ static const struct sdhci_cdns6_ctrl_cfg reg_cfg[REG_CFG_MAX][MAX_TIMING_MODES]
141141 { "cdns,ctrl-hrs16-timing-delay-sd-sdr104" , 0x00000101 },
142142 { "cdns,ctrl-hrs16-timing-delay-sd-ddr50" , 0x11000000 },
143143 { "cdns,ctrl-hrs16-timing-delay-mmc-ddr52" , 0x11000001 },
144- { "cdns,ctrl-hrs16-timing-delay-mmc-hs200" , 0x00007777 },
144+ { "cdns,ctrl-hrs16-timing-delay-mmc-hs200" , 0x00000101 },
145145 { "cdns,ctrl-hrs16-timing-delay-mmc-hs400" , 0x11000001 },
146146 { "cdns,ctrl-hrs16-timing-delay-mmc-hs400es" , 0x11000001 },
147147 },
@@ -162,18 +162,18 @@ static const struct sdhci_cdns6_ctrl_cfg reg_cfg[REG_CFG_MAX][MAX_TIMING_MODES]
162162 },
163163 /* [5] ComboPHY: PHY Gate Loopback Control */
164164 {
165- { "cdns,phy-gate-lpbk_ctrl -delay-default" , 0x81a40040 },
166- { "cdns,phy-gate-lpbk_ctrl -delay-mmc-hs" , 0x81a40040 },
167- { "cdns,phy-gate-lpbk_ctrl -delay-sd-hs" , 0x81a40040 },
168- { "cdns,phy-gate-lpbk_ctrl -delay-sd-sdr12" , 0x81a40040 },
169- { "cdns,phy-gate-lpbk_ctrl -delay-sd-sdr25" , 0x81a40040 },
170- { "cdns,phy-gate-lpbk_ctrl -delay-sd-sdr50" , 0x80a40040 },
171- { "cdns,phy-gate-lpbk_ctrl -delay-sd-sdr104" , 0x81a40040 },
172- { "cdns,phy-gate-lpbk_ctrl -delay-sd-ddr50" , 0x80a40040 },
173- { "cdns,phy-gate-lpbk_ctrl -delay-mmc-ddr52" , 0x81a40040 },
174- { "cdns,phy-gate-lpbk_ctrl -delay-mmc-hs200" , 0x81a40040 },
175- { "cdns,phy-gate-lpbk_ctrl -delay-mmc-hs400" , 0x81fc0040 },
176- { "cdns,phy-gate-lpbk_ctrl -delay-mmc-hs400es" , 0x81fc0040 },
165+ { "cdns,phy-gate-lpbk-ctrl -delay-default" , 0x81a40040 },
166+ { "cdns,phy-gate-lpbk-ctrl -delay-mmc-hs" , 0x81a40040 },
167+ { "cdns,phy-gate-lpbk-ctrl -delay-sd-hs" , 0x81a40040 },
168+ { "cdns,phy-gate-lpbk-ctrl -delay-sd-sdr12" , 0x81a40040 },
169+ { "cdns,phy-gate-lpbk-ctrl -delay-sd-sdr25" , 0x81a40040 },
170+ { "cdns,phy-gate-lpbk-ctrl -delay-sd-sdr50" , 0x80a40040 },
171+ { "cdns,phy-gate-lpbk-ctrl -delay-sd-sdr104" , 0x81a40040 },
172+ { "cdns,phy-gate-lpbk-ctrl -delay-sd-ddr50" , 0x80a40040 },
173+ { "cdns,phy-gate-lpbk-ctrl -delay-mmc-ddr52" , 0x81a40040 },
174+ { "cdns,phy-gate-lpbk-ctrl -delay-mmc-hs200" , 0x81a40040 },
175+ { "cdns,phy-gate-lpbk-ctrl -delay-mmc-hs400" , 0x81fc0040 },
176+ { "cdns,phy-gate-lpbk-ctrl -delay-mmc-hs400es" , 0x81fc0040 },
177177 },
178178 /* [6] ComboPHY: PHY DLL Master Control */
179179 {
@@ -186,9 +186,9 @@ static const struct sdhci_cdns6_ctrl_cfg reg_cfg[REG_CFG_MAX][MAX_TIMING_MODES]
186186 { "cdns,phy-dll-master-ctrl-sd-sdr104" , 0x00000004 },
187187 { "cdns,phy-dll-master-ctrl-sd-ddr50" , 0x00800000 },
188188 { "cdns,phy-dll-master-ctrl-mmc-ddr52" , 0x00800000 },
189- { "cdns,phy-dll-master-ctrl-mmc-hs200" , 0x00204d00 },
190- { "cdns,phy-dll-master-ctrl-mmc-hs400" , 0x00204d00 },
191- { "cdns,phy-dll-master-ctrl-mmc-hs400es" , 0x00204d00 },
189+ { "cdns,phy-dll-master-ctrl-mmc-hs200" , 0x00000004 },
190+ { "cdns,phy-dll-master-ctrl-mmc-hs400" , 0x00000004 },
191+ { "cdns,phy-dll-master-ctrl-mmc-hs400es" , 0x00000004 },
192192 },
193193 /* [7] ComboPHY: PHY DLL Slave Control */
194194 {
@@ -201,7 +201,7 @@ static const struct sdhci_cdns6_ctrl_cfg reg_cfg[REG_CFG_MAX][MAX_TIMING_MODES]
201201 { "cdns,phy-dll-slave-ctrl-sd-sdr104" , 0x004d4d00 },
202202 { "cdns,phy-dll-slave-ctrl-sd-ddr50" , 0x00000000 },
203203 { "cdns,phy-dll-slave-ctrl-mmc-ddr52" , 0x00000000 },
204- { "cdns,phy-dll-slave-ctrl-mmc-hs200" , 0x004dc600 },
204+ { "cdns,phy-dll-slave-ctrl-mmc-hs200" , 0x004d4d00 },
205205 { "cdns,phy-dll-slave-ctrl-mmc-hs400" , 0x004d4b40 },
206206 { "cdns,phy-dll-slave-ctrl-mmc-hs400es" , 0x004d4b40 },
207207 },
@@ -216,7 +216,7 @@ static const struct sdhci_cdns6_ctrl_cfg reg_cfg[REG_CFG_MAX][MAX_TIMING_MODES]
216216 { "cdns,phy-dq-timing-delay-sd-sdr104" , 0x11000001 },
217217 { "cdns,phy-dq-timing-delay-sd-ddr50" , 0x38000001 },
218218 { "cdns,phy-dq-timing-delay-mmc-ddr52" , 0x10000001 },
219- { "cdns,phy-dq-timing-delay-mmc-hs200" , 0x00000001 },
219+ { "cdns,phy-dq-timing-delay-mmc-hs200" , 0x10000001 },
220220 { "cdns,phy-dq-timing-delay-mmc-hs400" , 0x10000001 },
221221 { "cdns,phy-dq-timing-delay-mmc-hs400es" , 0x10000001 },
222222 }
0 commit comments