diff options
author | Drew Fustini <drew@pdp7.com> | 2019-11-05 10:04:23 +0800 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-11-12 16:30:30 +0100 |
commit | 9225d5169d110734099a82c39c073a11e399cb3f (patch) | |
tree | ce801bf8c51d4dc21533dca65d8c2f8d87562a2a /scripts/checksyscalls.sh | |
parent | f932a68695e4c7d92e721d2c23580d9f35494662 (diff) | |
download | linux-stable-9225d5169d110734099a82c39c073a11e399cb3f.tar.gz linux-stable-9225d5169d110734099a82c39c073a11e399cb3f.tar.bz2 linux-stable-9225d5169d110734099a82c39c073a11e399cb3f.zip |
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>
[Kent: added BIAS to GPIO flag names and restrict application to input
lines]
Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'scripts/checksyscalls.sh')
0 files changed, 0 insertions, 0 deletions