I found that the Altera driver is easy to convert to use GPIO MMIO. Only compile tested, I do not have this device. Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx> --- Linus Walleij (3): gpio: devres: Use devres parent if undefined gpio: altera: User gc helper variable gpio: altera: Use generic MMIO GPIO drivers/gpio/Kconfig | 1 + drivers/gpio/gpio-altera.c | 109 ++++++++++-------------------------------- drivers/gpio/gpiolib-devres.c | 7 +++ 3 files changed, 34 insertions(+), 83 deletions(-) --- base-commit: 4d478accec99c9b23bd5deccb58996867bd0aa7a change-id: 20250227-gpio-mmio-more-990eb0d68d5b Best regards, -- Linus Walleij <linus.walleij@xxxxxxxxxx>