From: Jan Kiszka Subject: [PATCH 0/2] Allow GPIO timestamps also via real-time clock Date: Mon, 16 Aug 2021 12:18:50 +0200 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org As discussed, we need to add a separate control to manage whether the monotonic or the real-time clock should be used for GPIO timestamping. Patch 1 adds this, keeping the default to monotonic. This can be added to 3.1.x stable as well. Patch 2 aligns the default to the rest of Xenomai, using real-time from now on. That's 3.2 material. Jan Jan Kiszka (2): drivers/gpio: Add support for selecting real-time clock timestamps drivers/gpio: Flip default for GPIO_RTIOC_TS to real-time clock include/cobalt/kernel/rtdm/gpio.h | 1 + include/rtdm/uapi/gpio.h | 4 +++- kernel/drivers/gpio/gpio-core.c | 14 +++++++++++--- 3 files changed, 15 insertions(+), 4 deletions(-) -- 2.31.1