]> nv-tegra.nvidia Code Review - linux-3.10.git/blobdiff - include/linux/gpio.h
Merge tag 'gpio-for-linus' of git://git.secretlab.ca/git/linux-2.6
[linux-3.10.git] / include / linux / gpio.h
index ed5a46707ad0d0cd229e36920aa510b4d79fb279..6155ecf192b0466f02ea616b5b8d8ef9fd5fc2f5 100644 (file)
 #define GPIOF_OUT_INIT_LOW     (GPIOF_DIR_OUT | GPIOF_INIT_LOW)
 #define GPIOF_OUT_INIT_HIGH    (GPIOF_DIR_OUT | GPIOF_INIT_HIGH)
 
+/* Gpio pin is open drain */
+#define GPIOF_OPEN_DRAIN       (1 << 2)
+
+/* Gpio pin is open source */
+#define GPIOF_OPEN_SOURCE      (1 << 3)
+
 /**
  * struct gpio - a structure describing a GPIO with configuration
  * @gpio:      the GPIO number