Home | History | Annotate | Line # | Download | only in interrupt-controller
      1 /*	$NetBSD: irq.h,v 1.1.1.3 2019/01/22 14:57:01 jmcneill Exp $	*/
      2 
      3 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
      4 /*
      5  * This header provides constants for most IRQ bindings.
      6  *
      7  * Most IRQ bindings include a flags cell as part of the IRQ specifier.
      8  * In most cases, the format of the flags cell uses the standard values
      9  * defined in this header.
     10  */
     11 
     12 #ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_IRQ_H
     13 #define _DT_BINDINGS_INTERRUPT_CONTROLLER_IRQ_H
     14 
     15 #define IRQ_TYPE_NONE		0
     16 #define IRQ_TYPE_EDGE_RISING	1
     17 #define IRQ_TYPE_EDGE_FALLING	2
     18 #define IRQ_TYPE_EDGE_BOTH	(IRQ_TYPE_EDGE_FALLING | IRQ_TYPE_EDGE_RISING)
     19 #define IRQ_TYPE_LEVEL_HIGH	4
     20 #define IRQ_TYPE_LEVEL_LOW	8
     21 
     22 #endif
     23