Skip to content

Commit 2963070

Browse files
wensstorulf
authored andcommitted
mmc: sunxi: Disable eMMC HS-DDR (MMC_CAP_1_8V_DDR) for Allwinner A80
eMMC HS-DDR no longer works on the A80, despite it working when support for this developed. Disable it for now. Signed-off-by: Chen-Yu Tsai <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
1 parent 6e1c7d6 commit 2963070

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/mmc/host/sunxi-mmc.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,6 +1129,11 @@ static int sunxi_mmc_probe(struct platform_device *pdev)
11291129
MMC_CAP_1_8V_DDR |
11301130
MMC_CAP_ERASE | MMC_CAP_SDIO_IRQ;
11311131

1132+
/* TODO MMC DDR is not working on A80 */
1133+
if (of_device_is_compatible(pdev->dev.of_node,
1134+
"allwinner,sun9i-a80-mmc"))
1135+
mmc->caps &= ~MMC_CAP_1_8V_DDR;
1136+
11321137
ret = mmc_of_parse(mmc);
11331138
if (ret)
11341139
goto error_free_dma;

0 commit comments

Comments
 (0)