Re: [PATCH v5 1/2] dt-bindings: counter: add event-counter binding

From: Linus Walleij
Date: Fri Feb 12 2021 - 04:30:04 EST


On Mon, Feb 8, 2021 at 2:53 PM Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> wrote:

> Add binding for the event counter node
>
> Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>

Works for me:
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

> +required:
> + - compatible

Ideally it should be "interrupts OR gpios required"
(at least one of them must be present) but I don't know if
we can express that.

Perhaps also write that if both are defined, the interrupt will
take precedence for counting events.

Yours,
Linus Walleij