[PATCH v2 3/4] arm64: add support for i.MX8M EVK board

Lucas Stach l.stach at pengutronix.de
Fri Feb 23 07:45:04 PST 2018


Am Freitag, den 23.02.2018, 23:03 +0800 schrieb Shawn Guo:
> On Thu, Feb 01, 2018 at 07:31:25PM +0100, Lucas Stach wrote:
> > +&usdhc1 {
> > +	pinctrl-names = "default", "state_100mhz", "state_200mhz";
> > +	pinctrl-0 = <&pinctrl_usdhc1_cd_reset>,
> > <&pinctrl_usdhc1_clk_strobe>,
> > +	            <&pinctrl_usdhc1_data>;
> > +	pinctrl-1 = <&pinctrl_usdhc1_cd_reset>,
> > +	            <&pinctrl_usdhc1_clk_strobe_100mhz>,
> > +	            <&pinctrl_usdhc1_data_100mhz>;
> > +	pinctrl-2 = <&pinctrl_usdhc1_cd_reset>,
> > +	            <&pinctrl_usdhc1_clk_strobe_200mhz>,
> > +	            <&pinctrl_usdhc1_data_200mhz>;
> > +	vqmmc-supply = <&sw4_reg>;
> > +	bus-width = <8>;
> > +	non-removable;
> > +	no-sd;
> > +	no-sdio;
> > +	status = "okay";
> > +};
> 
> I'm not sure it can be enabled right now.  Per my testing, eMMC is
> not
> working yet.
> 
> [    0.879756] mmc0: Switching to 3.3V signalling voltage failed
> [    0.913587] mmc0: SDHCI controller on 30b40000.usdhc
> [30b40000.usdhc] using ADMA
> ...
> [    1.007628] mmc0: switch to high-speed from hs200 failed, err:-110
> [    1.013873] mmc0: error -110 whilst initialising MMC card
> [    1.020639] mmc0: Switching to 3.3V signalling voltage failed
> ...
> [    1.132462] mmc0: switch to high-speed from hs200 failed, err:-110
> [    1.138674] mmc0: error -110 whilst initialising MMC card
> [    1.145394] mmc0: Switching to 3.3V signalling voltage failed
> [    1.268367] mmc0: switch to high-speed from hs200 failed, err:-110
> [    1.274576] mmc0: error -110 whilst initialising MMC card
> [    1.281291] mmc0: Switching to 3.3V signalling voltage failed
> [    1.440708] mmc0: switch to high-speed from hs200 failed, err:-110
> [    1.446919] mmc0: error -110 whilst initialising MMC card
> 
> Or am I missing anything?

This is something I need to look into. The HS200 switching sequence
seems to try to switch to 3.3V HS mode intermediately, which doesn't
work. Despite the error messages eMMC works fine in my testing.

Regards,
Lucas



More information about the linux-arm-kernel mailing list