diff options
-rw-r--r-- | arch/arm/mach-omap2/board-rx51-peripherals.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index f40453774855..d27a4ef6eb63 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c | |||
@@ -46,6 +46,7 @@ | |||
46 | enum { | 46 | enum { |
47 | RX51_SPI_WL1251, | 47 | RX51_SPI_WL1251, |
48 | RX51_SPI_MIPID, /* LCD panel */ | 48 | RX51_SPI_MIPID, /* LCD panel */ |
49 | RX51_SPI_TSC2005, /* Touch Controller */ | ||
49 | }; | 50 | }; |
50 | 51 | ||
51 | static struct wl12xx_platform_data wl1251_pdata; | 52 | static struct wl12xx_platform_data wl1251_pdata; |
@@ -60,6 +61,11 @@ static struct omap2_mcspi_device_config mipid_mcspi_config = { | |||
60 | .single_channel = 1, | 61 | .single_channel = 1, |
61 | }; | 62 | }; |
62 | 63 | ||
64 | static struct omap2_mcspi_device_config tsc2005_mcspi_config = { | ||
65 | .turbo_mode = 0, | ||
66 | .single_channel = 1, | ||
67 | }; | ||
68 | |||
63 | static struct spi_board_info rx51_peripherals_spi_board_info[] __initdata = { | 69 | static struct spi_board_info rx51_peripherals_spi_board_info[] __initdata = { |
64 | [RX51_SPI_WL1251] = { | 70 | [RX51_SPI_WL1251] = { |
65 | .modalias = "wl1251", | 71 | .modalias = "wl1251", |
@@ -77,6 +83,15 @@ static struct spi_board_info rx51_peripherals_spi_board_info[] __initdata = { | |||
77 | .max_speed_hz = 6000000, | 83 | .max_speed_hz = 6000000, |
78 | .controller_data = &mipid_mcspi_config, | 84 | .controller_data = &mipid_mcspi_config, |
79 | }, | 85 | }, |
86 | [RX51_SPI_TSC2005] = { | ||
87 | .modalias = "tsc2005", | ||
88 | .bus_num = 1, | ||
89 | .chip_select = 0, | ||
90 | /* .irq = OMAP_GPIO_IRQ(RX51_TSC2005_IRQ_GPIO),*/ | ||
91 | .max_speed_hz = 6000000, | ||
92 | .controller_data = &tsc2005_mcspi_config, | ||
93 | /* .platform_data = &tsc2005_config,*/ | ||
94 | }, | ||
80 | }; | 95 | }; |
81 | 96 | ||
82 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) | 97 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) |