diff options
Diffstat (limited to 'arch/arm/mach-mxs/mach-mx28evk.c')
-rw-r--r-- | arch/arm/mach-mxs/mach-mx28evk.c | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/arch/arm/mach-mxs/mach-mx28evk.c b/arch/arm/mach-mxs/mach-mx28evk.c index 064ec5abaa55..ac84a10baa14 100644 --- a/arch/arm/mach-mxs/mach-mx28evk.c +++ b/arch/arm/mach-mxs/mach-mx28evk.c | |||
@@ -27,6 +27,7 @@ | |||
27 | 27 | ||
28 | #include <mach/common.h> | 28 | #include <mach/common.h> |
29 | #include <mach/iomux-mx28.h> | 29 | #include <mach/iomux-mx28.h> |
30 | #include <mach/digctl.h> | ||
30 | 31 | ||
31 | #include "devices-mx28.h" | 32 | #include "devices-mx28.h" |
32 | 33 | ||
@@ -421,6 +422,18 @@ static struct gpio mx28evk_lcd_gpios[] = { | |||
421 | { MX28EVK_BL_ENABLE, GPIOF_OUT_INIT_HIGH, "bl-enable" }, | 422 | { MX28EVK_BL_ENABLE, GPIOF_OUT_INIT_HIGH, "bl-enable" }, |
422 | }; | 423 | }; |
423 | 424 | ||
425 | static const struct mxs_saif_platform_data | ||
426 | mx28evk_mxs_saif_pdata[] __initconst = { | ||
427 | /* working on EXTMSTR0 mode (saif0 master, saif1 slave) */ | ||
428 | { | ||
429 | .master_mode = 1, | ||
430 | .master_id = 0, | ||
431 | }, { | ||
432 | .master_mode = 0, | ||
433 | .master_id = 0, | ||
434 | }, | ||
435 | }; | ||
436 | |||
424 | static void __init mx28evk_init(void) | 437 | static void __init mx28evk_init(void) |
425 | { | 438 | { |
426 | int ret; | 439 | int ret; |
@@ -454,8 +467,9 @@ static void __init mx28evk_init(void) | |||
454 | else | 467 | else |
455 | mx28_add_mxsfb(&mx28evk_mxsfb_pdata); | 468 | mx28_add_mxsfb(&mx28evk_mxsfb_pdata); |
456 | 469 | ||
457 | mx28_add_saif(0); | 470 | mxs_saif_clkmux_select(MXS_DIGCTL_SAIF_CLKMUX_EXTMSTR0); |
458 | mx28_add_saif(1); | 471 | mx28_add_saif(0, &mx28evk_mxs_saif_pdata[0]); |
472 | mx28_add_saif(1, &mx28evk_mxs_saif_pdata[1]); | ||
459 | 473 | ||
460 | mx28_add_mxs_i2c(0); | 474 | mx28_add_mxs_i2c(0); |
461 | i2c_register_board_info(0, mxs_i2c0_board_info, | 475 | i2c_register_board_info(0, mxs_i2c0_board_info, |