summaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa/include/mach/mfp-pxa27x.h
diff options
context:
space:
mode:
authorPaul Parsons <lost.distance@yahoo.com>2012-05-12 12:31:02 +0100
committerHaojian Zhuang <haojian.zhuang@gmail.com>2012-05-14 09:38:17 +0800
commitb2596c682814b39f0dd16e19e3be8fc8581643bd (patch)
treeefdc0bd71df73aa53f1e2c8fde2876c50df83d44 /arch/arm/mach-pxa/include/mach/mfp-pxa27x.h
parent0bf189abc52b89bfcfa9782543de7f5e90263fe5 (diff)
ARM: pxa: hx4700: Add Synaptics NavPoint touchpad
This patch adds the Synaptics NavPoint touchpad to the hx4700 platform: 1. Change GPIO23_SSP1_SCLK value in hx4700_pin_config[] from an output to an input, since the NavPoint is connected to SSP in SPI slave mode. 2. Add GPIO102_GPIO (NavPoint power) to hx4700_pin_config[]. 3. Add navpoint platform_device to devices[]. Signed-off-by: Paul Parsons <lost.distance@yahoo.com> Cc: Philipp Zabel <philipp.zabel@gmail.com> Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/include/mach/mfp-pxa27x.h')
-rw-r--r--arch/arm/mach-pxa/include/mach/mfp-pxa27x.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/include/mach/mfp-pxa27x.h b/arch/arm/mach-pxa/include/mach/mfp-pxa27x.h
index a65867209aa0..a611ad3153c7 100644
--- a/arch/arm/mach-pxa/include/mach/mfp-pxa27x.h
+++ b/arch/arm/mach-pxa/include/mach/mfp-pxa27x.h
@@ -208,6 +208,7 @@
#define GPIO113_I2S_SYSCLK MFP_CFG_OUT(GPIO113, AF1, DRIVE_LOW)
/* SSP 1 */
+#define GPIO23_SSP1_SCLK_IN MFP_CFG_IN(GPIO23, AF2)
#define GPIO23_SSP1_SCLK MFP_CFG_OUT(GPIO23, AF2, DRIVE_LOW)
#define GPIO29_SSP1_SCLK MFP_CFG_IN(GPIO29, AF3)
#define GPIO27_SSP1_SYSCLK MFP_CFG_OUT(GPIO27, AF1, DRIVE_LOW)