summaryrefslogtreecommitdiff
path: root/include/dt-bindings/gpio
diff options
context:
space:
mode:
authorNuno Sá <nuno.sa@analog.com>2022-07-13 15:14:21 +0200
committerBartosz Golaszewski <brgl@bgdev.pl>2022-07-19 10:24:17 +0200
commitd042656a2170ce1b0d1a72d81a99bc93f0170358 (patch)
treed8413c4baef7e105954416edc631fb957da8204e /include/dt-bindings/gpio
parent6fd03f0248281b690e168a5a5c22cb3c98b96326 (diff)
dt-bindings: gpio: add pull-disable flag
This extends the flags that can be used in GPIO specifiers to indicate that no bias is intended in the pin. Signed-off-by: Nuno Sá <nuno.sa@analog.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'include/dt-bindings/gpio')
-rw-r--r--include/dt-bindings/gpio/gpio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dt-bindings/gpio/gpio.h b/include/dt-bindings/gpio/gpio.h
index c029467e828b..5566e58196a2 100644
--- a/include/dt-bindings/gpio/gpio.h
+++ b/include/dt-bindings/gpio/gpio.h
@@ -39,4 +39,7 @@
/* Bit 5 express pull down */
#define GPIO_PULL_DOWN 32
+/* Bit 6 express pull disable */
+#define GPIO_PULL_DISABLE 64
+
#endif