]> git.dujemihanovic.xyz Git - u-boot.git/commit
bcm2835_gpio: Implement GPIOF_FUNC
authorAlexander Graf <agraf@suse.de>
Thu, 11 Aug 2016 11:38:31 +0000 (13:38 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 6 Sep 2016 17:18:18 +0000 (13:18 -0400)
commit04a993fe116604b8c81fb116857dbc78e2500133
treebce93b862151497867391cca54ff1ff062ff2a26
parentc0afcb588979e554fd28adeefa6810abb04cf108
bcm2835_gpio: Implement GPIOF_FUNC

So far we could only tell the gpio framework that a GPIO was mapped as input or
output, not as alternative function.

This patch adds support for determining whether a function is mapped as
alternative.

Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
arch/arm/mach-bcm283x/include/mach/gpio.h
drivers/gpio/bcm2835_gpio.c