Re: [PATCH 3/3] gpio: realtek: Add driver for Realtek DHC RTD1625 SoC

From: Linus Walleij

Date: Tue Apr 07 2026 - 03:27:41 EST


On Tue, Mar 31, 2026 at 1:38 PM Yu-Chun Lin <eleanor.lin@xxxxxxxxxxx> wrote:

> From: Tzuyi Chang <tychang@xxxxxxxxxxx>
>
> Add support for the GPIO controller found on Realtek DHC RTD1625 SoCs.
>
> Unlike the existing Realtek GPIO driver (drivers/gpio/gpio-rtd.c),
> which manages pins via shared bank registers, the RTD1625 introduces
> a per-pin register architecture. Each GPIO line now has its own
> dedicated 32-bit control register to manage configuration independently,
> including direction, output value, input value, interrupt enable, and
> debounce. Therefore, this distinct hardware design requires a separate
> driver.
>
> Signed-off-by: Tzuyi Chang <tychang@xxxxxxxxxxx>
> Signed-off-by: Yu-Chun Lin <eleanor.lin@xxxxxxxxxxx>

With Bartosz comment addressed:
Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>

Yours,
Linus Walleij