Skip to contentSkip to conversation

mmc: sunxi: Use new timing mode for A64 eMMC controller

PATCH RESEND New Chen-Yu Tsai 3 participants 3 messages Sep 6, 2018 – Sep 7, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 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.

---

This is just a resend. A separate patch clarifying the usage of the new timing mode should meet Maxime's request for comments clarifying the new timing mode usage from the initial submission of this patch.

---
 drivers/mmc/host/sunxi-mmc.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mmc/host/sunxi-mmc.c +1 -0
index 5f8d3ea0a0f8..279e326e397e 100644
@@ -1177,6 +1177,7 @@ static const struct sunxi_mmc_cfg sun50i_a64_emmc_cfg = {
 	.idma_des_size_bits = 13,
 	.clk_delays = NULL,
 	.can_calibrate = true,
+	.needs_new_timings = true,
 };
 
 static const struct of_device_id sunxi_mmc_of_match[] = {
Signature · 1 line
2.19.0.rc1
#1 lore raw

PATCH RESEND 1/1 mmc: sunxi: Use new timing mode for A64 eMMC controller

Quoted 10 lines · Chen-Yu Tsai

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.

Maxime

Signature · 10 lines
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180907/5e520c74/attachment.sig>
#2 lore raw

PATCH RESEND 1/1 mmc: sunxi: Use new timing mode for A64 eMMC controller

In reply to Chen-Yu Tsai
Quoted 10 lines · Chen-Yu Tsai

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.

Applied for next, thanks!

Kind regards
Uffe

Quoted 25 lines

---

This is just a resend. A separate patch clarifying the usage of the new timing mode should meet Maxime's request for comments clarifying the new timing mode usage from the initial submission of this patch.

---
 drivers/mmc/host/sunxi-mmc.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mmc/host/sunxi-mmc.c +1 -1
index 5f8d3ea0a0f8..279e326e397e 100644
@@ -1177,6 +1177,7 @@ static const struct sunxi_mmc_cfg sun50i_a64_emmc_cfg = {
        .idma_des_size_bits = 13,
        .clk_delays = NULL,
        .can_calibrate = true,
+       .needs_new_timings = true,
 };
 
 static const struct of_device_id sunxi_mmc_of_match[] = {
--

2.19.0.rc1