Re: [PATCH] gpio: cgbc: Add init_valid_mask() operation
From: Linus Walleij
Date: Fri Oct 16 2026 - 16:39:05 EST
On Fri, Oct 16, 2026 at 7:13 PM Thomas Richard (congatec GmbH)
<thomas.richard@xxxxxxxxxxx> wrote:
> Some pins can be reconfigured from the BIOS as alternate functions,
> which makes the corresponding GPIO lines unusable. Add the
> init_valid_mask() operation to mark as valid only the GPIOs which are
> usable.
>
> Signed-off-by: Thomas Richard (congatec GmbH) <thomas.richard@xxxxxxxxxxx>
Sashiko's review looks like nonsense, this is good to go.
Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>
Yours,
Linus Walleij