]> git.ipfire.org Git - thirdparty/u-boot.git/commit
gpio: tegra_gpio: convert to use set_flags
authorLukasz Majewski <lukma@nabladev.com>
Fri, 3 Oct 2025 17:44:14 +0000 (20:44 +0300)
committerSvyatoslav Ryhel <clamor95@gmail.com>
Tue, 28 Oct 2025 09:27:44 +0000 (11:27 +0200)
commit200549b09614e3cb17214e652aeb191902b8b303
tree6443a4885eeb7a3e1f1a2932c88d204837ef1daf
parent1530cfe09a2c24abbbcc665c59a2f1acf4aeb054
gpio: tegra_gpio: convert to use set_flags

Convert to use set_flags operation.

For now following flags are supported:
- GPIOD_IS_AF (i.e. "alternate function").
- GPIOD_IS_IN
- GPIOD_IS_OUT

Tested-by: Ɓukasz Majewski <lukma@nabladev.com> # Colibri T30
Signed-off-by: Lukasz Majewski <lukma@nabladev.com>
Reviewed-by: Svyatoslav Ryhel <clamor95@gmail.com>
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
drivers/gpio/tegra_gpio.c