Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752631AbbHEQ2x (ORCPT ); Wed, 5 Aug 2015 12:28:53 -0400 Received: from vps0.lunn.ch ([178.209.37.122]:40030 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751486AbbHEQ2w (ORCPT ); Wed, 5 Aug 2015 12:28:52 -0400 Date: Wed, 5 Aug 2015 18:21:55 +0200 From: Andrew Lunn To: raghu MG Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Thomas Petazzoni , Sebastian Hesselbarth Subject: Re: Armadaxp GPIO interrupts Message-ID: <20150805162155.GE32760@lunn.ch> References: <20150804153439.GA28673@lunn.ch> 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: 911 Lines: 23 On Wed, Aug 05, 2015 at 08:31:27PM +0530, raghu MG wrote: > Hi Andrew, > > The issue I found was irq_alloc_descs is called twice > 1st time inside mvebu_gpio_probe & 2nd time inside irq_domain_add_simple. So i'm somewhat confused. I just tested on my Kirkwood and 370 platforms, and an Armada XP WRT1900AC using 4.2.0-rc5, all which use the same gpio driver. They boot fine, the gpio driver is loaded, and the interrupt for the gpio connected to a button are listed in /proc/interrupts. The gpio-key driver is also able to use the gpio and the input-events program does show events when i press the button. So what is different with your platform? 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/