summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-e1853.h
diff options
context:
space:
mode:
authorDongfang Shi <dshi@nvidia.com>2012-09-04 16:49:20 -0700
committerSimone Willett <swillett@nvidia.com>2012-10-22 13:52:51 -0700
commitb508bba3c863fe58d5b25ef096d695ea62cb6786 (patch)
tree3f405b3ba0b8371d35d886fb84744f7fd1bd96d3 /arch/arm/mach-tegra/board-e1853.h
parent21f3cd0cf543acf018bafad61ad85c9910683c27 (diff)
arm: tegra: e1853: add WXGA touch panel support
Support WXGA display and touch input for e1853. bug 1036173 Change-Id: Ia66119c1f05dd61a46346a1b7e5dc5bbbeb43495 Signed-off-by: Dongfang Shi <dshi@nvidia.com> Reviewed-on: http://git-master/r/129521 (cherry picked from commit a766194a31b6fe7e9834959a19c88d375c15d6de) Reviewed-on: http://git-master/r/143774 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-e1853.h')
-rw-r--r--arch/arm/mach-tegra/board-e1853.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-e1853.h b/arch/arm/mach-tegra/board-e1853.h
index 58b8ab8725af..beb636ce9b5b 100644
--- a/arch/arm/mach-tegra/board-e1853.h
+++ b/arch/arm/mach-tegra/board-e1853.h
@@ -25,4 +25,10 @@ int e1853_panel_init(void);
int e1853_gpio_init(void);
int e1853_pins_state_init(void);
+#ifdef CONFIG_TOUCHSCREEN_ATMEL_MXT
+#define TOUCH_GPIO_IRQ_ATMEL_T9 TEGRA_GPIO_PEE1
+#define TOUCH_GPIO_RST_ATMEL_T9 TEGRA_GPIO_PR2
+#define TOUCH_BUS_ATMEL_T9 0
+#endif
+
#endif