diff options
author | Simon Glass <sjg@chromium.org> | 2014-06-11 23:29:52 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-06-20 11:56:33 -0600 |
commit | 8946034a311f80ca913f99f5c5691983d8b619c6 (patch) | |
tree | aed23f21fb6c44f2646d9c2c66103bc0d41c5855 /include/dt-bindings/interrupt-controller/irq.h | |
parent | 184b1b71751a447007a841f24093572ca4582e9b (diff) | |
download | u-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/interrupt-controller/irq.h')
-rw-r--r-- | include/dt-bindings/interrupt-controller/irq.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/dt-bindings/interrupt-controller/irq.h b/include/dt-bindings/interrupt-controller/irq.h new file mode 100644 index 0000000..33a1003 --- /dev/null +++ b/include/dt-bindings/interrupt-controller/irq.h @@ -0,0 +1,19 @@ +/* + * This header provides constants for most IRQ bindings. + * + * Most IRQ bindings include a flags cell as part of the IRQ specifier. + * In most cases, the format of the flags cell uses the standard values + * defined in this header. + */ + +#ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_IRQ_H +#define _DT_BINDINGS_INTERRUPT_CONTROLLER_IRQ_H + +#define IRQ_TYPE_NONE 0 +#define IRQ_TYPE_EDGE_RISING 1 +#define IRQ_TYPE_EDGE_FALLING 2 +#define IRQ_TYPE_EDGE_BOTH (IRQ_TYPE_EDGE_FALLING | IRQ_TYPE_EDGE_RISING) +#define IRQ_TYPE_LEVEL_HIGH 4 +#define IRQ_TYPE_LEVEL_LOW 8 + +#endif |