Re: [linux-sunxi] [PATCH 1/2] pinctrl: sunxi: fix wrong irq_banks number for H5 pinctrl
From: Chen-Yu Tsai
Date: Mon Aug 14 2017 - 02:03:20 EST
On Fri, Aug 11, 2017 at 10: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>
Acked-by: Chen-Yu Tsai <wens@xxxxxxxx>