From patchwork Mon Sep 13 16:29:48 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cyril Chemparathy X-Patchwork-Id: 174892 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o8DGTso6015396 for ; Mon, 13 Sep 2010 16:29:56 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752311Ab0IMQ3z (ORCPT ); Mon, 13 Sep 2010 12:29:55 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:42559 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753671Ab0IMQ3y (ORCPT ); Mon, 13 Sep 2010 12:29:54 -0400 Received: from dlep34.itg.ti.com ([157.170.170.115]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id o8DGTrf9001294 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 13 Sep 2010 11:29:53 -0500 Received: from legion.dal.design.ti.com (localhost [127.0.0.1]) by dlep34.itg.ti.com (8.13.7/8.13.7) with ESMTP id o8DGTqKt003938; Mon, 13 Sep 2010 11:29:52 -0500 (CDT) Received: from gtrgwdeb (gtrgwdeb.telogy.design.ti.com [158.218.102.24]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id o8DGTpf14110; Mon, 13 Sep 2010 11:29:52 -0500 (CDT) Received: by gtrgwdeb (Postfix, from userid 39959) id 9794D1E790D; Mon, 13 Sep 2010 12:29:51 -0400 (EDT) From: Cyril Chemparathy To: linux-input@vger.kernel.org, davinci-linux-open-source@linux.davincidsp.com Cc: Cyril Chemparathy Subject: [PATCH 7/7] davinci: add touchscreen config for tnetv107x evm board Date: Mon, 13 Sep 2010 12:29:48 -0400 Message-Id: <1284395388-32687-8-git-send-email-cyril@ti.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1284395388-32687-1-git-send-email-cyril@ti.com> References: <1284395388-32687-1-git-send-email-cyril@ti.com> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Mon, 13 Sep 2010 16:29:57 +0000 (UTC) diff --git a/arch/arm/mach-davinci/board-tnetv107x-evm.c b/arch/arm/mach-davinci/board-tnetv107x-evm.c index 2fe7a3f..287c5ee 100644 --- a/arch/arm/mach-davinci/board-tnetv107x-evm.c +++ b/arch/arm/mach-davinci/board-tnetv107x-evm.c @@ -182,11 +182,20 @@ static struct tnetv107x_keypad_data keypad_config = { .stable = 0x3, }; +static struct tnetv107x_tsc_data tsc_config = { + .xres = 800, + .yres = 480, + .calibration_data = { + 217, 14019, -2540712, 8690, -140, -1651470, 65536, + }, +}; + static struct tnetv107x_device_info evm_device_info __initconst = { .serial_config = &serial_config, .mmc_config[1] = &mmc_config, /* controller 1 */ .nand_config[0] = &nand_config, /* chip select 0 */ .keypad_config = &keypad_config, + .tsc_config = &tsc_config, }; static __init void tnetv107x_evm_board_init(void)