Intel Timed-IO driver in IIO/Counter subsystem

N, Pandith
2022-06-17T06:37:21Z

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.

We may need to use custom ABI for sysfs based user interaction OR
Can we enhance ioctl interface to accommodate our use case (counter-chardev.c) ?
Since timed-io works in nano second precision, ioctl is more suitable.

Regards,
Pandith and Sowjanya

ps : resent the mail with plain text as delivery to linux-iio@vger.kernel.org failed.