xref: /linux-6.15/include/linux/soc/qcom/irq.h (revision 81ef8bf8)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef __QCOM_IRQ_H
4 #define __QCOM_IRQ_H
5 
6 #include <linux/irqdomain.h>
7 
8 #define GPIO_NO_WAKE_IRQ	~0U
9 
10 /**
11  * QCOM specific IRQ domain flags that distinguishes the handling of wakeup
12  * capable interrupts by different interrupt controllers.
13  *
14  * IRQ_DOMAIN_FLAG_QCOM_PDC_WAKEUP: Line must be masked at TLMM and the
15  *                                  interrupt configuration is done at PDC
16  * IRQ_DOMAIN_FLAG_QCOM_MPM_WAKEUP: Interrupt configuration is handled at TLMM
17  */
18 #define IRQ_DOMAIN_FLAG_QCOM_PDC_WAKEUP		(IRQ_DOMAIN_FLAG_NONCORE << 0)
19 #define IRQ_DOMAIN_FLAG_QCOM_MPM_WAKEUP		(IRQ_DOMAIN_FLAG_NONCORE << 1)
20 
21 #endif
22