]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: imx7s-warp: Pass 'no-1-8-v' property to the eMMC
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 17 May 2017 18:55:25 +0000 (15:55 -0300)
committerShawn Guo <shawnguo@kernel.org>
Sun, 21 May 2017 08:41:52 +0000 (16:41 +0800)
Currently the following eMMC error is seen:

mmc1: mmc_select_hs200 failed, error -74
mmc1: new MMC card at address 0001
mmcblk1: mmc1:0001 V10008 7.05 GiB
mmcblk1boot0: mmc1:0001 V10008 partition 1 4.00 MiB
mmcblk1boot1: mmc1:0001 V10008 partition 2 4.00 MiB
mmcblk1rpmb: mmc1:0001 V10008 partition 3 4.00 MiB

On imx7s-warp the eMMC VCCQ is fixed at 3.15V, so pass the 'no-1-8-v'
property to properly describe that 1.8V operation is not possible.

With this change HS200 error is gone and another benefit is that the
card can operate in DDR52 mode now:

mmc1: new DDR MMC card at address 0001
mmcblk1: mmc1:0001 V10008 7.05 GiB
mmcblk1boot0: mmc1:0001 V10008 partition 1 4.00 MiB
mmcblk1boot1: mmc1:0001 V10008 partition 2 4.00 MiB
mmcblk1rpmb: mmc1:0001 V10008 partition 3 4.00 MiB

Suggested-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx7s-warp.dts

index d5237fd0fa657f90c2756ba3b5fef224a11170d6..8dfed85471e1e1b02d73c52d3421cfa1f463ace4 100644 (file)
@@ -295,6 +295,7 @@ &usdhc3 {
        assigned-clocks = <&clks IMX7D_USDHC3_ROOT_CLK>;
        assigned-clock-rates = <400000000>;
        bus-width = <8>;
+       no-1-8-v;
        fsl,tuning-step = <2>;
        non-removable;
        status = "okay";