From patchwork Wed Apr 10 11:47:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laxman Dewangan X-Patchwork-Id: 2420811 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork2.kernel.org (Postfix) with ESMTP id 4205DDF2E5 for ; Wed, 10 Apr 2013 11:52:13 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UPtZF-0000Y8-Sv; Wed, 10 Apr 2013 11:51:58 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UPtZ9-0002wk-5R; Wed, 10 Apr 2013 11:51:51 +0000 Received: from hqemgate03.nvidia.com ([216.228.121.140]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UPtYu-0002v4-7q for linux-arm-kernel@lists.infradead.org; Wed, 10 Apr 2013 11:51:36 +0000 Received: from hqnvupgp08.nvidia.com (Not Verified[216.228.121.13]) by hqemgate03.nvidia.com id ; Wed, 10 Apr 2013 04:57:04 -0700 Received: from hqemhub01.nvidia.com ([172.20.12.94]) by hqnvupgp08.nvidia.com (PGP Universal service); Wed, 10 Apr 2013 04:51:17 -0700 X-PGP-Universal: processed; by hqnvupgp08.nvidia.com on Wed, 10 Apr 2013 04:51:17 -0700 Received: from hqnvemgw02.nvidia.com (172.16.227.111) by hqemhub01.nvidia.com (172.20.150.30) with Microsoft SMTP Server id 8.3.298.1; Wed, 10 Apr 2013 04:51:16 -0700 Received: from thelma.nvidia.com (Not Verified[172.16.212.77]) by hqnvemgw02.nvidia.com with MailMarshal (v7,1,2,5326) id ; Wed, 10 Apr 2013 04:51:16 -0700 Received: from ldewangan-ubuntu.nvidia.com ([10.19.65.30]) by thelma.nvidia.com (8.13.8+Sun/8.8.8) with ESMTP id r3ABp9eb014795; Wed, 10 Apr 2013 04:51:14 -0700 (PDT) From: Laxman Dewangan To: Subject: [PATCH 2/2] ARM: tegra: pluto: populate key mapping Date: Wed, 10 Apr 2013 17:17:34 +0530 Message-ID: <1365594454-20614-2-git-send-email-ldewangan@nvidia.com> X-Mailer: git-send-email 1.7.1.1 In-Reply-To: <1365594454-20614-1-git-send-email-ldewangan@nvidia.com> References: <1365594454-20614-1-git-send-email-ldewangan@nvidia.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130410_075136_435662_98D47F16 X-CRM114-Status: UNSURE ( 9.41 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -9.3 (---------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-9.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [216.228.121.140 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -2.4 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: linux-tegra@vger.kernel.org, Laxman Dewangan , linux@arm.linux.org.uk, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Keys on Pluto interfaced through Tegra KBC controller in key matrix topology. Add the key mapping for the keys Signed-off-by: Laxman Dewangan --- The system is booted on Pluto with the fastboot. arch/arm/boot/dts/tegra114-pluto.dts | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/tegra114-pluto.dts b/arch/arm/boot/dts/tegra114-pluto.dts index 6bbc8ef..290c9ce 100644 --- a/arch/arm/boot/dts/tegra114-pluto.dts +++ b/arch/arm/boot/dts/tegra114-pluto.dts @@ -14,6 +14,23 @@ status = "okay"; }; + kbc { + status = "okay"; + nvidia,debounce-delay-ms = <640>; + nvidia,repeat-delay-ms = <1>; + nvidia,kbc-row-pins = <0 1 2>; + nvidia,kbc-col-pins = <11 12 13>; + linux,keymap = < 0x00000074 /* KEY_POWER */ + 0x00010073 /* KEY_VOLUMEUP */ + 0x00020072 /* KEY_VOLUMEDOWN */ + 0x010000D9 /* KEY_SEARCH */ + 0x010100D4 /* KEY_CAMERA */ + 0x010200D2 /* KEY_CAMERA_FOCUS */ + 0x02000066 /* KEY_HOME */ + 0x0201009E /* KEY_BACK */ + 0x0202008B>; /* KEY_MENU */ + }; + pmc { nvidia,invert-interrupt; };