summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-p1852.h
diff options
context:
space:
mode:
authorDongfang Shi <dshi@nvidia.com>2012-05-08 15:24:25 -0700
committerSimone Willett <swillett@nvidia.com>2012-06-12 17:17:46 -0700
commit4a5cfb62d9aa2abcd3c0ae63a76cafd77fb78ae3 (patch)
tree09200c08bf649e84397e1173e794803215a8d2fb /arch/arm/mach-tegra/board-p1852.h
parentc7d35b5a710eb5a2742a00e1726df43a7160f53b (diff)
arm: tegra: p1852: drive touch panel with resolution 1366x768
Enable WXGA display and touch input for p1852 touch panel. board-p1852-panel.c: added WXGA timing for atmel touch panel. board-p1852.c: initialize touch panel if touch input is defined. board-p1852.h: added p1852 touch panel GPIO and bus. tegra_p1852_gnu_linux_defconfig: added touch panel flags, not defined by default. bug 936232 Change-Id: Ia50b991f6aa5ed0ece458ad3871a68684a9234a6 Signed-off-by: Dongfang Shi <dshi@nvidia.com> Reviewed-on: http://git-master/r/101348 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-p1852.h')
-rw-r--r--arch/arm/mach-tegra/board-p1852.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-p1852.h b/arch/arm/mach-tegra/board-p1852.h
index f146f30ed2c5..1ac0968f9518 100644
--- a/arch/arm/mach-tegra/board-p1852.h
+++ b/arch/arm/mach-tegra/board-p1852.h
@@ -96,4 +96,10 @@ int p1852_panel_init(void);
int p1852_gpio_init(void);
int p1852_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_PW2
+#define TOUCH_BUS_ATMEL_T9 0
+#endif
+
#endif