Re: [PATCH 2/3] gpio: 104-dio-48e: Add Counter/Timer support

From: Linus Walleij
Date: Sat May 20 2023 - 15:28:36 EST


On Sun, Apr 16, 2023 at 7:37 PM William Breathitt Gray
<william.gray@xxxxxxxxxx> wrote:

> The 104-DIO-48E features an 8254 Counter/Timer chip providing three
> counter/timers which can be used for frequency measurement, frequency
> output, pulse width modulation, pulse width measurement, event count,
> etc. The counter/timers use the same addresses as PPI 0 (addresses 0x0
> to 0x3), so a raw_spinlock_t is used to synchronize operations between
> the two regmap mappings to prevent clobbering.
>
> Signed-off-by: William Breathitt Gray <william.gray@xxxxxxxxxx>

Very interesting development here.
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij