From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chen-Yu Tsai Subject: Re: [linux-sunxi] [PATCH 1/2] pinctrl: sunxi: fix wrong irq_banks number for H5 pinctrl Date: Mon, 14 Aug 2017 14:02:48 +0800 Message-ID: References: <20170811142735.2970-1-icenowy@aosc.io> <20170811142735.2970-2-icenowy@aosc.io> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: <20170811142735.2970-2-icenowy@aosc.io> Sender: linux-gpio-owner@vger.kernel.org To: Icenowy Zheng Cc: Maxime Ripard , Chen-Yu Tsai , Linus Walleij , devicetree , linux-kernel , "linux-gpio@vger.kernel.org" , linux-sunxi List-Id: devicetree@vger.kernel.org On Fri, Aug 11, 2017 at 10:27 PM, Icenowy Zheng 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 Acked-by: Chen-Yu Tsai