提交 da777be6 编写于 作者: K Kent Gibson 提交者: Linus Walleij

tools: gpio: add support for reporting realtime event clock to lsgpio

Add support for reporting if a line is configured to report realtime
timestamps in events.
Signed-off-by: NKent Gibson <warthog618@gmail.com>
Link: https://lore.kernel.org/r/20201014231158.34117-3-warthog618@gmail.comSigned-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 26d060e4
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册