Due to the hardware limitation, the power supply for the PADs could not
be off during VLLS mode. To reduce the power consumption under VLLS
state, put all the PADs on iomuxc1 into OFF state before the
system enters into VLLS mode.
Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
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)