From patchwork Sat Nov 7 21:18:24 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grazvydas Ignotas X-Patchwork-Id: 58387 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nA7LIUga022309 for ; Sat, 7 Nov 2009 21:18:30 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752920AbZKGVSX (ORCPT ); Sat, 7 Nov 2009 16:18:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752877AbZKGVSX (ORCPT ); Sat, 7 Nov 2009 16:18:23 -0500 Received: from mail-bw0-f227.google.com ([209.85.218.227]:48456 "EHLO mail-bw0-f227.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752048AbZKGVSW (ORCPT ); Sat, 7 Nov 2009 16:18:22 -0500 Received: by bwz27 with SMTP id 27so2280588bwz.21 for ; Sat, 07 Nov 2009 13:18:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=OdLUbGfi3gH96+IjjKNendjwDd3uMX4/wz5xeXXEw88=; b=sOa1B0VT0eFbCgekzX1ZghqpACecdxxd9ArzZWoJruzD4a2F35UqPfKArhU1M439Dv 9qeojDZOPqsN0+q22iQFZp57SyPvNngDY5TXdz+m6OzlJC8g6KgZ8BuEp26dXimhKWQ3 ro7HdX0y9mCWQYTlANG+MMBZ32vafTrVwswTA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=TGoDmybUwCwEn/rA7qunEMcCv2YbDblYI6Q4xIQKEBhvXkSNrsF/Phzk5ih16vxx5s RIISrychRxtmZK3euRdjr0DhzrDat99pTdHqEmuZrsLq/XAfZKqBawo1grokm6HRUf7Z x69GjPfweCcXbSrcgWAse7Aakp7efzxbFYLM8= Received: by 10.204.48.140 with SMTP id r12mr6433224bkf.112.1257628706910; Sat, 07 Nov 2009 13:18:26 -0800 (PST) Received: from localhost.localdomain (78-60-202-21.static.zebra.lt [78.60.202.21]) by mx.google.com with ESMTPS id 14sm382964fxm.3.2009.11.07.13.18.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 07 Nov 2009 13:18:26 -0800 (PST) From: Grazvydas Ignotas To: linux-omap@vger.kernel.org Cc: Grazvydas Ignotas Subject: [PATCH] omap: pandora: fix keypad keymap Date: Sat, 7 Nov 2009 23:18:24 +0200 Message-Id: <1257628704-6147-1-git-send-email-notasas@gmail.com> X-Mailer: git-send-email 1.5.6.3 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c index 581a18d..d81d1a0 100644 --- a/arch/arm/mach-omap2/board-omap3pandora.c +++ b/arch/arm/mach-omap2/board-omap3pandora.c @@ -134,50 +134,50 @@ static void __init pandora_keys_gpio_init(void) } static int board_keymap[] = { - /* col, row, code */ + /* row, col, code */ KEY(0, 0, KEY_9), - KEY(0, 1, KEY_0), - KEY(0, 2, KEY_BACKSPACE), - KEY(0, 3, KEY_O), - KEY(0, 4, KEY_P), - KEY(0, 5, KEY_K), - KEY(0, 6, KEY_L), - KEY(0, 7, KEY_ENTER), - KEY(1, 0, KEY_8), + KEY(0, 1, KEY_8), + KEY(0, 2, KEY_I), + KEY(0, 3, KEY_J), + KEY(0, 4, KEY_N), + KEY(0, 5, KEY_M), + KEY(1, 0, KEY_0), KEY(1, 1, KEY_7), - KEY(1, 2, KEY_6), - KEY(1, 3, KEY_5), - KEY(1, 4, KEY_4), - KEY(1, 5, KEY_3), - KEY(1, 6, KEY_2), - KEY(1, 7, KEY_1), - KEY(2, 0, KEY_I), - KEY(2, 1, KEY_U), + KEY(1, 2, KEY_U), + KEY(1, 3, KEY_H), + KEY(1, 4, KEY_B), + KEY(1, 5, KEY_SPACE), + KEY(2, 0, KEY_BACKSPACE), + KEY(2, 1, KEY_6), KEY(2, 2, KEY_Y), - KEY(2, 3, KEY_T), - KEY(2, 4, KEY_R), - KEY(2, 5, KEY_E), - KEY(2, 6, KEY_W), - KEY(2, 7, KEY_Q), - KEY(3, 0, KEY_J), - KEY(3, 1, KEY_H), - KEY(3, 2, KEY_G), + KEY(2, 3, KEY_G), + KEY(2, 4, KEY_V), + KEY(2, 5, KEY_FN), + KEY(3, 0, KEY_O), + KEY(3, 1, KEY_5), + KEY(3, 2, KEY_T), KEY(3, 3, KEY_F), - KEY(3, 4, KEY_D), - KEY(3, 5, KEY_S), - KEY(3, 6, KEY_A), - KEY(3, 7, KEY_LEFTSHIFT), - KEY(4, 0, KEY_N), - KEY(4, 1, KEY_B), - KEY(4, 2, KEY_V), - KEY(4, 3, KEY_C), + KEY(3, 4, KEY_C), + KEY(4, 0, KEY_P), + KEY(4, 1, KEY_4), + KEY(4, 2, KEY_R), + KEY(4, 3, KEY_D), KEY(4, 4, KEY_X), - KEY(4, 5, KEY_Z), - KEY(4, 6, KEY_DOT), - KEY(4, 7, KEY_COMMA), - KEY(5, 0, KEY_M), - KEY(5, 1, KEY_SPACE), - KEY(5, 2, KEY_FN), + KEY(5, 0, KEY_K), + KEY(5, 1, KEY_3), + KEY(5, 2, KEY_E), + KEY(5, 3, KEY_S), + KEY(5, 4, KEY_Z), + KEY(6, 0, KEY_L), + KEY(6, 1, KEY_2), + KEY(6, 2, KEY_W), + KEY(6, 3, KEY_A), + KEY(6, 4, KEY_DOT), + KEY(7, 0, KEY_ENTER), + KEY(7, 1, KEY_1), + KEY(7, 2, KEY_Q), + KEY(7, 3, KEY_LEFTSHIFT), + KEY(7, 4, KEY_COMMA), }; static struct matrix_keymap_data board_map_data = {