gpio: at91: Implement GPIOF_FUNC in get_function()
authorZixun LI <admin@hifiphile.com>
Wed, 13 Nov 2024 10:10:22 +0000 (11:10 +0100)
committerEugen Hristev <eugen.hristev@linaro.org>
Fri, 29 Nov 2024 10:59:27 +0000 (12:59 +0200)
commite4980192b6028a90524ba601bbed65fe662869c1
treed935e6702f6ebfed00b7212083f711c9cc646f2f
parent11da3c67e36551a4cd207abb029fec3560cc4f88
gpio: at91: Implement GPIOF_FUNC in get_function()

This patch adds support for determining whether a gpio pin is mapped as
peripheral function.

Signed-off-by: Zixun LI <admin@hifiphile.com>
drivers/gpio/at91_gpio.c