diff options
author | Sundar Iyer <sundar.iyer@stericsson.com> | 2010-12-03 10:05:38 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@stericsson.com> | 2010-12-19 14:54:55 -0500 |
commit | 556fb03869ad4d14e5336093a7a8565456a26c21 (patch) | |
tree | c101cd16bcf442a82d2b5246b0c5409cd1b55313 /arch/arm/mach-ux500/include | |
parent | e43abe6f98641e40460d74a002f09c7751db48f9 (diff) |
mach-ux500: add STMPE1601 platform data
Signed-off-by: Sundar Iyer <sundar.iyer@stericsson.com>
[Minor fixups to GPIO enumerators]
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/include')
-rw-r--r-- | arch/arm/mach-ux500/include/mach/irqs-board-mop500.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/include/mach/irqs-board-mop500.h b/arch/arm/mach-ux500/include/mach/irqs-board-mop500.h index 4a91bbdb973e..7cdeb2af0ebb 100644 --- a/arch/arm/mach-ux500/include/mach/irqs-board-mop500.h +++ b/arch/arm/mach-ux500/include/mach/irqs-board-mop500.h | |||
@@ -15,6 +15,7 @@ | |||
15 | #define MOP500_AB8500_IRQ_END (MOP500_AB8500_IRQ_BASE \ | 15 | #define MOP500_AB8500_IRQ_END (MOP500_AB8500_IRQ_BASE \ |
16 | + AB8500_NR_IRQS) | 16 | + AB8500_NR_IRQS) |
17 | 17 | ||
18 | /* TC35892 */ | ||
18 | #define TC35892_NR_INTERNAL_IRQS 8 | 19 | #define TC35892_NR_INTERNAL_IRQS 8 |
19 | #define TC35892_INT_GPIO(x) (TC35892_NR_INTERNAL_IRQS + (x)) | 20 | #define TC35892_INT_GPIO(x) (TC35892_NR_INTERNAL_IRQS + (x)) |
20 | #define TC35892_NR_GPIOS 24 | 21 | #define TC35892_NR_GPIOS 24 |
@@ -25,8 +26,18 @@ | |||
25 | #define MOP500_EGPIO_IRQ_BASE MOP500_AB8500_IRQ_END | 26 | #define MOP500_EGPIO_IRQ_BASE MOP500_AB8500_IRQ_END |
26 | #define MOP500_EGPIO_IRQ_END (MOP500_EGPIO_IRQ_BASE \ | 27 | #define MOP500_EGPIO_IRQ_END (MOP500_EGPIO_IRQ_BASE \ |
27 | + MOP500_EGPIO_NR_IRQS) | 28 | + MOP500_EGPIO_NR_IRQS) |
29 | /* STMPE1601 irqs */ | ||
30 | #define STMPE_NR_INTERNAL_IRQS 9 | ||
31 | #define STMPE_INT_GPIO(x) (STMPE_NR_INTERNAL_IRQS + (x)) | ||
32 | #define STMPE_NR_GPIOS 24 | ||
33 | #define STMPE_NR_IRQS STMPE_INT_GPIO(STMPE_NR_GPIOS) | ||
28 | 34 | ||
29 | #define MOP500_IRQ_END MOP500_EGPIO_IRQ_END | 35 | #define MOP500_STMPE1601_IRQBASE MOP500_EGPIO_IRQ_END |
36 | #define MOP500_STMPE1601_IRQ(x) (MOP500_STMPE1601_IRQBASE + (x)) | ||
37 | |||
38 | #define MOP500_NR_IRQS MOP500_STMPE1601_IRQ(STMPE_NR_INTERNAL_IRQS) | ||
39 | |||
40 | #define MOP500_IRQ_END MOP500_NR_IRQS | ||
30 | 41 | ||
31 | #if MOP500_IRQ_END > IRQ_BOARD_END | 42 | #if MOP500_IRQ_END > IRQ_BOARD_END |
32 | #undef IRQ_BOARD_END | 43 | #undef IRQ_BOARD_END |