summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2017-08-25 14:35:39 +0800
committerPeng Fan <peng.fan@nxp.com>2017-08-25 14:35:39 +0800
commit6a49c55a05a4905cd3cfa78400d320483f3f2d71 (patch)
tree81c22de6c7ad12f614a3a052a9bf6c623b762484
parentb6b4b9498a5b531f9173e60db6b9b8c2a76d6523 (diff)
MLK-16268 arm: dts: 8qxp: add delay-us for usdhc2
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>
-rw-r--r--arch/arm/dts/fsl-imx8qxp-lpddr4-arm2.dts5
-rw-r--r--arch/arm/dts/fsl-imx8qxp-mek.dts2
2 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/dts/fsl-imx8qxp-lpddr4-arm2.dts b/arch/arm/dts/fsl-imx8qxp-lpddr4-arm2.dts
index c1ee60a7c8..8b4460c99b 100644
--- a/arch/arm/dts/fsl-imx8qxp-lpddr4-arm2.dts
+++ b/arch/arm/dts/fsl-imx8qxp-lpddr4-arm2.dts
@@ -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>;
};
};
};
@@ -421,4 +422,4 @@
&usb2 {
status = "okay";
-}; \ No newline at end of file
+};
diff --git a/arch/arm/dts/fsl-imx8qxp-mek.dts b/arch/arm/dts/fsl-imx8qxp-mek.dts
index 4d5b5dbb67..4282522dad 100644
--- a/arch/arm/dts/fsl-imx8qxp-mek.dts
+++ b/arch/arm/dts/fsl-imx8qxp-mek.dts
@@ -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>;
};
};