aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-ks8695
diff options
context:
space:
mode:
authorAndrew Victor <andrew@sanpeople.com>2007-10-15 09:27:41 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-01-26 09:38:48 -0500
commit20118ff97823822bf4d52ccb528ce2b5042c3057 (patch)
treeacb975d7b95373cd82e5ba0903926c032d895454 /include/asm-arm/arch-ks8695
parent7d77ce8f67358c6b7708726f8fa230cd58d75b2c (diff)
[ARM] 4603/1: KS8695: debugfs interface to view pin state
This patch adds a debug interface (if CONFIG_DEBUG_FS is selected) to display the basic configuration and current state of the GPIO pins on the Kendin/Micrel KS8695 processor. Signed-off-by: Andrew Victor <andrew@sanpeople.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-ks8695')
-rw-r--r--include/asm-arm/arch-ks8695/regs-gpio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-arm/arch-ks8695/regs-gpio.h b/include/asm-arm/arch-ks8695/regs-gpio.h
index 57fcf9fc82e4..6b95d77aea19 100644
--- a/include/asm-arm/arch-ks8695/regs-gpio.h
+++ b/include/asm-arm/arch-ks8695/regs-gpio.h
@@ -49,5 +49,7 @@
49#define IOPC_TM_FALLING (4) /* Falling Edge Detection */ 49#define IOPC_TM_FALLING (4) /* Falling Edge Detection */
50#define IOPC_TM_EDGE (6) /* Both Edge Detection */ 50#define IOPC_TM_EDGE (6) /* Both Edge Detection */
51 51
52/* Port Data Register */
53#define IOPD_(x) (1 << (x)) /* Signal Level of GPIO Pin x */
52 54
53#endif 55#endif