From patchwork Wed May 23 05:59:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 8896 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id A7C7519D1BC for ; Wed, 23 May 2012 06:10:25 +0000 (UTC) Received: from mail-ob0-f180.google.com (mail-ob0-f180.google.com [209.85.214.180]) by fiordland.canonical.com (Postfix) with ESMTP id 5B1A1A18E5F for ; Wed, 23 May 2012 06:10:25 +0000 (UTC) Received: by obbun3 with SMTP id un3so13835187obb.11 for ; Tue, 22 May 2012 23:10:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:x-gm-message-state; bh=rOckIoKu91naELYlMh9PNNry2Np1obHk61ivt0xQ+aA=; b=MtHt0D20ycKMI4Xal/eas3gPzar33BH/fECqsmdDjw0MWvHvmrUs33bQQyiQxOQYGJ dh/TZxkMfQUwx+ecFf8EpHqg8nR0b502DVfrfW9gdNXWu5+McGSHPnlKHDfxSAtr4BNV 6K6+j1qsvrLXwyz8nD9MUSalZtbPOhw98ddkmoLe62ivQ+NrJGMMP6QUKY5hFuhs4Im+ H7Eto0viyMIuNaiwcZ4aOpGM9nIP0A+bPCCJ+aEwiRXKaTxc+ohuBit3LnpCSlTiaiMS +0IFgPrkuMpty6f8+mxT2fyf6vS2ExCmsFDNyWk6hj/NnKYErT+Dg1mHuAqVj2N9MeBk ki8w== Received: by 10.50.40.193 with SMTP id z1mr11907357igk.0.1337753424222; Tue, 22 May 2012 23:10:24 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.35.72 with SMTP id o8csp419127ibd; Tue, 22 May 2012 23:10:23 -0700 (PDT) Received: by 10.68.212.197 with SMTP id nm5mr6557931pbc.110.1337753421633; Tue, 22 May 2012 23:10:21 -0700 (PDT) Received: from mail-pz0-f50.google.com (mail-pz0-f50.google.com [209.85.210.50]) by mx.google.com with ESMTPS id rq4si750665pbc.299.2012.05.22.23.10.21 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 May 2012 23:10:21 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.210.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.210.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by mail-pz0-f50.google.com with SMTP id h15so11044293dan.37 for ; Tue, 22 May 2012 23:10:21 -0700 (PDT) Received: by 10.68.210.143 with SMTP id mu15mr5983761pbc.0.1337753421262; Tue, 22 May 2012 23:10:21 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id d2sm743018pbw.39.2012.05.22.23.10.18 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 May 2012 23:10:20 -0700 (PDT) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 1/1] ARM: EXYNOS: Update keypad entries for SMDK4X12 Date: Wed, 23 May 2012 11:29:58 +0530 Message-Id: <1337752798-6987-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQlh/evC6JqskA3NCS8TGQDqNOz/X7xoSd+XpUtq8p0Sl++jVsmY1wPmHAlZGoE0CatBY76r Keypad entries are updated as per the latest revision of the board. Signed-off-by: Sachin Kamat --- arch/arm/mach-exynos/mach-smdk4x12.c | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-exynos/mach-smdk4x12.c b/arch/arm/mach-exynos/mach-smdk4x12.c index fe772d8..31b105f 100644 --- a/arch/arm/mach-exynos/mach-smdk4x12.c +++ b/arch/arm/mach-exynos/mach-smdk4x12.c @@ -219,8 +219,10 @@ static struct platform_pwm_backlight_data smdk4x12_bl_data = { static uint32_t smdk4x12_keymap[] __initdata = { /* KEY(row, col, keycode) */ - KEY(1, 0, KEY_D), KEY(1, 1, KEY_A), KEY(1, 2, KEY_B), - KEY(1, 3, KEY_E), KEY(1, 4, KEY_C) + KEY(1, 3, KEY_1), KEY(1, 4, KEY_2), KEY(1, 5, KEY_3), + KEY(1, 6, KEY_4), KEY(1, 7, KEY_5), + KEY(2, 5, KEY_D), KEY(2, 6, KEY_A), KEY(2, 7, KEY_B), + KEY(0, 7, KEY_E), KEY(0, 5, KEY_C) }; static struct matrix_keymap_data smdk4x12_keymap_data __initdata = { @@ -230,8 +232,8 @@ static struct matrix_keymap_data smdk4x12_keymap_data __initdata = { static struct samsung_keypad_platdata smdk4x12_keypad_data __initdata = { .keymap_data = &smdk4x12_keymap_data, - .rows = 2, - .cols = 5, + .rows = 3, + .cols = 8, }; static struct platform_device *smdk4x12_devices[] __initdata = {