Re: [PATCH v3 1/2] Support NVIDIA BlueField-3 GPIO controller

From: Linus Walleij
Date: Mon Feb 13 2023 - 05:17:25 EST


On Fri, Feb 10, 2023 at 4:03 PM Asmaa Mnebhi <asmaa@xxxxxxxxxx> wrote:

> This patch adds support for the BlueField-3 SoC GPIO driver
> which allows:
> - setting certain GPIOs as interrupts from other dependent drivers
> - ability to manipulate certain GPIO pins via libgpiod tools
>
> BlueField-3 has 56 GPIOs but the user is only allowed to change some
> of them into GPIO mode. Use valid_mask to make it impossible to alter
> the rest of the GPIOs.
>
> Signed-off-by: Asmaa Mnebhi <asmaa@xxxxxxxxxx>

Excellent work Asmaa,
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij