From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Ruppert Subject: Re: [PATCH 2/4] pinmux: Add TB10x pinmux driver Date: Thu, 29 Aug 2013 09:35:42 +0200 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-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-doc-owner@vger.kernel.org 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" List-Id: devicetree@vger.kernel.org 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 g= ot 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? >=20 > Not that I know :-) >=20 > 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. >=20 > 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 --=20 Christian Ruppert , /| Tel: +41/(0)22 816 19-42 //| 3, Chemin du Pr=E9-F= leuri _// | bilis Systems CH-1228 Plan-les-Oua= tes