aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mmp/include/mach/mfp-pxa168.h
diff options
context:
space:
mode:
authorMark F. Brown <mark.brown314@gmail.com>2010-09-03 18:28:07 -0400
committerEric Miao <eric.y.miao@gmail.com>2010-10-09 17:07:17 +0800
commit6d109465fb751fe4376c080e5fb10838d3414c28 (patch)
tree95149a8ec520557ec3f8c919c6a9030f7450f9f3 /arch/arm/mach-mmp/include/mach/mfp-pxa168.h
parentARM: pxa: moved pxa27x_keypad.h to platform pxa directory (diff)
downloadlinux-dev-6d109465fb751fe4376c080e5fb10838d3414c28.tar.xz
linux-dev-6d109465fb751fe4376c080e5fb10838d3414c28.zip
ARM: pxa168: added keypad support
Signed-off-by: Mark F. Brown <mark.brown314@gmail.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-mmp/include/mach/mfp-pxa168.h')
-rw-r--r--arch/arm/mach-mmp/include/mach/mfp-pxa168.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/include/mach/mfp-pxa168.h b/arch/arm/mach-mmp/include/mach/mfp-pxa168.h
index ded43c455ec3..4621067c7720 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 */