Skip to content

Commit

Permalink
dt-bindings: gpio: add pull-disable flag
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nuno Sá authored and Bartosz Golaszewski committed Jul 19, 2022
1 parent 6fd03f0 commit d042656
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/dt-bindings/gpio/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d042656

Please sign in to comment.