From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751347AbdIOQ55 convert rfc822-to-8bit (ORCPT ); Fri, 15 Sep 2017 12:57:57 -0400 Received: from muru.com ([72.249.23.125]:40786 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750825AbdIOQ5z (ORCPT ); Fri, 15 Sep 2017 12:57:55 -0400 Date: Fri, 15 Sep 2017 09:57:51 -0700 From: Tony Lindgren To: Thierry Reding Cc: Linus Walleij , Jonathan Hunter , "linux-gpio@vger.kernel.org" , "linux-tegra@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Grygorii Strashko , linux-omap@vger.kernel.org Subject: Re: [PATCH 00/16] gpio: Tight IRQ chip integration and banked infrastructure Message-ID: <20170915165750.GW5024@atomide.com> References: <20170901185736.28051-1-thierry.reding@gmail.com> <20170914185233.GA6410@aiwendil> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <20170914185233.GA6410@aiwendil> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Thierry Reding [170915 08:10]: > On Thu, Sep 14, 2017 at 03:54:56PM +0200, Linus Walleij wrote: > > Sorry about that. Let's move ahead with this now, it is neat and > > clean. > > > > What I want (as maintainer) is a bit of fingerpointing at the drivers > > that need to be converted to use the new banking infrastructure > > so they don't stay with their old crappy design pattern. OMAP is > > a clear candidate right? (Added Tony to CC...) > > OMAP should be able to use this infrastructure, but it may not want to > because the semantics would change slightly. Currently OMAP registers a > GPIO chip for each bank, whereas this infrastructure exposes multiple > banks via a single chip. Oh so you don't have separate interrupts for the instances? Thanks for clarifying that. > There might be some userspace that relies on the existence of multiple > chips, but Tony can probably knows that better than I. On omaps, each bank is a separate driver instance with it's own interrupt. Maybe really all we need to do is get rid of the "bank" naming, I think that's left over from 15 years ago when we did not have separate driver instances. It seems we should s/bank/ddata/ on the driver to avoid confusion. Grygorii, any comments? Regards, Tony