[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220203135727.2374052-2-o.rempel@pengutronix.de>
Date: Thu, 3 Feb 2022 14:57:26 +0100
From: Oleksij Rempel <o.rempel@...gutronix.de>
To: William Breathitt Gray <vilhelm.gray@...il.com>
Cc: Oleksij Rempel <o.rempel@...gutronix.de>,
linux-kernel@...r.kernel.org,
Pengutronix Kernel Team <kernel@...gutronix.de>,
David Jander <david@...tonic.nl>,
Robin van der Gracht <robin@...tonic.nl>,
linux-iio@...r.kernel.org, Jonathan Cameron <jic23@...nel.org>
Subject: [PATCH v2 1/2] counter: add new COUNTER_EVENT_CHANGE_OF_STATE
Add new counter event to notify user space about every new counter
pulse.
Signed-off-by: Oleksij Rempel <o.rempel@...gutronix.de>
---
include/uapi/linux/counter.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/uapi/linux/counter.h b/include/uapi/linux/counter.h
index d0aa95aeff7b..96c5ffd368ad 100644
--- a/include/uapi/linux/counter.h
+++ b/include/uapi/linux/counter.h
@@ -61,6 +61,8 @@ enum counter_event_type {
COUNTER_EVENT_THRESHOLD,
/* Index signal detected */
COUNTER_EVENT_INDEX,
+ /* State of counter is changed */
+ COUNTER_EVENT_CHANGE_OF_STATE,
};
/**
--
2.30.2
Powered by blists - more mailing lists