Re: [PATCH RESEND v3 0/3] pinctrl: sunxi: number the IRQ banks from the first one that has IRQs

From: Andre Przywara

Date: Tue Dec 01 2026 - 09:43:11 EST


Hi,

On 12/1/26 14:25, Linus Walleij wrote:
On Tue, Dec 1, 2026 at 11:48 AM Linus Walleij <linusw@xxxxxxxxxx> wrote:
On Tue, Dec 1, 2026 at 11:47 AM Linus Walleij <linusw@xxxxxxxxxx> wrote:
On Tue, Nov 24, 2026 at 10:51 PM Pablo Mazzini <pmazzini@xxxxxxxxx> wrote:

The DT pinctrl helper numbers the IRQ banks from PA, even when PA has
none. The A523 got a DT interrupt for its unimplemented PA bank to work
around that, the A733 would need the same, and on both PK is written
past the end of irq_array.

Number the IRQ banks like the static drivers do, with irq_bank_map for
the A523 and A733, and drop the PA interrupt from the binding and the
A523 DT. The B288 (IRQ banks on PB, PD, PF and PG) then needs no
made-up interrupt.

Patches 1+2 applied for pinctrl fixes.

Uh rather this goes for-next because it doesn't apply for fixes.
I guess depends on stuff merged for -next.

André tells me these need to go into fixes so I'm awaiting a series
based on my "fixes" branch:
https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git/log/?h=fixes

Ah yeah, that one irq_read_needs_mux patch trivially conflicts, I think.

Pablo, can you wait for a bit with the rebase? I have some comment on the IRQ banking patch, I will reply there shortly.

Cheers,
Andre