Re: [PATCH v2 1/1] counter: cros_ec: Add synchronization sensor

William Breathitt Gray
2020-04-08T17:24:32Z

[-- Attachment #1: Type: text/plain, Size: 1195 bytes --]

On Wed, Apr 08, 2020 at 10:10:28AM -0700, Gwendal Grignou wrote:
> I resend a counter driver for the EC at
> https://patchwork.kernel.org/patch/11479437/
>
> I tried a timestamp only IIO sensor, but this is not allowed, as the
> timestamp channel is very specific: no extended parameters can be
> added.
> I did not add a COUNTER_COUNT_TALLY type, as a newer function
> COUNTER_COUNT_FUNCTION_INCREASE, fits the counter better.
> I am still using IIO_COUNT (inspired by the st counter driver) to
> gather the event in real time on the iio side.
>
> Gwendal.

Hi Gwendal,

Despite the silence I haven't yet forgotten about this. I'm working on
an update to the Counter subsystem code that should help develop a
real time timestamp functionality for counter drivers. It's not yet
complete right now, but I'm hoping to release it later this month. I'll
CC you when the time comes to keep you updated and make sure it fits for
use cases. :-)

I'll review your current EC patch for a counter driver in the coming
days -- I have some IRL work I'm taking care of this week but I should
be able to take a look this weekend or soon after.

Thanks,

William Breathitt Gray

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]