]> git.sur5r.net Git - u-boot/commit
dm: gpio: Add dm_gpio_request() to manually request a GPIO
authorSimon Glass <sjg@chromium.org>
Tue, 23 Jun 2015 21:38:41 +0000 (15:38 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Jul 2015 23:39:23 +0000 (17:39 -0600)
commitefa677fb481aec0888d3d37803643219d4ea57d1
tree1b84001c3eab9eff32b5c3a5d242eab08ff84493
parent32ec159844d7b76f199b07412dd054ad842bdd58
dm: gpio: Add dm_gpio_request() to manually request a GPIO

This function can be used for testing to manually request a GPIO for use,
without resorting to the legacy GPIO API.

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