diff options
author | Philippe Langlais <philippe.langlais@stericsson.com> | 2011-10-17 10:03:25 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2012-01-05 10:11:23 +0000 |
commit | c1c12281a6085f092fd80023b80eb1020ee4a236 (patch) | |
tree | 08e2e198f0db4d77a4c93030119e53bdff084c5b /arch/arm/mach-ux500/board-mop500.c | |
parent | 9c5c92c43ccab5ab38287e924d5b96a0216e5ff4 (diff) |
mach-ux500: touchscreen: Add Cypress driver
Add the Cypress SPI based touchscreen for ux500.
Signed-off-by: Avinash A <Avinash.a@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500.c')
-rw-r--r-- | arch/arm/mach-ux500/board-mop500.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index abd088a7b50..3a980f5808c 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c @@ -35,6 +35,7 @@ #include <linux/pwm_backlight.h> #include <linux/gpio/nomadik.h> #include <linux/leds.h> +#include <linux/cyttsp.h> #include <asm/mach-types.h> #include <asm/mach/arch.h> @@ -914,6 +915,10 @@ static struct pl022_ssp_controller ssp0_platform_data = { */ .num_chipselect = NUM_SSP_CLIENTS, }; +static struct pl022_ssp_controller mop500_spi2_data = { + .bus_id = SPI023_2_CONTROLLER, + .num_chipselect = NUM_SSP_CLIENTS, +}; static void __init mop500_spi_init(void) { |