aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-01-15 15:33:40 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-15 15:33:40 -0500
commit16c1020362083b320868c0deef492249089c3cd3 (patch)
treeff200df3502e6010745713275d69fd0a07e399cf /arch/arm/mach-imx
parent65e5d002b5ad220db2bf9557f53de5a98f7dab86 (diff)
parentbbba75606963c82febf7bd2761ea848ac5d1a1bb (diff)
Merge branch 'devel-stable' of master.kernel.org:/home/rmk/linux-2.6-arm
* 'devel-stable' of master.kernel.org:/home/rmk/linux-2.6-arm: (161 commits) ARM: pxa: fix building issue of missing physmap.h ARM: mmp: PXA910 drive strength FAST using wrong value ARM: mmp: MMP2 drive strength FAST using wrong value ARM: pxa: fix recursive calls in pxa_low_gpio_chip AT91: Support for gsia18s board AT91: Acme Systems FOX Board G20 board files AT91: board-sam9m10g45ek.c: Remove duplicate inclusion of mach/hardware.h ARM: pxa: fix suspend/resume array index miscalculation ARM: pxa: use cpu_has_ipr() consistently in irq.c ARM: pxa: remove unused variable in clock-pxa3xx.c ARM: pxa: fix warning in zeus.c ARM: sa1111: fix typo in sa1111_retrigger_lowirq() ARM mxs: clkdev related compile fixes ARM i.MX mx31_3ds: Fix MC13783 regulator names ARM: plat-stmp3xxx: irq_data conversion. ARM: plat-spear: irq_data conversion. ARM: plat-orion: irq_data conversion. ARM: plat-omap: irq_data conversion. ARM: plat-nomadik: irq_data conversion. ARM: plat-mxc: irq_data conversion. ... Fix up trivial conflict in arch/arm/plat-omap/gpio.c (Lennert Buytenhek's irq_data conversion clashing with some omap irq updates)
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r--arch/arm/mach-imx/Kconfig1
-rw-r--r--arch/arm/mach-imx/mach-mx27_3ds.c10
2 files changed, 9 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 17d2e608a214..56684b517070 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -243,6 +243,7 @@ config MACH_MX27_3DS
243 select IMX_HAVE_PLATFORM_MXC_EHCI 243 select IMX_HAVE_PLATFORM_MXC_EHCI
244 select IMX_HAVE_PLATFORM_MXC_MMC 244 select IMX_HAVE_PLATFORM_MXC_MMC
245 select IMX_HAVE_PLATFORM_SPI_IMX 245 select IMX_HAVE_PLATFORM_SPI_IMX
246 select MXC_DEBUG_BOARD
246 select MXC_ULPI if USB_ULPI 247 select MXC_ULPI if USB_ULPI
247 help 248 help
248 Include support for MX27PDK platform. This includes specific 249 Include support for MX27PDK platform. This includes specific
diff --git a/arch/arm/mach-imx/mach-mx27_3ds.c b/arch/arm/mach-imx/mach-mx27_3ds.c
index 6fd0f8f6deb6..164331518bdd 100644
--- a/arch/arm/mach-imx/mach-mx27_3ds.c
+++ b/arch/arm/mach-imx/mach-mx27_3ds.c
@@ -37,12 +37,15 @@
37#include <mach/common.h> 37#include <mach/common.h>
38#include <mach/iomux-mx27.h> 38#include <mach/iomux-mx27.h>
39#include <mach/ulpi.h> 39#include <mach/ulpi.h>
40#include <mach/irqs.h>
41#include <mach/3ds_debugboard.h>
40 42
41#include "devices-imx27.h" 43#include "devices-imx27.h"
42 44
43#define SD1_EN_GPIO (GPIO_PORTB + 25) 45#define SD1_EN_GPIO (GPIO_PORTB + 25)
44#define OTG_PHY_RESET_GPIO (GPIO_PORTB + 23) 46#define OTG_PHY_RESET_GPIO (GPIO_PORTB + 23)
45#define SPI2_SS0 (GPIO_PORTD + 21) 47#define SPI2_SS0 (GPIO_PORTD + 21)
48#define EXPIO_PARENT_INT (MXC_INTERNAL_IRQS + GPIO_PORTC + 28)
46 49
47static const int mx27pdk_pins[] __initconst = { 50static const int mx27pdk_pins[] __initconst = {
48 /* UART1 */ 51 /* UART1 */
@@ -215,10 +218,10 @@ static struct regulator_init_data vgen_init = {
215 218
216static struct mc13783_regulator_init_data mx27_3ds_regulators[] = { 219static struct mc13783_regulator_init_data mx27_3ds_regulators[] = {
217 { 220 {
218 .id = MC13783_REGU_VMMC1, 221 .id = MC13783_REG_VMMC1,
219 .init_data = &vmmc1_init, 222 .init_data = &vmmc1_init,
220 }, { 223 }, {
221 .id = MC13783_REGU_VGEN, 224 .id = MC13783_REG_VGEN,
222 .init_data = &vgen_init, 225 .init_data = &vgen_init,
223 }, 226 },
224}; 227};
@@ -276,6 +279,9 @@ static void __init mx27pdk_init(void)
276 imx27_add_spi_imx1(&spi2_pdata); 279 imx27_add_spi_imx1(&spi2_pdata);
277 spi_register_board_info(mx27_3ds_spi_devs, 280 spi_register_board_info(mx27_3ds_spi_devs,
278 ARRAY_SIZE(mx27_3ds_spi_devs)); 281 ARRAY_SIZE(mx27_3ds_spi_devs));
282
283 if (mxc_expio_init(MX27_CS5_BASE_ADDR, EXPIO_PARENT_INT))
284 pr_warn("Init of the debugboard failed, all devices on the debugboard are unusable.\n");
279} 285}
280 286
281static void __init mx27pdk_timer_init(void) 287static void __init mx27pdk_timer_init(void)