summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-ks8695
diff options
context:
space:
mode:
authorAndrew Victor <andrew@sanpeople.com>2007-10-15 14:27:41 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-01-26 14:38:48 +0000
commit20118ff97823822bf4d52ccb528ce2b5042c3057 (patch)
treeacb975d7b95373cd82e5ba0903926c032d895454 /include/asm-arm/arch-ks8695
parent7d77ce8f67358c6b7708726f8fa230cd58d75b2c (diff)
downloadlinux-rt-20118ff97823822bf4d52ccb528ce2b5042c3057.tar.gz
[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 @@
#define IOPC_TM_FALLING (4) /* Falling Edge Detection */
#define IOPC_TM_EDGE (6) /* Both Edge Detection */
+/* Port Data Register */
+#define IOPD_(x) (1 << (x)) /* Signal Level of GPIO Pin x */
#endif