]> git.baikalelectronics.ru Git - uboot.git/commit
gpio: sunxi: Implement .set_flags
authorSamuel Holland <samuel@sholland.org>
Thu, 21 Oct 2021 04:52:56 +0000 (23:52 -0500)
committerAndre Przywara <andre.przywara@arm.com>
Sun, 30 Jan 2022 01:25:00 +0000 (01:25 +0000)
commitc454ac9b93fcbc263de06c7ec7b05abefe3a21f7
treea95ce5a1520ef9617c2db1de179b2e71d314c440
parent2c90f340e25e04ad352673d0810fbcfeaae03a68
gpio: sunxi: Implement .set_flags

This, along with gpio_flags_xlate(), allows the GPIO driver to handle
pull-up/down flags provided by consumer drivers or in the device tree.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
drivers/gpio/sunxi_gpio.c