Re: [PATCH v3 2/7] pinctrl: sunxi: support pin controllers with holes among IRQ banks

2018-02-23 Thread Maxime Ripard
On Fri, Feb 23, 2018 at 08:25:47PM +0800, Icenowy Zheng wrote: > The Allwinner H6 SoC have its pin controllers with the first IRQ-capable > GPIO bank at IRQ bank 1 and the second bank at IRQ bank 5. This > situation cannot be processed with the current pinctrl IRQ code, as it > only expects a offse

[PATCH v3 2/7] pinctrl: sunxi: support pin controllers with holes among IRQ banks

2018-02-23 Thread Icenowy Zheng
The Allwinner H6 SoC have its pin controllers with the first IRQ-capable GPIO bank at IRQ bank 1 and the second bank at IRQ bank 5. This situation cannot be processed with the current pinctrl IRQ code, as it only expects a offset to all IRQ banks. Update the code to use a logical IRQ bank to hardw