1 From d83a600cbe0cfca8c8fd9f5566dd45166cc9e142 Mon Sep 17 00:00:00 2001
2 From: Scott Ellis <scottellis.developer@gmail.com>
3 Date: Sun, 23 Jan 2011 20:39:35 -0800
4 Subject: [PATCH 28/31] OMAP: Overo: Add support for spidev
7 arch/arm/mach-omap2/board-overo.c | 16 ++++++++++++++++
8 1 files changed, 16 insertions(+), 0 deletions(-)
10 diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c
11 index 61c59fc..05dd3eb 100644
12 --- a/arch/arm/mach-omap2/board-overo.c
13 +++ b/arch/arm/mach-omap2/board-overo.c
14 @@ -683,6 +683,14 @@ static struct spi_board_info overo_spi_board_info[] __initdata = {
15 .irq = OMAP_GPIO_IRQ(OVERO_GPIO_PENDOWN),
16 .platform_data = &ads7846_config,
18 +#elif defined(CONFIG_SPI_SPIDEV) || defined(CONFIG_SPI_SPIDEV_MODULE)
20 + .modalias = "spidev",
23 + .max_speed_hz = 48000000,
27 #if defined(CONFIG_PANEL_LGPHILIPS_LB035Q02) || \
28 defined(CONFIG_PANEL_LGPHILIPS_LB035Q02_MODULE)
29 @@ -693,6 +701,14 @@ static struct spi_board_info overo_spi_board_info[] __initdata = {
30 .max_speed_hz = 500000,
33 +#elif defined(CONFIG_SPI_SPIDEV) || defined(CONFIG_SPI_SPIDEV_MODULE)
35 + .modalias = "spidev",
38 + .max_speed_hz = 48000000,