projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26d060e
)
tools: gpio: add support for reporting realtime event clock to lsgpio
author
Kent Gibson
<warthog618@gmail.com>
Wed, 14 Oct 2020 23:11:57 +0000
(07:11 +0800)
committer
Linus Walleij
<linus.walleij@linaro.org>
Sat, 5 Dec 2020 22:22:47 +0000
(23:22 +0100)
Add support for reporting if a line is configured to report realtime
timestamps in events.
Signed-off-by: Kent Gibson <warthog618@gmail.com>
Link:
https://lore.kernel.org/r/20201014231158.34117-3-warthog618@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
tools/gpio/lsgpio.c
patch
|
blob
|
history
diff --git
a/tools/gpio/lsgpio.c
b/tools/gpio/lsgpio.c
index 5a05a454d0c9793e10a218fcf380261f8ccb3462..c61d061247e1773ae2b81eaae21a899976184607 100644
(file)
--- a/
tools/gpio/lsgpio.c
+++ b/
tools/gpio/lsgpio.c
@@
-65,6
+65,10
@@
struct gpio_flag flagnames[] = {
.name = "bias-disabled",
.mask = GPIO_V2_LINE_FLAG_BIAS_DISABLED,
},
+ {
+ .name = "clock-realtime",
+ .mask = GPIO_V2_LINE_FLAG_EVENT_CLOCK_REALTIME,
+ },
};
static void print_attributes(struct gpio_v2_line_info *info)