Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752995AbbHDPlh (ORCPT ); Tue, 4 Aug 2015 11:41:37 -0400 Received: from vps0.lunn.ch ([178.209.37.122]:55333 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752947AbbHDPlf (ORCPT ); Tue, 4 Aug 2015 11:41:35 -0400 Date: Tue, 4 Aug 2015 17:34:39 +0200 From: Andrew Lunn To: raghu MG Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Thomas Petazzoni , sebastian.hesselbarth@gmail.com Subject: Re: Armadaxp GPIO interrupts Message-ID: <20150804153439.GA28673@lunn.ch> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1189 Lines: 30 On Tue, Aug 04, 2015 at 08:52:17PM +0530, raghu MG wrote: > Hello, > > I am working on a card which as GPIOs connected to external I/O's. The > board consists of ARMADAXP 78460 host cpu. > > Board currently runs Linux-4.1 with modified armada-xp-gp.dtb for ArmadaXP. > I enabled "orion-gpio" driver to initialize GPIOs as given in > armada-xp-mv78460. What kernel configuration are you using? Do you have the same problem with multi_v7_defconfig and mvebu_v7_defconfig? > The driver while initializing calls irq_domain_add_simple which throws up > following warning > "irq: Cannot allocate irq_descs @ IRQ47, assuming pre-allocated" > The warning repeats for next set(32-63 & 64-66). > > Also the GPIO IRQs are not getting listed in cat /proc/interrupts irq_domain_add_simple() returning an error is fatal for the probe. The driver will not be loaded, so more than interrupts will be missing, all the gpios will be missing. Andrew -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/