Re: Intel Timed-IO driver in IIO/Counter subsystem

Shevchenko, Andriy
2022-06-17T09:51:27Z

On Fri, Jun 17, 2022 at 09:22:09AM +0200, Lars-Peter Clausen wrote:
> 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]?

The newly HTE subsystem was proposed by Linus W. to be used for this case.

> [1] https://www.kernel.org/doc/html/latest/driver-api/pps.html

--
With Best Regards,
Andy Shevchenko