Re: [PATCH 1/2] pinctrl: sunxi: fix wrong irq_banks number for H5 pinctrl

From: Linus Walleij
Date: Tue Aug 22 2017 - 08:49:19 EST


On Fri, Aug 11, 2017 at 4:27 PM, Icenowy Zheng <icenowy@xxxxxxx> wrote:

> The pin controller of Allwinner H5 has three IRQ banks, however in old
> versions of drivers and device trees, only two are set, which makes
> PG bank IRQ not available.
>
> If it's directly set to 3, the old device trees will fail to boot.
>
> Add a workaround (and a warning) for older device trees, and allow new
> device trees to use correct 3 IRQ banks.
>
> Fixes: 838adb576d4a ("drivers: pinctrl: add driver for Allwinner H5 SoC")
> Signed-off-by: Icenowy Zheng <icenowy@xxxxxxx>

Patch applied with Chen-Yu's ACK.

Yours,
Linus Walleij