summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/au1xmmc.c
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2016-01-30 01:21:47 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2016-02-29 11:02:57 +0100
commit2a7aa63a27840ca246f81cb466063f2a74001ca1 (patch)
treea4d660141be0dfa74ff3e00c54f2c2c698eded6b /drivers/mmc/host/au1xmmc.c
parent2dcb305a9ef0f98645dafa6d916936772fde2ad5 (diff)
downloadblackbird-op-linux-2a7aa63a27840ca246f81cb466063f2a74001ca1.tar.gz
blackbird-op-linux-2a7aa63a27840ca246f81cb466063f2a74001ca1.zip
mmc: sunxi: Support 8 bit eMMC DDR transfer modes
Allwinner's MMC controller needs to run at double the card clock rate for 8 bit DDR transfer modes. Interestingly, this is not needed for 4 bit DDR transfers. Different clock delays are needed for 8 bit eMMC DDR, due to the increased module clock rate. For the A80 though, the same values for 4 bit and 8 bit are shared. The new values for the other SoCs were from A83T user manual's "new timing mode" default values, which describes them in clock phase, rather than delay periods. These values were used without any modification. They may not be correct, but they work. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/au1xmmc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud