From patchwork Fri Sep 3 22:28:07 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Mark F. Brown" X-Patchwork-Id: 155131 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 o83MUEX7007979 for ; Fri, 3 Sep 2010 22:30:14 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753985Ab0ICW3b (ORCPT ); Fri, 3 Sep 2010 18:29:31 -0400 Received: from mail-qw0-f46.google.com ([209.85.216.46]:37616 "EHLO mail-qw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752481Ab0ICW3L (ORCPT ); Fri, 3 Sep 2010 18:29:11 -0400 Received: by mail-qw0-f46.google.com with SMTP id 6so2253405qwh.19 for ; Fri, 03 Sep 2010 15:29:10 -0700 (PDT) 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:in-reply-to:references; bh=0A/Q3p5+5VU0MTlS4GgEfmfq7GWqvbt3nnZhub5rSEI=; b=opJ2WIVmkynGPOcouHEI7NbfTVyktADRhMQUKySiyBaCe6KU9WKfRyILLqtFA0a8pb zsA5RpWSXTbi4Dw3uEiywuJc1Tpb8ZWQugWmdEak7dedBxTYEDsMYqhJG96jqs/+jAyH XF50w2jg4WYj16JKLy6jRWYphC/qDMxl7pto4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=logJNLKeJsf++QoAZjElLDd87gnN9+LJw3dCgU4m/R15fbeXaMav+BbDYIH1aDa6/j oSE7PMDsgAMk0a6DpIjKz1H+OpS2JMx4179caA+WqhS/2t3fxRjDWqkI0xOH5F8uxBIv v6Sri3Uh9Acc9OrNp1RfIY/nSuiL8YPd7RH8o= Received: by 10.229.89.75 with SMTP id d11mr1274656qcm.32.1283552950840; Fri, 03 Sep 2010 15:29:10 -0700 (PDT) Received: from localhost.localdomain (pool-173-48-128-43.bstnma.fios.verizon.net [173.48.128.43]) by mx.google.com with ESMTPS id l13sm2505227qck.19.2010.09.03.15.29.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 03 Sep 2010 15:29:10 -0700 (PDT) From: "Mark F. Brown" To: Eric Miao , Haojian Zhuang , "Mark F. Brown" , linux-arm-kernel , linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Cc: "Mark F. Brown" Subject: [PATCH v2 2/6 RESEND] ARM: pxa168: added keypad support Date: Fri, 3 Sep 2010 18:28:07 -0400 Message-Id: <1283552891-13966-3-git-send-email-mark.brown314@gmail.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1283552891-13966-1-git-send-email-mark.brown314@gmail.com> References: <1283552891-13966-1-git-send-email-mark.brown314@gmail.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]); Fri, 03 Sep 2010 22:30:14 +0000 (UTC) diff --git a/arch/arm/mach-mmp/include/mach/mfp-pxa168.h b/arch/arm/mach-mmp/include/mach/mfp-pxa168.h index ded43c4..4621067 100644 --- a/arch/arm/mach-mmp/include/mach/mfp-pxa168.h +++ b/arch/arm/mach-mmp/include/mach/mfp-pxa168.h @@ -289,4 +289,11 @@ #define GPIO86_PWM1_OUT MFP_CFG(GPIO86, AF2) #define GPIO86_PWM2_OUT MFP_CFG(GPIO86, AF3) +/* Keypad */ +#define GPIO109_KP_MKIN1 MFP_CFG(GPIO109, AF7) +#define GPIO110_KP_MKIN0 MFP_CFG(GPIO110, AF7) +#define GPIO111_KP_MKOUT7 MFP_CFG(GPIO111, AF7) +#define GPIO112_KP_MKOUT6 MFP_CFG(GPIO112, AF7) +#define GPIO121_KP_MKIN4 MFP_CFG(GPIO121, AF7) + #endif /* __ASM_MACH_MFP_PXA168_H */ diff --git a/arch/arm/mach-mmp/include/mach/pxa168.h b/arch/arm/mach-mmp/include/mach/pxa168.h index 220738f..f34e663 100644 --- a/arch/arm/mach-mmp/include/mach/pxa168.h +++ b/arch/arm/mach-mmp/include/mach/pxa168.h @@ -11,6 +11,7 @@ extern void __init pxa168_init_irq(void); #include #include #include