aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/include/mach/at91_aic.h
diff options
context:
space:
mode:
authorLudovic Desroches <ludovic.desroches@atmel.com>2012-06-20 10:13:30 -0400
committerNicolas Ferre <nicolas.ferre@atmel.com>2012-07-02 08:26:58 -0400
commitf8a073ee378b9893aee0749c3868a6ecfb0c1636 (patch)
tree7d51d97410bb03bc6ca8b431b3df8592b206b7f7 /arch/arm/mach-at91/include/mach/at91_aic.h
parentc65739437045c351a2a0ddb834719b9d616d4d47 (diff)
ARM: at91: add of irq priorities support
Add a third cell to define irq priority. Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Reviewed-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/include/mach/at91_aic.h')
-rw-r--r--arch/arm/mach-at91/include/mach/at91_aic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/include/mach/at91_aic.h b/arch/arm/mach-at91/include/mach/at91_aic.h
index c1413ed1172d..3af7272a4060 100644
--- a/arch/arm/mach-at91/include/mach/at91_aic.h
+++ b/arch/arm/mach-at91/include/mach/at91_aic.h
@@ -28,6 +28,9 @@ extern void __iomem *at91_aic_base;
28.extern at91_aic_base 28.extern at91_aic_base
29#endif 29#endif
30 30
31#define AT91_AIC_IRQ_MIN_PRIORITY 0
32#define AT91_AIC_IRQ_MAX_PRIORITY 7
33
31#define AT91_AIC_SMR(n) ((n) * 4) /* Source Mode Registers 0-31 */ 34#define AT91_AIC_SMR(n) ((n) * 4) /* Source Mode Registers 0-31 */
32#define AT91_AIC_PRIOR (7 << 0) /* Priority Level */ 35#define AT91_AIC_PRIOR (7 << 0) /* Priority Level */
33#define AT91_AIC_SRCTYPE (3 << 5) /* Interrupt Source Type */ 36#define AT91_AIC_SRCTYPE (3 << 5) /* Interrupt Source Type */