MLK-14638-2 ARM: dts: add off-on-delay for usdhc vmmc-supply regulator
authorHaibo Chen <haibo.chen@nxp.com>
Fri, 14 Apr 2017 11:08:52 +0000 (19:08 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:21:56 +0000 (15:21 -0500)
For the slot support SD3.0 card, during system suspend, if plug out
the sd card, and insert another SD3.0 card, after system resume back,
SD3.0 card can't be recognised as SD3.0 card, just SD2.0 card.

This is bause the time delay between vmmc regulator off and on is
too small, this patch add the oo-on-delay in vmmc-supply regulator,
to assign proper delay value.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
13 files changed:
arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
arch/arm/boot/dts/imx6sll-evk.dts
arch/arm/boot/dts/imx6sll-lpddr3-arm2.dts
arch/arm/boot/dts/imx6sx-14x14-arm2.dts
arch/arm/boot/dts/imx6sx-sdb.dtsi
arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2.dts
arch/arm/boot/dts/imx6ul-14x14-evk.dts
arch/arm/boot/dts/imx6ul-14x14-lpddr2-arm2.dts
arch/arm/boot/dts/imx6ul-9x9-evk.dts
arch/arm/boot/dts/imx6ull-14x14-ddr3-arm2.dts
arch/arm/boot/dts/imx6ull-14x14-evk.dts
arch/arm/boot/dts/imx6ull-9x9-evk.dts
arch/arm/boot/dts/imx7d-sdb.dts

index 485fbec..d8a96b5 100644 (file)
                        regulator-max-microvolt = <3300000>;
                        gpio = <&gpio7 8 GPIO_ACTIVE_HIGH>;
                        enable-active-high;
+                       off-on-delay = <20000>;
                        /* remove below line to enable this regulator */
                        status = "disabled";
                };
index 9ff0354..f872693 100644 (file)
                        regulator-min-microvolt = <3000000>;
                        regulator-max-microvolt = <3000000>;
                        gpio = <&gpio3 30 GPIO_ACTIVE_HIGH>;
+                       off-on-delay = <20000>;
                        enable-active-high;
                };
 
                        regulator-min-microvolt = <3000000>;
                        regulator-max-microvolt = <3000000>;
                        gpio = <&gpio4 4 GPIO_ACTIVE_HIGH>;
+                       off-on-delay = <20000>;
                        enable-active-high;
                };
 
index a94af40..894f75e 100644 (file)
                        regulator-min-microvolt = <3000000>;
                        regulator-max-microvolt = <3000000>;
                        gpio = <&gpio3 30 GPIO_ACTIVE_HIGH>;
+                       off-on-delay = <20000>;
                        enable-active-high;
                };
 
                        regulator-min-microvolt = <3000000>;
                        regulator-max-microvolt = <3000000>;
                        gpio = <&gpio4 4 GPIO_ACTIVE_HIGH>;
+                       off-on-delay = <20000>;
                        enable-active-high;
                };
 
index fc5d8b2..181ba5c 100644 (file)
@@ -58,6 +58,7 @@
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
                        gpio = <&gpio2 11 GPIO_ACTIVE_LOW>;
+                       off-on-delay = <20000>;
                };
 
                reg_usb_otg1_vbus: usb_otg1_vbus {
index 548b69d..212b54e 100644 (file)
@@ -83,6 +83,7 @@
                        regulator-min-microvolt = <3000000>;
                        regulator-max-microvolt = <3000000>;
                        gpio = <&gpio2 11 GPIO_ACTIVE_HIGH>;
+                       off-on-delay = <20000>;
                        enable-active-high;
                };
 
index 2746935..1135f26 100644 (file)
@@ -52,6 +52,7 @@
                        regulator-min-microvolt = <3000000>;
                        regulator-max-microvolt = <3000000>;
                        gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>;
+                       off-on-delay = <20000>;
                        enable-active-high;
                };
 
@@ -61,6 +62,7 @@
                        regulator-min-microvolt = <3000000>;
                        regulator-max-microvolt = <3000000>;
                        gpio = <&gpio4 10 GPIO_ACTIVE_HIGH>;
+                       off-on-delay = <20000>;
                        enable-active-high;
                };
 
index 0eb1aec..a2d771b 100644 (file)
@@ -59,6 +59,7 @@
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
                        gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>;
+                       off-on-delay = <20000>;
                        enable-active-high;
                };
 
index f6c1d6d..3385bb6 100644 (file)
@@ -52,6 +52,7 @@
                        regulator-min-microvolt = <3000000>;
                        regulator-max-microvolt = <3000000>;
                        gpio = <&gpio4 11 GPIO_ACTIVE_HIGH>;
+                       off-on-delay = <20000>;
                        enable-active-high;
                };
 
index f9acf11..572eaa2 100644 (file)
@@ -82,6 +82,7 @@
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
                        gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>;
+                       off-on-delay = <20000>;
                        enable-active-high;
                };
        };
index 06b4591..82da3ec 100644 (file)
@@ -47,6 +47,7 @@
                        regulator-min-microvolt = <3000000>;
                        regulator-max-microvolt = <3000000>;
                        gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>;
+                       off-on-delay = <20000>;
                        enable-active-high;
                };
 
index fb3eebf..b306f00 100644 (file)
@@ -69,6 +69,7 @@
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
                        gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>;
+                       off-on-delay = <20000>;
                        enable-active-high;
                };
 
index 27b4223..750c6cb 100644 (file)
@@ -82,6 +82,7 @@
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
                        gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>;
+                       off-on-delay = <20000>;
                        enable-active-high;
                };
        };
index 2350112..d3e5ae9 100644 (file)
                        regulator-max-microvolt = <3300000>;
                        gpio = <&gpio5 2 GPIO_ACTIVE_HIGH>;
                        startup-delay-us = <200000>;
+                       off-on-delay = <20000>;
                        enable-active-high;
                };