From patchwork Thu Aug 26 09:18:56 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: 144321 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 o7V2anBg009290 for ; Tue, 31 Aug 2010 02:37:03 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756810Ab0HaCgS (ORCPT ); Mon, 30 Aug 2010 22:36:18 -0400 Received: from mail-qy0-f174.google.com ([209.85.216.174]:54033 "EHLO mail-qy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756794Ab0HaCgM (ORCPT ); Mon, 30 Aug 2010 22:36:12 -0400 Received: by mail-qy0-f174.google.com with SMTP id 36so188037qyk.19 for ; Mon, 30 Aug 2010 19:36:11 -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=ByOdGDoDwHhJzPYsd+Odlr4iPChhALBrosQrL70/ilZuEgKvFhCIRjposVTbyWWcQ0 bnVSNp4256X6NLrXq0v1yiAhlaEjx5ObYoYotJW162+mr4cS8KVQM/T1Gv8av0dCNvPa 5nmqjr75X2QPbf9m0PZ0E26mwWosIqNnnkcAo= 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=H8nb9a+Gr9xC8vAmyqVTvHkP3eXGlSQHVIga4Q+q3U+DED1BoZgIuLF73uAsHfviDD PyboUfnFxMgijoROOivPG7b3oGQARxd1C/i7CRwKyB25Vs+Tr/G2K2QA4+w+iR5mW4oY gsOn/eoQSWF76L3KIWIRKLqupM3weZJM/DDNQ= Received: by 10.224.104.220 with SMTP id q28mr3454380qao.371.1283222171876; Mon, 30 Aug 2010 19:36:11 -0700 (PDT) Received: from localhost.localdomain (pool-173-48-127-202.bstnma.fios.verizon.net [173.48.127.202]) by mx.google.com with ESMTPS id e6sm9145361qcr.41.2010.08.30.19.36.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 30 Aug 2010 19:36:11 -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 2/5] ARM: pxa168: added keypad support Date: Thu, 26 Aug 2010 05:18:56 -0400 Message-Id: <1282814339-10934-3-git-send-email-mark.brown314@gmail.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1282814339-10934-1-git-send-email-mark.brown314@gmail.com> References: <1282814339-10934-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]); Tue, 31 Aug 2010 02:37:03 +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