[PATCH v2] pinctrl: single: add big endian support
Linus Walleij
linusw at kernel.org
Tue Oct 13 16:05:55 PDT 2026
On Mon, Oct 12, 2026 at 4:21 PM Rustam Adilov <adilov at disroot.org> wrote:
> >> This is needed on big endian MIPS platforms like RTL930X, RTL931X
> >> and RTL9607C who use pinctrl-single, because when SWAP_IO_SPACE is
> >> enabled, the mmio accessors in pinctrl-single perform a byte swap.
(...)
> > So I'd like to hear some of the reasoning about why you want to
> > do this thing, we have other drivers doing this but without using
> > pinctrl-single.
>
> Um, what? I don't understand how that is related to anything with my
> commit message.
I understood is as the usage on RTL9[3|6]* SoCs was something
new and this patch was needed for this new thing to work.
I see pinctrl-single is already in their device trees...
If I can get an ACK from the maintainers we can just apply
this, the cleanup I'd like can be made at a different time.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list