summaryrefslogtreecommitdiff
path: root/include/soc
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2018-08-23 11:03:29 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:33:30 +0800
commit179c439ba3c16514d21bc712b73e1927b3ecc3c4 (patch)
treead2b8708b47c617d92fa4b8ecf7d1f08a936b0fa /include/soc
parent3d7dfef5e8452fb393229532a01eaecefeca12dc (diff)
MLK-19305-1 soc: imx: add PAD wakeup support
Add PAD wakeup support for i.MX8 platforms with system controller present, with PAD wakeup feature enabled, the corresponding resource's power is no need to be kept enabled when linux suspend, thus save a sub-system's power consumption. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Reviewed-by: Bai Ping <ping.bai@nxp.com> (cherry picked from commit 3b5d781273b22461de9aaea337f9da9b2fdb643e)
Diffstat (limited to 'include/soc')
-rw-r--r--include/soc/imx8/sc/svc/irq/api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/soc/imx8/sc/svc/irq/api.h b/include/soc/imx8/sc/svc/irq/api.h
index bd1b7fcdd807..e416ffab5dbc 100644
--- a/include/soc/imx8/sc/svc/irq/api.h
+++ b/include/soc/imx8/sc/svc/irq/api.h
@@ -70,6 +70,7 @@
*/
/*@{*/
#define SC_IRQ_WDOG (1 << 0) /* Watchdog interrupt */
+#define SC_IRQ_PAD (1U << 1U) /*!< Pad wakeup */
/*@}*/
/*!