aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/board-mop500.c
diff options
context:
space:
mode:
authorRabin Vincent <rabin.vincent@stericsson.com>2010-07-26 06:12:15 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-07-27 03:28:32 -0400
commit39ae702cd3b8b9d30693b73ad1a3d74c799b5b1a (patch)
treedae524b4b443c8d82451acd64855ecace241bca9 /arch/arm/mach-ux500/board-mop500.c
parent6055930cba8fdb2c8855b32bae262aaf69c1fdb4 (diff)
ARM: 6267/1: mop500: add AB8500 interrupt support
Add the platform data to enable AB8500 interrupt support. Acked-by: Linus Walleij <linus.walleij@stericsson.com> Acked-by: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com> Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500.c')
-rw-r--r--arch/arm/mach-ux500/board-mop500.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c
index 0331e4badcbf..0e8fd135a57d 100644
--- a/arch/arm/mach-ux500/board-mop500.c
+++ b/arch/arm/mach-ux500/board-mop500.c
@@ -17,6 +17,7 @@
17#include <linux/amba/bus.h> 17#include <linux/amba/bus.h>
18#include <linux/amba/pl022.h> 18#include <linux/amba/pl022.h>
19#include <linux/spi/spi.h> 19#include <linux/spi/spi.h>
20#include <linux/mfd/ab8500.h>
20 21
21#include <asm/mach-types.h> 22#include <asm/mach-types.h>
22#include <asm/mach/arch.h> 23#include <asm/mach/arch.h>
@@ -70,10 +71,15 @@ struct pl022_config_chip ab4500_chip_info = {
70 .cs_control = ab4500_spi_cs_control, 71 .cs_control = ab4500_spi_cs_control,
71}; 72};
72 73
74static struct ab8500_platform_data ab8500_platdata = {
75 .irq_base = MOP500_AB8500_IRQ_BASE,
76};
77
73static struct spi_board_info u8500_spi_devices[] = { 78static struct spi_board_info u8500_spi_devices[] = {
74 { 79 {
75 .modalias = "ab8500", 80 .modalias = "ab8500",
76 .controller_data = &ab4500_chip_info, 81 .controller_data = &ab4500_chip_info,
82 .platform_data = &ab8500_platdata,
77 .max_speed_hz = 12000000, 83 .max_speed_hz = 12000000,
78 .bus_num = 0, 84 .bus_num = 0,
79 .chip_select = 0, 85 .chip_select = 0,