Message ID | 20220713131421.1527179-5-nuno.sa@analog.com |
---|---|
State | New |
Headers | show |
Series | add support for bias pull-disable | expand |
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
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 --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
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(+)