Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754960Ab3H1Stz (ORCPT ); Wed, 28 Aug 2013 14:49:55 -0400 Received: from mail-oa0-f43.google.com ([209.85.219.43]:60413 "EHLO mail-oa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754859Ab3H1Sth (ORCPT ); Wed, 28 Aug 2013 14:49:37 -0400 MIME-Version: 1.0 In-Reply-To: <20130821155751.GB3046@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> Date: Wed, 28 Aug 2013 20:49:36 +0200 Message-ID: Subject: Re: [PATCH 2/4] pinmux: Add TB10x pinmux driver From: Linus Walleij To: Christian Ruppert 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" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1303 Lines: 32 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. Yours, Linus Walleij -- 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/