diff options
Diffstat (limited to 'arch/arm/mach-ux500')
-rw-r--r-- | arch/arm/mach-ux500/Kconfig | 44 | ||||
-rw-r--r-- | arch/arm/mach-ux500/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/mach-ux500/board-mop500-pins.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-ux500/board-mop500-regulators.c | 28 | ||||
-rw-r--r-- | arch/arm/mach-ux500/board-mop500-sdi.c | 21 | ||||
-rw-r--r-- | arch/arm/mach-ux500/board-mop500-u8500uib.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-ux500/board-mop500.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-ux500/board-mop500.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-ux500/clock.c | 7 | ||||
-rw-r--r-- | arch/arm/mach-ux500/clock.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-ux500/devices-db8500.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-ux500/include/mach/hardware.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-ux500/include/mach/irqs.h | 2 |
13 files changed, 83 insertions, 36 deletions
diff --git a/arch/arm/mach-ux500/Kconfig b/arch/arm/mach-ux500/Kconfig index c59e8b892d6b..9ec635812349 100644 --- a/arch/arm/mach-ux500/Kconfig +++ b/arch/arm/mach-ux500/Kconfig | |||
@@ -8,47 +8,55 @@ config UX500_SOC_COMMON | |||
8 | select PL310_ERRATA_753970 | 8 | select PL310_ERRATA_753970 |
9 | select ARM_ERRATA_754322 | 9 | select ARM_ERRATA_754322 |
10 | select ARM_ERRATA_764369 | 10 | select ARM_ERRATA_764369 |
11 | 11 | select CACHE_L2X0 | |
12 | menu "Ux500 SoC" | ||
13 | 12 | ||
14 | config UX500_SOC_DB5500 | 13 | config UX500_SOC_DB5500 |
15 | bool "DB5500" | 14 | bool |
16 | select MFD_DB5500_PRCMU | 15 | select MFD_DB5500_PRCMU |
17 | 16 | ||
18 | config UX500_SOC_DB8500 | 17 | config UX500_SOC_DB8500 |
19 | bool "DB8500" | 18 | bool |
20 | select MFD_DB8500_PRCMU | 19 | select MFD_DB8500_PRCMU |
21 | select REGULATOR_DB8500_PRCMU | 20 | select REGULATOR_DB8500_PRCMU |
22 | 21 | select CPU_FREQ_TABLE if CPU_FREQ | |
23 | endmenu | ||
24 | 22 | ||
25 | menu "Ux500 target platform (boards)" | 23 | menu "Ux500 target platform (boards)" |
26 | 24 | ||
27 | config MACH_U8500 | 25 | config MACH_MOP500 |
28 | bool "U8500 Development platform" | 26 | bool "U8500 Development platform, MOP500 versions" |
29 | depends on UX500_SOC_DB8500 | 27 | select UX500_SOC_DB8500 |
30 | select TPS6105X | 28 | select I2C |
29 | select I2C_NOMADIK | ||
31 | help | 30 | help |
32 | Include support for the mop500 development platform. | 31 | Include support for the MOP500 development platform. |
33 | 32 | ||
34 | config MACH_HREFV60 | 33 | config MACH_HREFV60 |
35 | bool "U85000 Development platform, HREFv60 version" | 34 | bool "U8500 Development platform, HREFv60 version" |
36 | depends on UX500_SOC_DB8500 | 35 | select MACH_MOP500 |
37 | help | 36 | help |
38 | Include support for the HREFv60 new development platform. | 37 | Include support for the HREFv60 new development platform. |
38 | Includes HREFv70, v71 etc. | ||
39 | 39 | ||
40 | config MACH_SNOWBALL | 40 | config MACH_SNOWBALL |
41 | bool "U8500 Snowball platform" | 41 | bool "U8500 Snowball platform" |
42 | depends on UX500_SOC_DB8500 | 42 | select MACH_MOP500 |
43 | select MACH_U8500 | ||
44 | help | 43 | help |
45 | Include support for the snowball development platform. | 44 | Include support for the snowball development platform. |
46 | 45 | ||
47 | config MACH_U5500 | 46 | config MACH_U5500 |
48 | bool "U5500 Development platform" | 47 | bool "U5500 Development platform" |
49 | depends on UX500_SOC_DB5500 | 48 | select UX500_SOC_DB5500 |
50 | help | 49 | help |
51 | Include support for the U5500 development platform. | 50 | Include support for the U5500 development platform. |
51 | |||
52 | config UX500_AUTO_PLATFORM | ||
53 | def_bool y | ||
54 | depends on !MACH_U5500 | ||
55 | select MACH_MOP500 | ||
56 | help | ||
57 | At least one platform needs to be selected in order to build | ||
58 | a working kernel. If everything else is disabled, this | ||
59 | automatically enables MACH_MOP500. | ||
52 | endmenu | 60 | endmenu |
53 | 61 | ||
54 | config UX500_DEBUG_UART | 62 | config UX500_DEBUG_UART |
diff --git a/arch/arm/mach-ux500/Makefile b/arch/arm/mach-ux500/Makefile index 6bd2f451c185..8dd75f210d2b 100644 --- a/arch/arm/mach-ux500/Makefile +++ b/arch/arm/mach-ux500/Makefile | |||
@@ -7,7 +7,7 @@ obj-y := clock.o cpu.o devices.o devices-common.o \ | |||
7 | obj-$(CONFIG_CACHE_L2X0) += cache-l2x0.o | 7 | obj-$(CONFIG_CACHE_L2X0) += cache-l2x0.o |
8 | obj-$(CONFIG_UX500_SOC_DB5500) += cpu-db5500.o dma-db5500.o | 8 | obj-$(CONFIG_UX500_SOC_DB5500) += cpu-db5500.o dma-db5500.o |
9 | obj-$(CONFIG_UX500_SOC_DB8500) += cpu-db8500.o devices-db8500.o | 9 | obj-$(CONFIG_UX500_SOC_DB8500) += cpu-db8500.o devices-db8500.o |
10 | obj-$(CONFIG_MACH_U8500) += board-mop500.o board-mop500-sdi.o \ | 10 | obj-$(CONFIG_MACH_MOP500) += board-mop500.o board-mop500-sdi.o \ |
11 | board-mop500-regulators.o \ | 11 | board-mop500-regulators.o \ |
12 | board-mop500-uib.o board-mop500-stuib.o \ | 12 | board-mop500-uib.o board-mop500-stuib.o \ |
13 | board-mop500-u8500uib.o \ | 13 | board-mop500-u8500uib.o \ |
diff --git a/arch/arm/mach-ux500/board-mop500-pins.c b/arch/arm/mach-ux500/board-mop500-pins.c index 74bfcff2bdf3..f5413dca532c 100644 --- a/arch/arm/mach-ux500/board-mop500-pins.c +++ b/arch/arm/mach-ux500/board-mop500-pins.c | |||
@@ -6,6 +6,7 @@ | |||
6 | 6 | ||
7 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
8 | #include <linux/init.h> | 8 | #include <linux/init.h> |
9 | #include <linux/bug.h> | ||
9 | 10 | ||
10 | #include <asm/mach-types.h> | 11 | #include <asm/mach-types.h> |
11 | #include <plat/pincfg.h> | 12 | #include <plat/pincfg.h> |
diff --git a/arch/arm/mach-ux500/board-mop500-regulators.c b/arch/arm/mach-ux500/board-mop500-regulators.c index 2735d03996cf..52426a425787 100644 --- a/arch/arm/mach-ux500/board-mop500-regulators.c +++ b/arch/arm/mach-ux500/board-mop500-regulators.c | |||
@@ -74,6 +74,26 @@ static struct regulator_consumer_supply ab8500_vtvout_consumers[] = { | |||
74 | REGULATOR_SUPPLY("vddadc", "ab8500-gpadc.0"), | 74 | REGULATOR_SUPPLY("vddadc", "ab8500-gpadc.0"), |
75 | }; | 75 | }; |
76 | 76 | ||
77 | static struct regulator_consumer_supply ab8500_vaud_consumers[] = { | ||
78 | /* AB8500 audio-codec main supply */ | ||
79 | REGULATOR_SUPPLY("vaud", "ab8500-codec.0"), | ||
80 | }; | ||
81 | |||
82 | static struct regulator_consumer_supply ab8500_vamic1_consumers[] = { | ||
83 | /* AB8500 audio-codec Mic1 supply */ | ||
84 | REGULATOR_SUPPLY("vamic1", "ab8500-codec.0"), | ||
85 | }; | ||
86 | |||
87 | static struct regulator_consumer_supply ab8500_vamic2_consumers[] = { | ||
88 | /* AB8500 audio-codec Mic2 supply */ | ||
89 | REGULATOR_SUPPLY("vamic2", "ab8500-codec.0"), | ||
90 | }; | ||
91 | |||
92 | static struct regulator_consumer_supply ab8500_vdmic_consumers[] = { | ||
93 | /* AB8500 audio-codec DMic supply */ | ||
94 | REGULATOR_SUPPLY("vdmic", "ab8500-codec.0"), | ||
95 | }; | ||
96 | |||
77 | static struct regulator_consumer_supply ab8500_vintcore_consumers[] = { | 97 | static struct regulator_consumer_supply ab8500_vintcore_consumers[] = { |
78 | /* SoC core supply, no device */ | 98 | /* SoC core supply, no device */ |
79 | REGULATOR_SUPPLY("v-intcore", NULL), | 99 | REGULATOR_SUPPLY("v-intcore", NULL), |
@@ -323,6 +343,8 @@ struct regulator_init_data ab8500_regulators[AB8500_NUM_REGULATORS] = { | |||
323 | .name = "V-AUD", | 343 | .name = "V-AUD", |
324 | .valid_ops_mask = REGULATOR_CHANGE_STATUS, | 344 | .valid_ops_mask = REGULATOR_CHANGE_STATUS, |
325 | }, | 345 | }, |
346 | .num_consumer_supplies = ARRAY_SIZE(ab8500_vaud_consumers), | ||
347 | .consumer_supplies = ab8500_vaud_consumers, | ||
326 | }, | 348 | }, |
327 | /* supply for v-anamic1 VAMic1-LDO */ | 349 | /* supply for v-anamic1 VAMic1-LDO */ |
328 | [AB8500_LDO_ANAMIC1] = { | 350 | [AB8500_LDO_ANAMIC1] = { |
@@ -330,6 +352,8 @@ struct regulator_init_data ab8500_regulators[AB8500_NUM_REGULATORS] = { | |||
330 | .name = "V-AMIC1", | 352 | .name = "V-AMIC1", |
331 | .valid_ops_mask = REGULATOR_CHANGE_STATUS, | 353 | .valid_ops_mask = REGULATOR_CHANGE_STATUS, |
332 | }, | 354 | }, |
355 | .num_consumer_supplies = ARRAY_SIZE(ab8500_vamic1_consumers), | ||
356 | .consumer_supplies = ab8500_vamic1_consumers, | ||
333 | }, | 357 | }, |
334 | /* supply for v-amic2, VAMIC2 LDO, reuse constants for AMIC1 */ | 358 | /* supply for v-amic2, VAMIC2 LDO, reuse constants for AMIC1 */ |
335 | [AB8500_LDO_ANAMIC2] = { | 359 | [AB8500_LDO_ANAMIC2] = { |
@@ -337,6 +361,8 @@ struct regulator_init_data ab8500_regulators[AB8500_NUM_REGULATORS] = { | |||
337 | .name = "V-AMIC2", | 361 | .name = "V-AMIC2", |
338 | .valid_ops_mask = REGULATOR_CHANGE_STATUS, | 362 | .valid_ops_mask = REGULATOR_CHANGE_STATUS, |
339 | }, | 363 | }, |
364 | .num_consumer_supplies = ARRAY_SIZE(ab8500_vamic2_consumers), | ||
365 | .consumer_supplies = ab8500_vamic2_consumers, | ||
340 | }, | 366 | }, |
341 | /* supply for v-dmic, VDMIC LDO */ | 367 | /* supply for v-dmic, VDMIC LDO */ |
342 | [AB8500_LDO_DMIC] = { | 368 | [AB8500_LDO_DMIC] = { |
@@ -344,6 +370,8 @@ struct regulator_init_data ab8500_regulators[AB8500_NUM_REGULATORS] = { | |||
344 | .name = "V-DMIC", | 370 | .name = "V-DMIC", |
345 | .valid_ops_mask = REGULATOR_CHANGE_STATUS, | 371 | .valid_ops_mask = REGULATOR_CHANGE_STATUS, |
346 | }, | 372 | }, |
373 | .num_consumer_supplies = ARRAY_SIZE(ab8500_vdmic_consumers), | ||
374 | .consumer_supplies = ab8500_vdmic_consumers, | ||
347 | }, | 375 | }, |
348 | /* supply for v-intcore12, VINTCORE12 LDO */ | 376 | /* supply for v-intcore12, VINTCORE12 LDO */ |
349 | [AB8500_LDO_INTCORE] = { | 377 | [AB8500_LDO_INTCORE] = { |
diff --git a/arch/arm/mach-ux500/board-mop500-sdi.c b/arch/arm/mach-ux500/board-mop500-sdi.c index 5dde4d4ebe88..1daead3e583e 100644 --- a/arch/arm/mach-ux500/board-mop500-sdi.c +++ b/arch/arm/mach-ux500/board-mop500-sdi.c | |||
@@ -31,21 +31,13 @@ | |||
31 | * SDI 0 (MicroSD slot) | 31 | * SDI 0 (MicroSD slot) |
32 | */ | 32 | */ |
33 | 33 | ||
34 | /* MMCIPOWER bits */ | ||
35 | #define MCI_DATA2DIREN (1 << 2) | ||
36 | #define MCI_CMDDIREN (1 << 3) | ||
37 | #define MCI_DATA0DIREN (1 << 4) | ||
38 | #define MCI_DATA31DIREN (1 << 5) | ||
39 | #define MCI_FBCLKEN (1 << 7) | ||
40 | |||
41 | /* GPIO pins used by the sdi0 level shifter */ | 34 | /* GPIO pins used by the sdi0 level shifter */ |
42 | static int sdi0_en = -1; | 35 | static int sdi0_en = -1; |
43 | static int sdi0_vsel = -1; | 36 | static int sdi0_vsel = -1; |
44 | 37 | ||
45 | static u32 mop500_sdi0_vdd_handler(struct device *dev, unsigned int vdd, | 38 | static int mop500_sdi0_ios_handler(struct device *dev, struct mmc_ios *ios) |
46 | unsigned char power_mode) | ||
47 | { | 39 | { |
48 | switch (power_mode) { | 40 | switch (ios->power_mode) { |
49 | case MMC_POWER_UP: | 41 | case MMC_POWER_UP: |
50 | case MMC_POWER_ON: | 42 | case MMC_POWER_ON: |
51 | /* | 43 | /* |
@@ -65,8 +57,7 @@ static u32 mop500_sdi0_vdd_handler(struct device *dev, unsigned int vdd, | |||
65 | break; | 57 | break; |
66 | } | 58 | } |
67 | 59 | ||
68 | return MCI_FBCLKEN | MCI_CMDDIREN | MCI_DATA0DIREN | | 60 | return 0; |
69 | MCI_DATA2DIREN | MCI_DATA31DIREN; | ||
70 | } | 61 | } |
71 | 62 | ||
72 | #ifdef CONFIG_STE_DMA40 | 63 | #ifdef CONFIG_STE_DMA40 |
@@ -90,13 +81,17 @@ static struct stedma40_chan_cfg mop500_sdi0_dma_cfg_tx = { | |||
90 | #endif | 81 | #endif |
91 | 82 | ||
92 | static struct mmci_platform_data mop500_sdi0_data = { | 83 | static struct mmci_platform_data mop500_sdi0_data = { |
93 | .vdd_handler = mop500_sdi0_vdd_handler, | 84 | .ios_handler = mop500_sdi0_ios_handler, |
94 | .ocr_mask = MMC_VDD_29_30, | 85 | .ocr_mask = MMC_VDD_29_30, |
95 | .f_max = 50000000, | 86 | .f_max = 50000000, |
96 | .capabilities = MMC_CAP_4_BIT_DATA | | 87 | .capabilities = MMC_CAP_4_BIT_DATA | |
97 | MMC_CAP_SD_HIGHSPEED | | 88 | MMC_CAP_SD_HIGHSPEED | |
98 | MMC_CAP_MMC_HIGHSPEED, | 89 | MMC_CAP_MMC_HIGHSPEED, |
99 | .gpio_wp = -1, | 90 | .gpio_wp = -1, |
91 | .sigdir = MCI_ST_FBCLKEN | | ||
92 | MCI_ST_CMDDIREN | | ||
93 | MCI_ST_DATA0DIREN | | ||
94 | MCI_ST_DATA2DIREN, | ||
100 | #ifdef CONFIG_STE_DMA40 | 95 | #ifdef CONFIG_STE_DMA40 |
101 | .dma_filter = stedma40_filter, | 96 | .dma_filter = stedma40_filter, |
102 | .dma_rx_param = &mop500_sdi0_dma_cfg_rx, | 97 | .dma_rx_param = &mop500_sdi0_dma_cfg_rx, |
diff --git a/arch/arm/mach-ux500/board-mop500-u8500uib.c b/arch/arm/mach-ux500/board-mop500-u8500uib.c index feb5744d98b7..ead91c968ff4 100644 --- a/arch/arm/mach-ux500/board-mop500-u8500uib.c +++ b/arch/arm/mach-ux500/board-mop500-u8500uib.c | |||
@@ -8,7 +8,6 @@ | |||
8 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
9 | #include <linux/init.h> | 9 | #include <linux/init.h> |
10 | #include <linux/i2c.h> | 10 | #include <linux/i2c.h> |
11 | #include <linux/gpio.h> | ||
12 | #include <linux/interrupt.h> | 11 | #include <linux/interrupt.h> |
13 | #include <linux/mfd/tc3589x.h> | 12 | #include <linux/mfd/tc3589x.h> |
14 | #include <linux/input/matrix_keypad.h> | 13 | #include <linux/input/matrix_keypad.h> |
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index 5c00712907d1..6d672a556df8 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c | |||
@@ -72,7 +72,7 @@ static struct platform_device snowball_led_dev = { | |||
72 | }; | 72 | }; |
73 | 73 | ||
74 | static struct ab8500_gpio_platform_data ab8500_gpio_pdata = { | 74 | static struct ab8500_gpio_platform_data ab8500_gpio_pdata = { |
75 | .gpio_base = MOP500_AB8500_GPIO(0), | 75 | .gpio_base = MOP500_AB8500_PIN_GPIO(1), |
76 | .irq_base = MOP500_AB8500_VIR_GPIO_IRQ_BASE, | 76 | .irq_base = MOP500_AB8500_VIR_GPIO_IRQ_BASE, |
77 | /* config_reg is the initial configuration of ab8500 pins. | 77 | /* config_reg is the initial configuration of ab8500 pins. |
78 | * The pins can be configured as GPIO or alt functions based | 78 | * The pins can be configured as GPIO or alt functions based |
diff --git a/arch/arm/mach-ux500/board-mop500.h b/arch/arm/mach-ux500/board-mop500.h index f926d3db6207..7ff6cbffc104 100644 --- a/arch/arm/mach-ux500/board-mop500.h +++ b/arch/arm/mach-ux500/board-mop500.h | |||
@@ -63,7 +63,7 @@ | |||
63 | * because the AB8500 GPIO pins are enumbered starting from 1, so the value in | 63 | * because the AB8500 GPIO pins are enumbered starting from 1, so the value in |
64 | * parens matches the GPIO pin number in the data sheet. | 64 | * parens matches the GPIO pin number in the data sheet. |
65 | */ | 65 | */ |
66 | #define MOP500_AB8500_GPIO(x) (MOP500_EGPIO_END + (x) - 1) | 66 | #define MOP500_AB8500_PIN_GPIO(x) (MOP500_EGPIO_END + (x) - 1) |
67 | /*Snowball AB8500 GPIO */ | 67 | /*Snowball AB8500 GPIO */ |
68 | #define SNOWBALL_VSMPS2_1V8_GPIO MOP500_AB8500_PIN_GPIO(1) /* SYSCLKREQ2/GPIO1 */ | 68 | #define SNOWBALL_VSMPS2_1V8_GPIO MOP500_AB8500_PIN_GPIO(1) /* SYSCLKREQ2/GPIO1 */ |
69 | #define SNOWBALL_PM_GPIO1_GPIO MOP500_AB8500_PIN_GPIO(2) /* SYSCLKREQ3/GPIO2 */ | 69 | #define SNOWBALL_PM_GPIO1_GPIO MOP500_AB8500_PIN_GPIO(2) /* SYSCLKREQ3/GPIO2 */ |
diff --git a/arch/arm/mach-ux500/clock.c b/arch/arm/mach-ux500/clock.c index 737907537004..ec35f0aa5665 100644 --- a/arch/arm/mach-ux500/clock.c +++ b/arch/arm/mach-ux500/clock.c | |||
@@ -223,6 +223,13 @@ int clk_set_rate(struct clk *clk, unsigned long rate) | |||
223 | } | 223 | } |
224 | EXPORT_SYMBOL(clk_set_rate); | 224 | EXPORT_SYMBOL(clk_set_rate); |
225 | 225 | ||
226 | int clk_set_parent(struct clk *clk, struct clk *parent) | ||
227 | { | ||
228 | /*TODO*/ | ||
229 | return -ENOSYS; | ||
230 | } | ||
231 | EXPORT_SYMBOL(clk_set_parent); | ||
232 | |||
226 | static void clk_prcmu_enable(struct clk *clk) | 233 | static void clk_prcmu_enable(struct clk *clk) |
227 | { | 234 | { |
228 | void __iomem *cg_set_reg = __io_address(U8500_PRCMU_BASE) | 235 | void __iomem *cg_set_reg = __io_address(U8500_PRCMU_BASE) |
diff --git a/arch/arm/mach-ux500/clock.h b/arch/arm/mach-ux500/clock.h index 074490705229..d776ada08dbf 100644 --- a/arch/arm/mach-ux500/clock.h +++ b/arch/arm/mach-ux500/clock.h | |||
@@ -21,6 +21,7 @@ struct clkops { | |||
21 | void (*enable) (struct clk *); | 21 | void (*enable) (struct clk *); |
22 | void (*disable) (struct clk *); | 22 | void (*disable) (struct clk *); |
23 | unsigned long (*get_rate) (struct clk *); | 23 | unsigned long (*get_rate) (struct clk *); |
24 | int (*set_parent)(struct clk *, struct clk *); | ||
24 | }; | 25 | }; |
25 | 26 | ||
26 | /** | 27 | /** |
diff --git a/arch/arm/mach-ux500/devices-db8500.c b/arch/arm/mach-ux500/devices-db8500.c index a7c6cdc9b11e..6e66d3777ed5 100644 --- a/arch/arm/mach-ux500/devices-db8500.c +++ b/arch/arm/mach-ux500/devices-db8500.c | |||
@@ -101,6 +101,9 @@ static const dma_addr_t dma40_tx_map[DB8500_DMA_NR_DEV] = { | |||
101 | [DB8500_DMA_DEV41_SD_MM3_TX] = -1, | 101 | [DB8500_DMA_DEV41_SD_MM3_TX] = -1, |
102 | [DB8500_DMA_DEV42_SD_MM4_TX] = -1, | 102 | [DB8500_DMA_DEV42_SD_MM4_TX] = -1, |
103 | [DB8500_DMA_DEV43_SD_MM5_TX] = -1, | 103 | [DB8500_DMA_DEV43_SD_MM5_TX] = -1, |
104 | [DB8500_DMA_DEV14_MSP2_TX] = U8500_MSP2_BASE + MSP_TX_RX_REG_OFFSET, | ||
105 | [DB8500_DMA_DEV30_MSP1_TX] = U8500_MSP1_BASE + MSP_TX_RX_REG_OFFSET, | ||
106 | [DB8500_DMA_DEV31_MSP0_TX_SLIM0_CH0_TX] = U8500_MSP0_BASE + MSP_TX_RX_REG_OFFSET, | ||
104 | }; | 107 | }; |
105 | 108 | ||
106 | /* Mapping between source event lines and physical device address */ | 109 | /* Mapping between source event lines and physical device address */ |
@@ -133,6 +136,9 @@ static const dma_addr_t dma40_rx_map[DB8500_DMA_NR_DEV] = { | |||
133 | [DB8500_DMA_DEV41_SD_MM3_RX] = -1, | 136 | [DB8500_DMA_DEV41_SD_MM3_RX] = -1, |
134 | [DB8500_DMA_DEV42_SD_MM4_RX] = -1, | 137 | [DB8500_DMA_DEV42_SD_MM4_RX] = -1, |
135 | [DB8500_DMA_DEV43_SD_MM5_RX] = -1, | 138 | [DB8500_DMA_DEV43_SD_MM5_RX] = -1, |
139 | [DB8500_DMA_DEV14_MSP2_RX] = U8500_MSP2_BASE + MSP_TX_RX_REG_OFFSET, | ||
140 | [DB8500_DMA_DEV30_MSP3_RX] = U8500_MSP3_BASE + MSP_TX_RX_REG_OFFSET, | ||
141 | [DB8500_DMA_DEV31_MSP0_RX_SLIM0_CH0_RX] = U8500_MSP0_BASE + MSP_TX_RX_REG_OFFSET, | ||
136 | }; | 142 | }; |
137 | 143 | ||
138 | /* Reserved event lines for memcpy only */ | 144 | /* Reserved event lines for memcpy only */ |
diff --git a/arch/arm/mach-ux500/include/mach/hardware.h b/arch/arm/mach-ux500/include/mach/hardware.h index b6ba26a1367d..d93d6dbef25b 100644 --- a/arch/arm/mach-ux500/include/mach/hardware.h +++ b/arch/arm/mach-ux500/include/mach/hardware.h | |||
@@ -30,6 +30,8 @@ | |||
30 | #include <mach/db8500-regs.h> | 30 | #include <mach/db8500-regs.h> |
31 | #include <mach/db5500-regs.h> | 31 | #include <mach/db5500-regs.h> |
32 | 32 | ||
33 | #define MSP_TX_RX_REG_OFFSET 0 | ||
34 | |||
33 | #ifndef __ASSEMBLY__ | 35 | #ifndef __ASSEMBLY__ |
34 | 36 | ||
35 | #include <mach/id.h> | 37 | #include <mach/id.h> |
diff --git a/arch/arm/mach-ux500/include/mach/irqs.h b/arch/arm/mach-ux500/include/mach/irqs.h index 9db68d264c5f..c23a6b5f0c4e 100644 --- a/arch/arm/mach-ux500/include/mach/irqs.h +++ b/arch/arm/mach-ux500/include/mach/irqs.h | |||
@@ -43,7 +43,7 @@ | |||
43 | /* This will be overridden by board-specific irq headers */ | 43 | /* This will be overridden by board-specific irq headers */ |
44 | #define IRQ_BOARD_END IRQ_BOARD_START | 44 | #define IRQ_BOARD_END IRQ_BOARD_START |
45 | 45 | ||
46 | #ifdef CONFIG_MACH_U8500 | 46 | #ifdef CONFIG_MACH_MOP500 |
47 | #include <mach/irqs-board-mop500.h> | 47 | #include <mach/irqs-board-mop500.h> |
48 | #endif | 48 | #endif |
49 | 49 | ||