diff options
author | Pradeep Goudagunta <pgoudagunta@nvidia.com> | 2011-05-04 16:54:24 +0530 |
---|---|---|
committer | Niket Sirsi <nsirsi@nvidia.com> | 2011-06-02 22:41:14 -0700 |
commit | f1a2c5d3406adba37a6dfd59fe1ad1d629fd9365 (patch) | |
tree | 10836ba6ebe335525d83cc4d741955f7f0585f51 /arch | |
parent | 88d74a3f9b0033316bbcc1a478283389c0c9c11f (diff) |
ARM: tegra: touch: Support for PM269 touch
Added Support to read board ID and enable always Atmel touch for
PM269 board.
Bug 823160
Change-Id: I1a5d8cccda848c3c9754bc15c51d79a7b276166e
Reviewed-on: http://git-master/r/30370
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/board-touch.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-touch.c b/arch/arm/mach-tegra/board-touch.c index 8e73c06eaa86..fe833d07c99f 100644 --- a/arch/arm/mach-tegra/board-touch.c +++ b/arch/arm/mach-tegra/board-touch.c @@ -161,6 +161,13 @@ int __init touch_init(void) tegra_get_board_info(&BoardInfo); +#if defined(CONFIG_MACH_CARDHU) +#if defined(CONFIG_TOUCHSCREEN_ATMEL_MT_T9) + if (BoardInfo.board_id == BOARD_PM269) + BoardInfo.sku = ATMEL_TOUCHSCREEN_SKU; +#endif +#endif + if (VERBOSE_DEBUG >= 1) pr_info("### BoardInfo.sku = %04X\n", BoardInfo.sku); |