]> git.baikalelectronics.ru Git - uboot.git/commit
gpio: mvebu_gpio: Add .request and .rfree methods for Armada 38x
authorPali Rohár <pali@kernel.org>
Mon, 25 Jul 2022 11:56:12 +0000 (13:56 +0200)
committerStefan Roese <sr@denx.de>
Thu, 28 Jul 2022 13:17:45 +0000 (15:17 +0200)
commit044fbe9d117c253e9508f20571ef0a0e5736552b
tree9e5f78c66bff521cb80f74ef2aa27602a9fed40b
parentd979b46f588d8c3fdb240e95caca373ab444a984
gpio: mvebu_gpio: Add .request and .rfree methods for Armada 38x

To use particular pin GPIO, it needs to be first switched to GPIO by
pinctrl. Use pinctrl_gpio_request() and pinctrl_gpio_free() for this
purpose.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/gpio/mvebu_gpio.c