[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201014231158.34117-1-warthog618@gmail.com>
Date: Thu, 15 Oct 2020 07:11:55 +0800
From: Kent Gibson <warthog618@...il.com>
To: linux-kernel@...r.kernel.org, linux-gpio@...r.kernel.org,
bgolaszewski@...libre.com, linus.walleij@...aro.org
Cc: Kent Gibson <warthog618@...il.com>
Subject: [PATCH v2 0/3] gpiolib: cdev: allow edge event timestamps to be configured as REALTIME
This patch set adds the option to select CLOCK_REALTIME as the source
clock for line events.
The first patch is the core of the change, while the remaining two update
the GPIO tools to make use of the new option.
Changes for v2:
- change line_event_timestamp() return to u64 to avoid clipping to 32bits
on 32bit platforms.
- fix the line spacing after line_event_timestamp()
Kent Gibson (3):
gpiolib: cdev: allow edge event timestamps to be configured as
REALTIME
tools: gpio: add support for reporting realtime event clock to lsgpio
tools: gpio: add option to report wall-clock time to gpio-event-mon
drivers/gpio/gpiolib-cdev.c | 21 ++++++++++++++++++---
drivers/gpio/gpiolib.h | 1 +
include/uapi/linux/gpio.h | 12 +++++++++---
tools/gpio/gpio-event-mon.c | 6 +++++-
tools/gpio/lsgpio.c | 4 ++++
5 files changed, 37 insertions(+), 7 deletions(-)
--
2.28.0
Powered by blists - more mailing lists