Re: [PATCH 2/2] gpio: realtek-otto: decide bank_read/write by device endianness
From: Linus Walleij
Date: Sat Jul 25 2026 - 05:28:33 EST
On Sun, Jul 19, 2026 at 6:17 AM Rustam Adilov <adilov@xxxxxxxxxxx> wrote:
> > That's irrelevant as there may be devicetrees out in the wild and we can't
> > just break them.
>
> So, what is the solution then?
Make a endianness-dependent quirk in the driver that retain the
current behaviour for old device trees and accepts new ones?
I.e. enforce the right behaviour using code no matter what the
device tree says.
Yours,
Linus Walleij