[PATCH 3/3] gpio: realtek: Add driver for Realtek DHC RTD1625 SoC
Linus Walleij
linusw at kernel.org
Tue Apr 7 00:27:20 PDT 2026
On Tue, Mar 31, 2026 at 1:38 PM Yu-Chun Lin <eleanor.lin at realtek.com> wrote:
> From: Tzuyi Chang <tychang at realtek.com>
>
> 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 at realtek.com>
> Signed-off-by: Yu-Chun Lin <eleanor.lin at realtek.com>
With Bartosz comment addressed:
Reviewed-by: Linus Walleij <linusw at kernel.org>
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list