From patchwork Wed Apr 10 11:47:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laxman Dewangan X-Patchwork-Id: 235373 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id C98602C00CC for ; Wed, 10 Apr 2013 21:51:39 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935980Ab3DJLvi (ORCPT ); Wed, 10 Apr 2013 07:51:38 -0400 Received: from hqemgate03.nvidia.com ([216.228.121.140]:10736 "EHLO hqemgate03.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759698Ab3DJLvh (ORCPT ); Wed, 10 Apr 2013 07:51:37 -0400 Received: from hqnvupgp07.nvidia.com (Not Verified[216.228.121.13]) by hqemgate03.nvidia.com id ; Wed, 10 Apr 2013 04:57:01 -0700 Received: from hqemhub02.nvidia.com ([172.20.12.94]) by hqnvupgp07.nvidia.com (PGP Universal service); Wed, 10 Apr 2013 04:49:54 -0700 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Wed, 10 Apr 2013 04:49:54 -0700 Received: from hqnvemgw02.nvidia.com (172.16.227.111) by hqemhub02.nvidia.com (172.20.150.31) with Microsoft SMTP Server id 8.3.298.1; Wed, 10 Apr 2013 04:51:14 -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:14 -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 r3ABp9ea014795; Wed, 10 Apr 2013 04:51:11 -0700 (PDT) From: Laxman Dewangan To: CC: , , , , Laxman Dewangan Subject: [PATCH 1/2] ARM: tegra: dalmore: populate key mapping Date: Wed, 10 Apr 2013 17:17:33 +0530 Message-ID: <1365594454-20614-1-git-send-email-ldewangan@nvidia.com> X-Mailer: git-send-email 1.7.1.1 MIME-Version: 1.0 Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org Keys on Dalmore 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 Dalmore SKU1000 with the fastboot. arch/arm/boot/dts/tegra114-dalmore.dts | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dalmore.dts index 72c1f27..12198d1 100644 --- a/arch/arm/boot/dts/tegra114-dalmore.dts +++ b/arch/arm/boot/dts/tegra114-dalmore.dts @@ -823,6 +823,18 @@ }; }; + 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 */ + 0x00010066 /* KEY_HOME */ + 0x01010072 /* KEY_VOLUMEDOWN */ + 0x02010073>; /* KEY_VOLUMEUP */ + }; + pmc { nvidia,invert-interrupt; };