]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sunxi: Disable HS-DDR mode for H5 eMMC controller by default
authorChen-Yu Tsai <wens@csie.org>
Tue, 5 Feb 2019 15:42:23 +0000 (23:42 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 6 Feb 2019 15:02:37 +0000 (16:02 +0100)
commit0ae81a4ef6ae3f7d069917c91b6fc339aa8af9d5
tree777b51849de7cc08e59a4d39e7ac55ea327bf65a
parentb5cbce66baf0be0c7a7b3377a02035cf3ad62d9c
mmc: sunxi: Disable HS-DDR mode for H5 eMMC controller by default

Some H5 boards seem to not have proper trace lengths for eMMC to be able
to use the default setting for the delay chains under HS-DDR mode. These
include the Bananapi M2+ H5 and NanoPi NEO Core2. However the Libre
Computer ALL-H3-CC-H5 works just fine.

For the H5 (at least for now), default to not enabling HS-DDR modes in
the driver, and expect the device tree to signal HS-DDR capability on
boards that work.

Reported-by: Chris Blake <chrisrblake93@gmail.com>
Fixes: 10ccccf60a87 ("mmc: sunxi: Use new timing mode for A64 eMMC controller")
Cc: <stable@vger.kernel.org>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sunxi-mmc.c