diff options
author | 2020-05-09 00:33:32 +0200 | |
---|---|---|
committer | 2020-05-09 00:33:32 +0200 | |
commit | 29f9f8e1fc93d7fd78d16c9b09fbc2b5c41d6959 (patch) | |
tree | feb1ca8ca63732927eb9f34f4ef750d026734923 /tools | |
parent | gpio: Make "offset" and "unsigned int", not just "unsigned" (diff) | |
parent | tools: gpio: add bias flags to lsgpio (diff) | |
download | linux-dev-29f9f8e1fc93d7fd78d16c9b09fbc2b5c41d6959.tar.xz linux-dev-29f9f8e1fc93d7fd78d16c9b09fbc2b5c41d6959.zip |
Merge tag 'gpio-updates-for-v5.8-part1' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux into devel
gpio updates for v5.8-rc1 - part1
- correct the IRQ type used in to_irq() in gpio-xgene-sb
- add new item to the TODO list
- support building gpio-pl061 as module
- improve pull-up/down support on GPIO expanders in device-tree
- several improvements in gpio-pca953x
- emit a warning for too long GPIO line names
- add MODULE_DEVICE_TABLE to gpio-tegra186
- add support for new variant to gpio-f7188x
- lsgpio can now display bias flags
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gpio/lsgpio.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/gpio/lsgpio.c b/tools/gpio/lsgpio.c index e1430f504c13..8a71ad36f83b 100644 --- a/tools/gpio/lsgpio.c +++ b/tools/gpio/lsgpio.c @@ -49,6 +49,18 @@ struct gpio_flag flagnames[] = { .name = "open-source", .mask = GPIOLINE_FLAG_OPEN_SOURCE, }, + { + .name = "pull-up", + .mask = GPIOLINE_FLAG_BIAS_PULL_UP, + }, + { + .name = "pull-down", + .mask = GPIOLINE_FLAG_BIAS_PULL_DOWN, + }, + { + .name = "bias-disabled", + .mask = GPIOLINE_FLAG_BIAS_DISABLE, + }, }; void print_flags(unsigned long flags) |