From 92e345b74262fec2c986a67c6b878d1c32f8995f Mon Sep 17 00:00:00 2001 From: Stephen Warren Date: Tue, 12 Feb 2013 17:22:36 -0700 Subject: [PATCH] --- yaml --- r: 370447 b: refs/heads/master c: 71fab21fee07fd6d5f1a984db387cc5e4596f3fa h: refs/heads/master i: 370445: ecb9c32d7c7cc717688dd01802b6108f5d418d76 370443: 093f3269b323126ffc991ef5ec3fd87acbefb25f 370439: 2b146fdeb9b0fa01116fd11b031a8ee647e781be 370431: 65f9c17465b7bc5f169c78350aebf0fafa343939 v: v3 --- [refs] | 2 +- trunk/include/dt-bindings/gpio/gpio.h | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 trunk/include/dt-bindings/gpio/gpio.h diff --git a/[refs] b/[refs] index f6aebc86c748..922fddf39fa8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b40b25fff8205dd18124d8fc87b2c9c57f269b5f +refs/heads/master: 71fab21fee07fd6d5f1a984db387cc5e4596f3fa diff --git a/trunk/include/dt-bindings/gpio/gpio.h b/trunk/include/dt-bindings/gpio/gpio.h new file mode 100644 index 000000000000..e6b1e0a808ae --- /dev/null +++ b/trunk/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