gpiolib: of: support bias pull disable
authorNuno Sá <nuno.sa@analog.com>
Wed, 13 Jul 2022 13:14:19 +0000 (15:14 +0200)
committerBartosz Golaszewski <brgl@bgdev.pl>
Tue, 19 Jul 2022 08:24:01 +0000 (10:24 +0200)
commit31bea23119cda87088c6bd4085a1e442c6c5974c
treee9da025ccb05f02898510e6607fad107811b14d9
parentc269df8c5ad316eac47a9078e7a2339e1956637a
gpiolib: of: support bias pull disable

On top of looking at PULL_UP and PULL_DOWN flags, also look at
PULL_DISABLE and set the appropriate GPIO flag. The GPIO core will then
pass down this to controllers that support it.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
drivers/gpio/gpiolib-of.c
include/linux/of_gpio.h