tools: gpio: implement gpio-watch

Add a simple program that allows to test the new LINECHANGED_FD ioctl().

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
Bartosz Golaszewski 2019-11-27 10:17:54 +01:00
commit 33f0c47b8f
4 changed files with 111 additions and 1 deletions