Re: [linux-sunxi] [PATCH 1/2] pinctrl: sunxi: fix wrong irq_banks number for H5 pinctrl
From: Chen-Yu Tsai <hidden>
Date: 2017-08-14 06:03:17
Also in:
linux-gpio, lkml
From: Chen-Yu Tsai <hidden>
Date: 2017-08-14 06:03:17
Also in:
linux-gpio, lkml
On Fri, Aug 11, 2017 at 10:27 PM, Icenowy Zheng [off-list ref] 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@aosc.io>Acked-by: Chen-Yu Tsai <redacted>