Re: [PATCH v4 2/2] gpio: Add Cortina Systems CS75xx GPIO driver
From: Linus Walleij
Date: Mon Nov 16 2026 - 09:33:47 EST
On Mon, Nov 16, 2026 at 3:08 AM Fil Dunsky via B4 Relay
<devnull+filipp.dunsky.gmail.com@xxxxxxxxxx> wrote:
> From: Fil Dunsky <filipp.dunsky@xxxxxxxxx>
>
> Add a driver for the GPIO banks of the Cortina Systems CS75xx SoCs. The
> data and direction registers are handled by gpio-mmio; each bank has its
> own interrupt with level and edge triggers, both edges are emulated by
> flipping the polarity.
>
> A pin only works as a GPIO when the pin mux in the global control block
> selects the GPIO function. That is not part of the GPIO controller and
> is left to the boot loader until there is a pin controller driver.
>
> Signed-off-by: Fil Dunsky <filipp.dunsky@xxxxxxxxx>
Looks good, use nice helpers and all.
Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>
Yours,
Linus Walleij