diff options
author | Lee Jones <lee.jones@linaro.org> | 2015-02-18 10:13:57 -0500 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2015-03-03 14:47:03 -0500 |
commit | 9967c3c6f5e81342d9b82c43638d695991939969 (patch) | |
tree | 72d3969c25a3fcf59f6cfad2aa9928a59489f9bf /include/dt-bindings/interrupt-controller | |
parent | c517d838eb7d07bbe9507871fab3931deccff539 (diff) |
dt: bindings: Supply shared ST IRQ defines
These defines are used to allow values used for configuration to be
easily human readable and will lessen the chance of logical mistakes.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lkml.kernel.org/r/1424272444-16230-2-git-send-email-lee.jones@linaro.org
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'include/dt-bindings/interrupt-controller')
-rw-r--r-- | include/dt-bindings/interrupt-controller/irq-st.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/include/dt-bindings/interrupt-controller/irq-st.h b/include/dt-bindings/interrupt-controller/irq-st.h new file mode 100644 index 000000000000..4c59aceb9be0 --- /dev/null +++ b/include/dt-bindings/interrupt-controller/irq-st.h | |||
@@ -0,0 +1,30 @@ | |||
1 | /* | ||
2 | * include/linux/irqchip/irq-st.h | ||
3 | * | ||
4 | * Copyright (C) 2014 STMicroelectronics – All Rights Reserved | ||
5 | * | ||
6 | * Author: Lee Jones <lee.jones@linaro.org> | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | ||
12 | |||
13 | #ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_ST_H | ||
14 | #define _DT_BINDINGS_INTERRUPT_CONTROLLER_ST_H | ||
15 | |||
16 | #define ST_IRQ_SYSCFG_EXT_0 0 | ||
17 | #define ST_IRQ_SYSCFG_EXT_1 1 | ||
18 | #define ST_IRQ_SYSCFG_EXT_2 2 | ||
19 | #define ST_IRQ_SYSCFG_CTI_0 3 | ||
20 | #define ST_IRQ_SYSCFG_CTI_1 4 | ||
21 | #define ST_IRQ_SYSCFG_PMU_0 5 | ||
22 | #define ST_IRQ_SYSCFG_PMU_1 6 | ||
23 | #define ST_IRQ_SYSCFG_pl310_L2 7 | ||
24 | #define ST_IRQ_SYSCFG_DISABLED 0xFFFFFFFF | ||
25 | |||
26 | #define ST_IRQ_SYSCFG_EXT_1_INV 0x1 | ||
27 | #define ST_IRQ_SYSCFG_EXT_2_INV 0x2 | ||
28 | #define ST_IRQ_SYSCFG_EXT_3_INV 0x4 | ||
29 | |||
30 | #endif | ||