mmc: sunxi: allow 3.3V DDR when DDR is available
authorIcenowy Zheng <icenowy@aosc.io>
Sun, 22 Jul 2018 12:54:07 +0000 (20:54 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 1 Aug 2018 10:02:03 +0000 (12:02 +0200)
commit88023d43ffe114d4f8c35995151ef6f8633f234a
tree48afd9425ab9d82c5c7dd655fc75ecfbd8cc6b38
parent29aba07aea0e36c996001ca3f8997316ebefe0e1
mmc: sunxi: allow 3.3V DDR when DDR is available

Some Allwinner boards feature an on-board eMMC with fixed 3.3V voltage
(e.g. Banana Pi M2+), and in this case both the eMMC and the SoC are
capable of doing 3.3V DDR transmission.

Add capability of 3.3V DDR when DDR is available (extra clock or new
timing).

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sunxi-mmc.c