commit | 9202ba2397d1ded79078606c6921787b27a85e1a | [log] [tgz] |
---|---|---|
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | Mon Feb 06 15:11:08 2017 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Feb 13 08:36:47 2017 +0100 |
tree | 115edbc3555de0a2f383e13642adafa2f884541f | |
parent | e2ff7408953f6fe8a341b31ed2d848f73606bbf4 [diff] |
gpio: mockup: implement event injecting over debugfs Create a debugfs directory for every mockup chip and a single file for every line. Writing (0 or 1) to these files allows the user to inject line events (falling or rising edge respectively). Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>