1*54fd6939SJiyong Park /* 2*54fd6939SJiyong Park * Copyright (c) 2021, Arm Limited and Contributors. All rights reserved. 3*54fd6939SJiyong Park * 4*54fd6939SJiyong Park * SPDX-License-Identifier: MIT 5*54fd6939SJiyong Park * 6*54fd6939SJiyong Park * This header provides constants for most IRQ bindings. 7*54fd6939SJiyong Park * 8*54fd6939SJiyong Park * Most IRQ bindings include a flags cell as part of the IRQ specifier. 9*54fd6939SJiyong Park * In most cases, the format of the flags cell uses the standard values 10*54fd6939SJiyong Park * defined in this header. 11*54fd6939SJiyong Park */ 12*54fd6939SJiyong Park 13*54fd6939SJiyong Park #ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_IRQ_H 14*54fd6939SJiyong Park #define _DT_BINDINGS_INTERRUPT_CONTROLLER_IRQ_H 15*54fd6939SJiyong Park 16*54fd6939SJiyong Park #define IRQ_TYPE_NONE 0 17*54fd6939SJiyong Park #define IRQ_TYPE_EDGE_RISING 1 18*54fd6939SJiyong Park #define IRQ_TYPE_EDGE_FALLING 2 19*54fd6939SJiyong Park #define IRQ_TYPE_EDGE_BOTH (IRQ_TYPE_EDGE_FALLING | IRQ_TYPE_EDGE_RISING) 20*54fd6939SJiyong Park #define IRQ_TYPE_LEVEL_HIGH 4 21*54fd6939SJiyong Park #define IRQ_TYPE_LEVEL_LOW 8 22*54fd6939SJiyong Park 23*54fd6939SJiyong Park #endif 24