From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Sat, 1 Sep 2012 07:11:18 +0000 Subject: [PATCH 3/6] ARM: plat-versatile: add DT support to FPGA IRQ controller In-Reply-To: References: <1345119357-22702-1-git-send-email-linus.walleij@linaro.org> <201208161350.49063.arnd@arndb.de> Message-ID: <201209010711.18985.arnd@arndb.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Saturday 01 September 2012, Linus Walleij wrote: > > When all devices get their IRQ numbers from the device > > tree, you can move to linear IRQ domains instead of legacy, and let > > the irq domain code pick the numbers. > > It seems I have no other choice here than to move directly to > linear numbers or atleast dynamically allocated descriptors. You could also do a hack and keep the number hardcoded, or dependent on the "compatible" value of the root node, but moving to linear domains would be nicer because then you don't have to change this code again. Arnd From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH 3/6] ARM: plat-versatile: add DT support to FPGA IRQ controller Date: Sat, 1 Sep 2012 07:11:18 +0000 Message-ID: <201209010711.18985.arnd@arndb.de> References: <1345119357-22702-1-git-send-email-linus.walleij@linaro.org> <201208161350.49063.arnd@arndb.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: Linus Walleij Cc: Will Deacon , devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, arm-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, Russell King , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org On Saturday 01 September 2012, Linus Walleij wrote: > > When all devices get their IRQ numbers from the device > > tree, you can move to linear IRQ domains instead of legacy, and let > > the irq domain code pick the numbers. > > It seems I have no other choice here than to move directly to > linear numbers or atleast dynamically allocated descriptors. You could also do a hack and keep the number hardcoded, or dependent on the "compatible" value of the root node, but moving to linear domains would be nicer because then you don't have to change this code again. Arnd