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