On 6/17/22 08:37, N, Pandith wrote:
Hi, We have a Intel Timed IO peripheral with following functionalities : 1. Event capture capability - Captures event count and timestamp. 2. Pulse generation - periodic or single event generation. 3. Return cross-timestamp on request. Timed IO device is being used in various Industrial use cases such as : time capture, synchronization, fan speed calculation etc. IIO or counter subsystem seems to be suitable for timed-io driver. Is it favourable to implement as part of IIO or counter subsystem ? Wanted to know your feedback.
That sounds like a mix of a counter and PPS device. Have you looked at the PPS subsystem[1]?
[1] https://www.kernel.org/doc/html/latest/driver-api/pps.html