Re: [PATCH v2 0/3] gpio: bcm-kona: Various GPIO fixups

From: Linus Walleij
Date: Thu Feb 06 2025 - 13:13:46 EST


On Thu, Feb 6, 2025 at 6:46 PM Artur Weber <aweber.kernel@xxxxxxxxx> wrote:

> Fixes two issues that were preventing GPIO from working correctly:
>
> - Lock/unlock functions tried to write the wrong bit to the unlock
> registers for GPIOs with numbers larger than 32
>
> - GPIOs only initialized as IRQs did not unlock the configuration
> registers, causing IRQ-related configuration (e.g. setting the IRQ
> type) to fail.
>
> Also includes a minor fix to add a missing newline to an error message.
>
> Tested on a Samsung Galaxy Grand Neo (baffinlite rev02) with a BCM23550
> (DTS not yet in mainline).
>
> Signed-off-by: Artur Weber <aweber.kernel@xxxxxxxxx>

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

Yours,
Linus Walleij