summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorDrew Fustini <drew@pdp7.com>2019-09-21 12:25:23 +0200
committerLinus Walleij <linus.walleij@linaro.org>2019-10-05 18:59:14 +0200
commit8c550e94b8835170593169a45b5ba30d3fc72a70 (patch)
treea58d4be1e471377362f15562a8146a5b76cd94c5 /init
parent2a36550567307b881ce570a81189682ae1c9d08d (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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions