diff options
author | Dong Aisheng <b29396@freescale.com> | 2015-05-12 15:27:58 +0800 |
---|---|---|
committer | Dong Aisheng <b29396@freescale.com> | 2015-05-12 16:02:08 +0800 |
commit | 949dba5dd9d2d63c5a3e2c986042d819ec410774 (patch) | |
tree | 9538e4ff234aa4b3c4213cbea75e8214a2004158 | |
parent | ea58712d39ae08d2d078453f067c01dda9b8e450 (diff) |
MLK-10837 dts: imx6qp-sabreauto: enable cut power of usdhc3 slot
On old i.MX6Q/DL Sabreauto board, we can not use external regulator for
card slot by default since the card power is shared with card detect pullup.
Disabling the vmmc regulator will cause unexpected card detect
interrupts. HW rework is needed to fix this isssue.
So the using of external regulator is disabled by default in dts as follows:
/* vmmc-supply = <®_sd3_vmmc>; */
On imx6qp-sabreauto board, this HW issue is fixed already, so enable it
in imx6qp-sabreauto dts to use this function.
This is needed for a SD3.0 card re-enumeration working on UHS mode.
Otherwise the card may be re-enumerated as SD2.0 mode after system
suspend/resume due to not cut off power/reset card.
Signed-off-by: Dong Aisheng <b29396@freescale.com>
(cherry picked from commit 9838bd00c8318f96ef139746b3c131f7ac820686)
-rw-r--r-- | arch/arm/boot/dts/imx6qp-sabreauto.dts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6qp-sabreauto.dts b/arch/arm/boot/dts/imx6qp-sabreauto.dts index 793477d67316..cc19414b879e 100644 --- a/arch/arm/boot/dts/imx6qp-sabreauto.dts +++ b/arch/arm/boot/dts/imx6qp-sabreauto.dts @@ -81,6 +81,15 @@ }; }; +&usdhc3 { + /* imx6qp-sabreauto board has no CD pin issue, so enable vmmc-supply */ + vmmc-supply = <®_sd3_vmmc>; +}; + &vgen3_reg { regulator-always-on; }; + +®_sd3_vmmc { + status = "okay"; +}; |