diff mbox series

[4/4] dt-bindings: gpio: add pull-disable flag

Message ID 20220713131421.1527179-5-nuno.sa@analog.com
State New
Headers show
Series add support for bias pull-disable | expand

Commit Message

Nuno Sa July 13, 2022, 1:14 p.m. UTC
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>
---
 include/dt-bindings/gpio/gpio.h | 3 +++
 1 file changed, 3 insertions(+)

Comments

Linus Walleij July 18, 2022, 10:33 a.m. UTC | #1
On Wed, Jul 13, 2022 at 3:13 PM Nuno Sá <nuno.sa@analog.com> wrote:

> 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>

Yours,
Linus Walleij
Rob Herring (Arm) July 18, 2022, 8:52 p.m. UTC | #2
On Wed, 13 Jul 2022 15:14:21 +0200, Nuno Sá wrote:
> 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>
> ---
>  include/dt-bindings/gpio/gpio.h | 3 +++
>  1 file changed, 3 insertions(+)
> 

Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

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