Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754973Ab3H2Hkb (ORCPT ); Thu, 29 Aug 2013 03:40:31 -0400 Received: from mail.abilis.ch ([195.70.19.74]:19048 "EHLO mail.abilis.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752220Ab3H2Hk3 convert rfc822-to-8bit (ORCPT ); Thu, 29 Aug 2013 03:40:29 -0400 Date: Thu, 29 Aug 2013 09:35:42 +0200 From: Christian Ruppert To: Linus Walleij Cc: Stephen Warren , Patrice CHOTARD , "linux-kernel@vger.kernel.org" , Grant Likely , Rob Herring , Rob Landley , Sascha Leuenberger , Pierrick Hascoet , "linux-doc@vger.kernel.org" , Alexandre Courbot , "devicetree@vger.kernel.org" Subject: Re: [PATCH 2/4] pinmux: Add TB10x pinmux driver Message-ID: <20130829073542.GA23079@ab42.lan> References: <20130618092516.GC18663@ab42.lan> <1371547751-13873-2-git-send-email-christian.ruppert@abilis.com> <20130805115118.GF20936@ab42.lan> <20130821155751.GB3046@ab42.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: User-Agent: Mutt/1.5.20 (2009-12-10) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1848 Lines: 43 On Wed, Aug 28, 2013 at 08:49:36PM +0200, Linus Walleij wrote: > On Wed, Aug 21, 2013 at 5:57 PM, Christian Ruppert > wrote: > > On Wed, Aug 14, 2013 at 06:53:56PM +0200, Linus Walleij wrote: > >> > >> OK, that can also be called a "bank" or "register" but whatever. > > > > As you suggested below I re-read Documentation/pinctrl.txt and it got me > > even more confused: > > Am I right in my understanding that the whole concept of a > > "port/bank/register" or whatever we would like to call it does not exist > > in the pinctrl framework? > > Not that I know :-) > > If what it means is a number of registers from address x thru x+n > words in memory that is called a register range usually, the > Device Tree "regs" property. > > If you're referring to a subset of registers dealing with a batch > of pins or a single pin that can use whatever terminology you > want, I consider it a driver-internal detail. Some GPIO drivers > talk about "ports" when they have e.g. 2 x 32bit registers > handling a total of 64 pins, then that is port 0 and port 1 or > something like this, but it's really up to the driver. Actually, it's a set of pins the muxing of which is controlled by the same register. E.g. Port A is the set of all the pins which are controlled by register field A. Greetings, Christian -- Christian Ruppert , /| Tel: +41/(0)22 816 19-42 //| 3, Chemin du Pr?-Fleuri _// | bilis Systems CH-1228 Plan-les-Ouates -- 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/