diff options
author | Valentin Longchamp <valentin.longchamp@epfl.ch> | 2009-11-03 12:09:50 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-11-14 04:29:15 -0500 |
commit | 4dd7129345be71cb20da99a75ded01ea50615f66 (patch) | |
tree | 1b99e68615ef4d4ef4c4f4515efc43098b1c2be2 /arch/arm/mach-mx3/mx31moboard.c | |
parent | 65da9791cba6f873c996099e19b29035203a1318 (diff) |
mx31moboard: initialize ipu device for all the boards
Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3/mx31moboard.c')
-rw-r--r-- | arch/arm/mach-mx3/mx31moboard.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-mx3/mx31moboard.c b/arch/arm/mach-mx3/mx31moboard.c index f3ab51bcad49..2f95dcd805cc 100644 --- a/arch/arm/mach-mx3/mx31moboard.c +++ b/arch/arm/mach-mx3/mx31moboard.c | |||
@@ -40,6 +40,7 @@ | |||
40 | #include <mach/hardware.h> | 40 | #include <mach/hardware.h> |
41 | #include <mach/imx-uart.h> | 41 | #include <mach/imx-uart.h> |
42 | #include <mach/iomux-mx3.h> | 42 | #include <mach/iomux-mx3.h> |
43 | #include <mach/ipu.h> | ||
43 | #include <mach/i2c.h> | 44 | #include <mach/i2c.h> |
44 | #include <mach/mmc.h> | 45 | #include <mach/mmc.h> |
45 | #include <mach/mx3_camera.h> | 46 | #include <mach/mx3_camera.h> |
@@ -393,6 +394,10 @@ static void mx31moboard_init_sel_gpios(void) | |||
393 | } | 394 | } |
394 | } | 395 | } |
395 | 396 | ||
397 | static struct ipu_platform_data mx3_ipu_data = { | ||
398 | .irq_base = MXC_IPU_IRQ_START, | ||
399 | }; | ||
400 | |||
396 | static struct platform_device *devices[] __initdata = { | 401 | static struct platform_device *devices[] __initdata = { |
397 | &mx31moboard_flash, | 402 | &mx31moboard_flash, |
398 | &mx31moboard_leds_device, | 403 | &mx31moboard_leds_device, |
@@ -430,6 +435,8 @@ static void __init mxc_board_init(void) | |||
430 | 435 | ||
431 | mxc_register_device(&mxcsdhc_device0, &sdhc1_pdata); | 436 | mxc_register_device(&mxcsdhc_device0, &sdhc1_pdata); |
432 | 437 | ||
438 | mxc_register_device(&mx3_ipu, &mx3_ipu_data); | ||
439 | |||
433 | usb_xcvr_reset(); | 440 | usb_xcvr_reset(); |
434 | 441 | ||
435 | moboard_usbotg_init(); | 442 | moboard_usbotg_init(); |