]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm/arch-ks8695/regs-gpio.h
[ARM] 4603/1: KS8695: debugfs interface to view pin state
[linux-2.6-omap-h63xx.git] / include / asm-arm / arch-ks8695 / regs-gpio.h
index 57fcf9fc82e40cfadfe7e9d4994d1dba45b6b6a8..6b95d77aea190e89c233f604461bf945cddc5dfa 100644 (file)
@@ -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