Re: [PATCH v3] pinctrl: at91-pio4: implement .get_multiple and .set_multiple

From: Linus Walleij
Date: Thu Oct 03 2019 - 04:11:08 EST


On Wed, Sep 18, 2019 at 1:37 PM Alexandre Belloni
<alexandre.belloni@xxxxxxxxxxx> wrote:

> Implement .get_multiple and .set_multiple to allow reading or setting
> multiple pins simultaneously. Pins in the same bank will all be switched at
> the same time, improving synchronization and performances.
>
> Keep the driver future proof by allowing its use on 64bits platforms if
> they ever appear with this IP and we end up with a mismatch between
> ATMEL_PIO_NPINS_PER_BANK and BITS_PER_LONG.
>
> Signed-off-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>
> Acked-by: Ludovic Desroches <ludovic.desroches@xxxxxxxxxxxxx>
> ---
>
> Changes in v3:
> - Add ack from ludovic
> - add comment and amend commit message to explain the ifdefd

Patch applied, sorry for the delay, merge window and stuff.

Yours,
Linus Walleij