summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Cherry <tcherry@nvidia.com>2011-05-12 18:51:43 -0700
committerVarun Colbert <vcolbert@nvidia.com>2011-05-18 11:46:40 -0700
commitb4566769589671445d15b357e0547a1628e0b473 (patch)
tree5b77f8b6943eb48226202d59e859b638080abfc0
parent39c4652d49eba403f39cedfab2cd1b5b26a416de (diff)
ARM: tegra: touch: Add SKU for enterprise
Change-Id: I60c16f4293e828d2960db734759184445d557555 Reviewed-on: http://git-master/r/31445 Tested-by: Thomas Cherry <tcherry@nvidia.com> Reviewed-by: Robert R Collins <rcollins@nvidia.com> Tested-by: Aleksandar Odorovic <aodorovic@nvidia.com> Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
-rw-r--r--arch/arm/mach-tegra/board-touch.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/board-touch.c b/arch/arm/mach-tegra/board-touch.c
index c5ffe189afa5..8e73c06eaa86 100644
--- a/arch/arm/mach-tegra/board-touch.c
+++ b/arch/arm/mach-tegra/board-touch.c
@@ -94,8 +94,9 @@ Check your _defconfig file and remove all but one touch screen driver instances.
#if defined(CONFIG_TOUCHSCREEN_ATMEL_MT_T9)
#include <linux/i2c/atmel_maxtouch.h>
extern struct tegra_touchscreen_init atmel_mxt_init_data;
-#define ATMEL_TOUCHSCREEN_SKU 0x0A00
-#define ATMEL_TOUCHSCREEN_T25 0x0B00
+#define ATMEL_TOUCHSCREEN_SKU 0x0A00
+#define ATMEL_TOUCHSCREEN_T25 0x0B00
+#define ATMEL_TOUCHSCREEN_ENTERPRISE 0x0C00
#if defined(DEFAULT_SKU) && (MULTI_SKU == 0)
#error ERROR! When MULTI_SKU=0, only one touch screen driver is supported at a time.\
Check your _defconfig file and remove all but one touch screen driver instances.
@@ -176,6 +177,7 @@ int __init touch_init(void)
#if defined(CONFIG_TOUCHSCREEN_ATMEL_MT_T9)
case ATMEL_TOUCHSCREEN_SKU:
case ATMEL_TOUCHSCREEN_T25:
+ case ATMEL_TOUCHSCREEN_ENTERPRISE:
retval = generic_touch_init(&atmel_mxt_init_data);
break;
#endif