diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2015-10-21 13:45:54 (GMT) |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-02-09 10:09:48 (GMT) |
commit | 6d591c46bce037696d173bd5c8461b2b4bb680ad (patch) | |
tree | 5b7d5e0004de27d1451f38e3e1ddf99837e5d615 /tools/gpio/gpio-utils.c | |
parent | 3c702e9987e261042a07e43460a8148be254412e (diff) | |
download | linux-6d591c46bce037696d173bd5c8461b2b4bb680ad.tar.xz |
tools/gpio: create GPIO tools
This creates GPIO tools under tools/gpio/* and adds a single
example program to list the GPIOs on a system. When proper
devices are created it provides this minimal output:
Cc: Johan Hovold <johan@kernel.org>
Cc: Michael Welling <mwelling@ieee.org>
Cc: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/gpio/gpio-utils.c')
-rw-r--r-- | tools/gpio/gpio-utils.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/gpio/gpio-utils.c b/tools/gpio/gpio-utils.c new file mode 100644 index 0000000..8208718 --- /dev/null +++ b/tools/gpio/gpio-utils.c @@ -0,0 +1,11 @@ +/* + * GPIO tools - helpers library for the GPIO tools + * + * Copyright (C) 2015 Linus Walleij + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 as published by + * the Free Software Foundation. + */ + +#include "gpio-utils.h" |