Re: [PATCH v2 0/2] gpio: realtek-otto: make the driver work with SWAP_IO_SPACE
From: Bartosz Golaszewski
Date: Tue Sep 01 2026 - 12:14:07 EST
On Sat, 15 Aug 2026 14:44:49 +0500, Rustam Adilov wrote:
> This patch series changes gpio-realtek-otto to be functional around
> SWAP_IO_SPACE config.
>
> Firstly the ioread32 and iowrite32 in realtek_gpio_update_line_imr()
> have to be changed to their __raw variants as it is the only point in
> the driver where both devices with ports reversed and without meet.
>
> [...]
Applied, thanks!
[1/2] gpio: realtek-otto: use __raw_readl/writel in realtek_gpio_update_line_imr()
https://git.kernel.org/brgl/c/61ef599b782e776437886f2be0623b3c9055e5d3
[2/2] gpio: realtek-otto: make bank_read/write overridable by endian property
https://git.kernel.org/brgl/c/785ec26c37e56ee5f142b6684f7c15c7ca7430a3
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>