Re: [PATCH] iio: pulse: Support PWM capture with TI AM3358 eCAP module

From: Andy Shevchenko
Date: Thu Aug 20 2020 - 09:03:18 EST


+Cc: Chris

On Tue, Aug 18, 2020 at 6:37 PM Darren Schachter <dts86@xxxxxxxxxxx> wrote:
>
> This IIO driver adds support for PWM capture with the TI eCAP module.
> This driver is based on Matt Porter's eCAP driver from January 2014,
> which was never merged into the mainline [1]. Like Matt's code, this
> driver implements interrupt driven triggered buffer capture. However,
> the driver has been updated based on previous suggestions in the IIO
> mailing list. Additionally, support for prescalar control and finer
> polarity control has been included. Users can now configure the
> polarities of CAP1 and CAP2 individually, allowing for the measurement
> of a signal's high-time, low-time, or period.

Chris, does this ring any bell (in terms of certain functionality of
Time-aware GPIO)?




--
With Best Regards,
Andy Shevchenko