commit | e1acec0e750012edb2a2122b397a40f783c2aa1e | [log] [tgz] |
---|---|---|
author | Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> | Fri Oct 14 10:48:25 2016 +0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Oct 24 16:33:11 2016 +0200 |
tree | 5711139a2c8ac806edac04863d7f3e20df9facc3 | |
parent | 26a48c4cc2f15d516513e4a980a8a63a21aff018 [diff] |
tools/gpio: add gpio basic opereations Add basic gpio operations. User could get/set gpio value for specific line of gpiochip. Reference "tools/gpio/gpio-hammer.c" or "tools/testing/selftest/gpio/gpio-mockup-chardev.c" for how to use it. Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> Reviewed-by: Michael Welling <mwelling@ieee.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>