Skip to content

Commit 07bafc1

Browse files
wensstorulf
authored andcommitted
mmc: sunxi: Use new timing mode for A64 eMMC controller
The eMMC controller is also a new timing mode controller, but it doesn't have the timing mode switch. It does however have signal delay and calibration controls, typical of Allwinner MMC controllers that support the new timing mode. Enable the new timing mode setting for the A64 eMMC controller. This also enables MMC HS-DDR modes, which gives higher throughput for eMMC chips that support it, and can deliver such throughput. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent 1ff9cab commit 07bafc1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/mmc/host/sunxi-mmc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1177,6 +1177,7 @@ static const struct sunxi_mmc_cfg sun50i_a64_emmc_cfg = {
11771177
.idma_des_size_bits = 13,
11781178
.clk_delays = NULL,
11791179
.can_calibrate = true,
1180+
.needs_new_timings = true,
11801181
};
11811182

11821183
static const struct of_device_id sunxi_mmc_of_match[] = {

0 commit comments

Comments
 (0)