MLK-16268 arm: dts: 8qxp: add delay-us for usdhc2
authorPeng Fan <peng.fan@nxp.com>
Fri, 25 Aug 2017 06:35:39 +0000 (14:35 +0800)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:37:14 +0000 (02:37 +0800)
Measured signal using oscilloscope.
Add startup delay and off-on-delay-us to make usdhc2 vmmc
supply work properly. Otherwise, the delay between power
off/on is short and power actully not off, then card report
S18A as 0 and could not switch voltage to 1.8V.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/dts/fsl-imx8qxp-lpddr4-arm2.dts
arch/arm/dts/fsl-imx8qxp-mek.dts

index c1ee60a..8b4460c 100644 (file)
@@ -51,7 +51,8 @@
                        regulator-max-microvolt = <3000000>;
                        gpio = <&gpio4 19 GPIO_ACTIVE_HIGH>;
                        enable-active-high;
-                       off-on-delay-us = <20000>;
+                       startup-delay-us = <300>;
+                       off-on-delay-us = <3500>;
                };
        };
 };
 
 &usb2 {
        status = "okay";
-};
\ No newline at end of file
+};
index 4d5b5db..4282522 100644 (file)
@@ -48,6 +48,8 @@
                        regulator-max-microvolt = <3000000>;
                        gpio = <&gpio4 19 GPIO_ACTIVE_HIGH>;
                        enable-active-high;
+                       startup-delay-us = <100>;
+                       off-on-delay-us = <12000>;
                };
 
        };