]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm64: a37xx: pinctrl: Implement gpio_request_enable for gpio functionality
authorPali Rohár <pali@kernel.org>
Mon, 25 Jul 2022 12:09:02 +0000 (14:09 +0200)
committerStefan Roese <sr@denx.de>
Fri, 29 Jul 2022 08:02:43 +0000 (10:02 +0200)
commit140ebcdb9a760a9ffb59cd9587bdf2ec82aa11fc
treeded15f8e98dfe94beac0758846001609bd25498f
parent3d98071dbb1a204aaff5004b409abd4f7deb45e8
arm64: a37xx: pinctrl: Implement gpio_request_enable for gpio functionality

To automatically enable GPIO functionality of some MPP pin, it is required
to implement .gpio_request_enable and .gpio_disable_free callbacks in
pinctrl driver and set .request and .rfree callbacks in GPIO driver to
pinctrl_gpio_request / pinctrl_gpio_free functions.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c