Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932335Ab2HFQgT (ORCPT ); Mon, 6 Aug 2012 12:36:19 -0400 Received: from cassiel.sirena.org.uk ([80.68.93.111]:37785 "EHLO cassiel.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932242Ab2HFQgR (ORCPT ); Mon, 6 Aug 2012 12:36:17 -0400 Date: Mon, 6 Aug 2012 17:36:15 +0100 From: Mark Brown To: Eric Miao Cc: Daniel Mack , Haojian Zhuang , Dmitry Torokhov , Sven Neumann , Olof Johansson , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Gleixner Subject: Re: Emulating level IRQs Message-ID: <20120806163615.GG29272@sirena.org.uk> References: <20120503043651.GA11830@core.coreip.homeip.net> <20120713070102.GA2223@core.coreip.homeip.net> <500561AF.9090901@gmail.com> <5008296C.5070709@gmail.com> <20120723165120.GB26577@core.coreip.homeip.net> <500EE314.7040708@gmail.com> <501E9DDB.3020807@gmail.com> <501EB3C5.1080501@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Cookie: Oatmeal raisin. User-Agent: Mutt/1.5.20 (2009-06-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: broonie@sirena.org.uk X-SA-Exim-Scanned: No (on cassiel.sirena.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 757 Lines: 16 On Mon, Aug 06, 2012 at 09:45:13AM +0800, Eric Miao wrote: > So my understanding, if it's correct, that we can treat the EETI chip as having > two separate inputs: one IRQ line (for the event notification) and one GPIO line > (for a condition where data are emptied), we could naturally have two numbers > in the driver, but unfortunately they end up being in sync as they are > physically > one pin. ...unless the interrupt controller supports level IRQs at which point we don't need the GPIO, of course :/ . -- 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/