From: Linus Walleij Date: Mon, 28 Jun 2021 18:22:37 +0000 (+0200) Subject: ARM: dts: ux500: Skomer eMMC needs 300 ms power on X-Git-Tag: v6.1-rc5~2734^2~29^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=41b086b22fd84b3141e697ba978a66c5ea4997c6;p=platform%2Fkernel%2Flinux-starfive.git ARM: dts: ux500: Skomer eMMC needs 300 ms power on The partitions on the eMMC will not even appear sometimes, in the datasheet for the Samsung KLMxGxxE4x we find that the power-on time for a 4GB eMMC of this type is 300 ms and nowadays the block stack is so fast so we are stressing it, and we need to specify that we need this delay in the device tree. Signed-off-by: Linus Walleij --- diff --git a/arch/arm/boot/dts/ste-ux500-samsung-skomer.dts b/arch/arm/boot/dts/ste-ux500-samsung-skomer.dts index 2f69e9e..5a3ac1c 100644 --- a/arch/arm/boot/dts/ste-ux500-samsung-skomer.dts +++ b/arch/arm/boot/dts/ste-ux500-samsung-skomer.dts @@ -222,7 +222,9 @@ }; }; - // eMMC + /* + * eMMC seems to be mostly Samsung KLM4G1YE4C "4YMD1R" + */ mmc@80005000 { arm,primecell-periphid = <0x10480180>; max-frequency = <100000000>; @@ -232,6 +234,8 @@ mmc-ddr-1_8v; no-sdio; no-sd; + /* From datasheet page 26 figure 9: 300 ms set-up time for 4GB */ + post-power-on-delay-ms = <300>; vmmc-supply = <&ldo_3v3_reg>; pinctrl-names = "default", "sleep"; pinctrl-0 = <&mc2_a_1_default>;