commit | 8c550e94b8835170593169a45b5ba30d3fc72a70 | [log] [tgz] |
---|---|---|
author | Drew Fustini <drew@pdp7.com> | Sat Sep 21 12:25:23 2019 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Sat Oct 05 18:59:14 2019 +0200 |
tree | a58d4be1e471377362f15562a8146a5b76cd94c5 | |
parent | 2a36550567307b881ce570a81189682ae1c9d08d [diff] |
gpio: expose pull-up/pull-down line flags to userspace Add pull-up/pull-down flags to the gpio line get and set ioctl() calls. Use cases include a push button that does not have an external resistor. Addition use cases described by Limor Fried (ladyada) of Adafruit in this PR for Adafruit_Blinka Python lib: https://github.com/adafruit/Adafruit_Blinka/pull/59 Signed-off-by: Drew Fustini <drew@pdp7.com> Link: https://lore.kernel.org/r/20190921102522.8970-1-drew@pdp7.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>