Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

counter: add direction change event

Add COUNTER_EVENT_DIRECTION_CHANGE to be used by drivers to emit events
when a counter detects a change in direction.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://lore.kernel.org/r/20250110-counter-ti-eqep-add-direction-support-v2-2-c6b6f96d2db9@baylibre.com
Signed-off-by: William Breathitt Gray <wbg@kernel.org>

authored by

David Lechner and committed by
William Breathitt Gray
a1cd3395 bbb89c17

+2
+2
include/uapi/linux/counter.h
··· 65 65 COUNTER_EVENT_CHANGE_OF_STATE, 66 66 /* Count value captured */ 67 67 COUNTER_EVENT_CAPTURE, 68 + /* Direction change detected */ 69 + COUNTER_EVENT_DIRECTION_CHANGE, 68 70 }; 69 71 70 72 /**