summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpiolib.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-02-14 08:45:22 +0100
committerLinus Walleij <linus.walleij@linaro.org>2019-02-14 08:45:22 +0100
commit92de6bc3a82df2e745c46155e8334659f871ea6f (patch)
tree7f447f88a325a52517317124cc0f8d4d391eebb7 /drivers/gpio/gpiolib.h
parent5340f23df8fe27a270af3fa1a93cd07293d23dd9 (diff)
parent15add06841a3b0b4734a72847a73c71fd09ebe52 (diff)
Merge branch 'ib-pca953x-config' into devel
Diffstat (limited to 'drivers/gpio/gpiolib.h')
-rw-r--r--drivers/gpio/gpiolib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpio/gpiolib.h b/drivers/gpio/gpiolib.h
index bc57f0dc5953..078ab17b96bf 100644
--- a/drivers/gpio/gpiolib.h
+++ b/drivers/gpio/gpiolib.h
@@ -219,6 +219,8 @@ struct gpio_desc {
#define FLAG_IRQ_IS_ENABLED 10 /* GPIO is connected to an enabled IRQ */
#define FLAG_IS_HOGGED 11 /* GPIO is hogged */
#define FLAG_TRANSITORY 12 /* GPIO may lose value in sleep or reset */
+#define FLAG_PULL_UP 13 /* GPIO has pull up enabled */
+#define FLAG_PULL_DOWN 14 /* GPIO has pull down enabled */
/* Connection label */
const char *label;