diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2011-08-29 12:04:07 +0530 |
---|---|---|
committer | Tushar Behera <tushar.behera@linaro.org> | 2012-12-13 14:53:34 +0530 |
commit | 0a6210b2db320bfbd5304be2820e708695a6b6be (patch) | |
tree | ff55cdf4d8c5ad8a79ca01056645ace44f7b9d2d | |
parent | c522a3bd4c080274553e7802bf585e771a507852 (diff) | |
download | linux-topics-0a6210b2db320bfbd5304be2820e708695a6b6be.tar.gz |
ARM: EXYNOS: Add touchscreen I2C device information on Origen board
Added I2C device information for the touch screen device.
Signed-off-by: Fahad Kunnathadi <fahad.k@samsung.com>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
[tushar.behera@linaro.org: Updated IRQ definition in include/mach/irqs.h]
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
-rw-r--r-- | arch/arm/mach-exynos/include/mach/irqs.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-exynos/mach-origen.c | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/include/mach/irqs.h b/arch/arm/mach-exynos/include/mach/irqs.h index 35bced6f909..e6af1c4df12 100644 --- a/arch/arm/mach-exynos/include/mach/irqs.h +++ b/arch/arm/mach-exynos/include/mach/irqs.h @@ -461,6 +461,7 @@ #define S5P_GPIOINT_BASE (S5P_EINT_BASE1 + 32) #define IRQ_GPIO_END (S5P_GPIOINT_BASE + S5P_GPIOINT_COUNT) #define IRQ_TIMER_BASE (IRQ_GPIO_END + 64) +#define IRQ_TS (S5P_EINT_BASE1 + 25) /* Set the default NR_IRQS */ diff --git a/arch/arm/mach-exynos/mach-origen.c b/arch/arm/mach-exynos/mach-origen.c index 876f2387538..520b804be3b 100644 --- a/arch/arm/mach-exynos/mach-origen.c +++ b/arch/arm/mach-exynos/mach-origen.c @@ -478,6 +478,12 @@ static struct i2c_board_info i2c0_devs[] __initdata = { .platform_data = &origen_max8997_pdata, .irq = IRQ_EINT(4), }, +#ifdef CONFIG_TOUCHSCREEN_UNIDISPLAY_TS + { + I2C_BOARD_INFO("unidisplay_ts", 0x41), + .irq = IRQ_TS, + }, +#endif }; /* I2C1 */ |