Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
0002 /*
0003  * This header provides constants for most IRQ bindings.
0004  *
0005  * Most IRQ bindings include a flags cell as part of the IRQ specifier.
0006  * In most cases, the format of the flags cell uses the standard values
0007  * defined in this header.
0008  */
0009 
0010 #ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_IRQ_H
0011 #define _DT_BINDINGS_INTERRUPT_CONTROLLER_IRQ_H
0012 
0013 #define IRQ_TYPE_NONE       0
0014 #define IRQ_TYPE_EDGE_RISING    1
0015 #define IRQ_TYPE_EDGE_FALLING   2
0016 #define IRQ_TYPE_EDGE_BOTH  (IRQ_TYPE_EDGE_FALLING | IRQ_TYPE_EDGE_RISING)
0017 #define IRQ_TYPE_LEVEL_HIGH 4
0018 #define IRQ_TYPE_LEVEL_LOW  8
0019 
0020 #endif