diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-rx51-peripherals.c')
-rw-r--r-- | arch/arm/mach-omap2/board-rx51-peripherals.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index 4377a4cf36eb..f40453774855 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c | |||
@@ -45,6 +45,7 @@ | |||
45 | /* list all spi devices here */ | 45 | /* list all spi devices here */ |
46 | enum { | 46 | enum { |
47 | RX51_SPI_WL1251, | 47 | RX51_SPI_WL1251, |
48 | RX51_SPI_MIPID, /* LCD panel */ | ||
48 | }; | 49 | }; |
49 | 50 | ||
50 | static struct wl12xx_platform_data wl1251_pdata; | 51 | static struct wl12xx_platform_data wl1251_pdata; |
@@ -54,6 +55,11 @@ static struct omap2_mcspi_device_config wl1251_mcspi_config = { | |||
54 | .single_channel = 1, | 55 | .single_channel = 1, |
55 | }; | 56 | }; |
56 | 57 | ||
58 | static struct omap2_mcspi_device_config mipid_mcspi_config = { | ||
59 | .turbo_mode = 0, | ||
60 | .single_channel = 1, | ||
61 | }; | ||
62 | |||
57 | static struct spi_board_info rx51_peripherals_spi_board_info[] __initdata = { | 63 | static struct spi_board_info rx51_peripherals_spi_board_info[] __initdata = { |
58 | [RX51_SPI_WL1251] = { | 64 | [RX51_SPI_WL1251] = { |
59 | .modalias = "wl1251", | 65 | .modalias = "wl1251", |
@@ -64,6 +70,13 @@ static struct spi_board_info rx51_peripherals_spi_board_info[] __initdata = { | |||
64 | .controller_data = &wl1251_mcspi_config, | 70 | .controller_data = &wl1251_mcspi_config, |
65 | .platform_data = &wl1251_pdata, | 71 | .platform_data = &wl1251_pdata, |
66 | }, | 72 | }, |
73 | [RX51_SPI_MIPID] = { | ||
74 | .modalias = "acx565akm", | ||
75 | .bus_num = 1, | ||
76 | .chip_select = 2, | ||
77 | .max_speed_hz = 6000000, | ||
78 | .controller_data = &mipid_mcspi_config, | ||
79 | }, | ||
67 | }; | 80 | }; |
68 | 81 | ||
69 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) | 82 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) |