diff options
author | Haibo Chen <haibo.chen@nxp.com> | 2017-12-22 11:27:35 +0800 |
---|---|---|
committer | Haibo Chen <haibo.chen@nxp.com> | 2018-01-04 15:26:16 +0800 |
commit | 668f73ed73a697ab2f06db97902a2a67bfd4031a (patch) | |
tree | 69ae0fd6b925b44ac2ab0fefbfc0b3d913a90fe7 | |
parent | 58a752e56296bcb2687ac43f3cb51f77af78635a (diff) |
MLK-17258 ARM64: dts: add off-on-delay for usdhc vmmc-supply regulator
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 recognized as SD3.0 card, just SD2.0 card.
This is because the time delay between vmmc regulator off and on is
too small. SD spec require the Card Vdd shall be lowered to less than
0.5v for a minimum period for 1ms. And the hardware regulator also need
some time to drop the Card Vdd from 3.3v to 0.5v. This patch add the
off-on-delay in vmmc-supply regulator adding the upper two limitation
into consideration.
This patch relay on the commit 878bff7648f5 ("MLK-14638-1 regulator:
fixed: add off_on_delay support").
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
(cherry picked from commit b67c9ddc377918e493a4e67348e5c8c978ef34a9)
4 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2.dts index 91e62d7eb336..c232f0a4cd2c 100644 --- a/arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2.dts +++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2.dts @@ -91,6 +91,7 @@ regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; gpio = <&gpio4 7 GPIO_ACTIVE_HIGH>; + off-on-delay = <3000>; enable-active-high; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek.dts index dd3b67f00680..9b4624aba23c 100644 --- a/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek.dts @@ -91,6 +91,7 @@ regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; gpio = <&gpio4 7 GPIO_ACTIVE_HIGH>; + off-on-delay = <4800>; enable-active-high; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qxp-lpddr4-arm2.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qxp-lpddr4-arm2.dts index 2c35ab049da5..f6de1b368b33 100644 --- a/arch/arm64/boot/dts/freescale/fsl-imx8qxp-lpddr4-arm2.dts +++ b/arch/arm64/boot/dts/freescale/fsl-imx8qxp-lpddr4-arm2.dts @@ -36,6 +36,7 @@ regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3000000>; gpio = <&gpio4 19 GPIO_ACTIVE_HIGH>; + off-on-delay = <2720>; enable-active-high; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qxp-mek.dts index 614825d65d87..d2da8a731f26 100755 --- a/arch/arm64/boot/dts/freescale/fsl-imx8qxp-mek.dts +++ b/arch/arm64/boot/dts/freescale/fsl-imx8qxp-mek.dts @@ -69,6 +69,7 @@ regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3000000>; gpio = <&gpio4 19 GPIO_ACTIVE_HIGH>; + off-on-delay = <3480>; enable-active-high; }; |