]> git.baikalelectronics.ru Git - uboot.git/commit
imx: mx7: add gpc initialization for low power mode
authorAnson Huang <Anson.Huang@nxp.com>
Wed, 8 Aug 2018 01:17:49 +0000 (09:17 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 4 Sep 2018 06:47:23 +0000 (08:47 +0200)
commit1235bd44247e22d1bf77f218d42492344ec15918
tree1ecaa98e59be749a53df1a789115817f59ab9ffd
parent3545c13a2e2b138685c013bcd56b2f781136c147
imx: mx7: add gpc initialization for low power mode

Add i.MX7D GPC initialization for low power mode
support like system suspend/resume from linux kernel:

 - Pending IOMUXC IRQ to workaround GPC state machine issue;
 - Mask all GPC interrupts for M4/C0/C1;
 - Configure SCU timing;
 - Configure time slot ack;
 - Configure C0/C1 power up/down timing;
 - Configure wakeup source mechanism;
 - Disable DSM/RBC related settings.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
arch/arm/mach-imx/mx7/soc.c