]> git.sur5r.net Git - u-boot/commit
dm: gpio: Add gpio_get_function() and friends
authorSimon Glass <sjg@chromium.org>
Sat, 4 Oct 2014 17:29:43 +0000 (11:29 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 24 Oct 2014 01:29:52 +0000 (19:29 -0600)
commit6449a506d67b0374bf23a3833f15afa0c92a7a0e
tree73106b68362473dad809e2f54a97e7f3b6b3efa0
parentb892d127ffd448e8adf21e9703c0c5107e2a7814
dm: gpio: Add gpio_get_function() and friends

Add helpers to the uclass to allow finding out the pin function.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/gpio/gpio-uclass.c
include/asm-generic/gpio.h