Skip to content
Snippets Groups Projects
Commit a972b8d7 authored by Mike Frysinger's avatar Mike Frysinger
Browse files

gpio: generalize for all generic gpio providers


The Blackfin gpio command isn't terribly Blackfin-specific.  So generalize
the few pieces into two new optional helpers:
	name_to_gpio() - turn a string name into a GPIO #
	gpio_status() - display current pin bindings (think /proc/gpio)

Once these pieces are pulled out, we can relocate the cmd_gpio.c into the
common directory.

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent c3d2a17c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment