summaryrefslogtreecommitdiff
path: root/include/dt-bindings/gpio/gpio.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-06-11 23:29:52 -0600
committerSimon Glass <sjg@chromium.org>2014-06-20 11:56:33 -0600
commit8946034a311f80ca913f99f5c5691983d8b619c6 (patch)
treeaed23f21fb6c44f2646d9c2c66103bc0d41c5855 /include/dt-bindings/gpio/gpio.h
parent184b1b71751a447007a841f24093572ca4582e9b (diff)
downloadu-boot-imx-8946034a311f80ca913f99f5c5691983d8b619c6.zip
u-boot-imx-8946034a311f80ca913f99f5c5691983d8b619c6.tar.gz
u-boot-imx-8946034a311f80ca913f99f5c5691983d8b619c6.tar.bz2
tegra: dts: Bring in GPIO bindings from linux
These files are taken from Linux 3.14. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'include/dt-bindings/gpio/gpio.h')
-rw-r--r--include/dt-bindings/gpio/gpio.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/dt-bindings/gpio/gpio.h b/include/dt-bindings/gpio/gpio.h
new file mode 100644
index 0000000..e6b1e0a
--- /dev/null
+++ b/include/dt-bindings/gpio/gpio.h
@@ -0,0 +1,15 @@
+/*
+ * This header provides constants for most GPIO bindings.
+ *
+ * Most GPIO bindings include a flags cell as part of the GPIO specifier.
+ * In most cases, the format of the flags cell uses the standard values
+ * defined in this header.
+ */
+
+#ifndef _DT_BINDINGS_GPIO_GPIO_H
+#define _DT_BINDINGS_GPIO_GPIO_H
+
+#define GPIO_ACTIVE_HIGH 0
+#define GPIO_ACTIVE_LOW 1
+
+#endif