LF-3830 Revert "MLK-21499 arm: imx: put pads into OFF state before entering VLLS"
authorJacky Bai <ping.bai@nxp.com>
Fri, 21 May 2021 07:59:44 +0000 (15:59 +0800)
committerJason Liu <jason.hui.liu@nxp.com>
Sun, 23 May 2021 02:06:27 +0000 (10:06 +0800)
This reverts commit 6bec1553aaf630b80c9239d8895d423843f31801.

Put all the pads into off mode have side effect if the pad used for
GPIO interrupt. system suspend/resume will be broken, We can not
add it in our generic release.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Acked-by: Jason Liu <jason.hui.liu@nxp.com>
arch/arm/mach-imx/pm-imx7ulp.c

index 0a7f7eb..7e17c7a 100644 (file)
@@ -370,10 +370,6 @@ static inline void imx7ulp_iomuxc_save(void)
                pm_info->select_input_val[i] =
                        readl_relaxed(iomuxc1_base +
                                SELECT_INPUT_START + i * 0x4);
-
-       /* Put all the PADs to OFF state */
-       for (i = 0; i < pm_info->iomux_num; i++)
-               writel_relaxed(0, (iomuxc1_base + IOMUX_START + i * 0x4));
 }
 
 static void imx7ulp_lpuart_save(void)