From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754529Ab1JUMzs (ORCPT ); Fri, 21 Oct 2011 08:55:48 -0400 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:56763 "EHLO opensource.wolfsonmicro.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751402Ab1JUMzr (ORCPT ); Fri, 21 Oct 2011 08:55:47 -0400 Date: Fri, 21 Oct 2011 13:55:44 +0100 From: Mark Brown To: Linus Walleij Cc: Barry Song <21cnbao@gmail.com>, Shawn Guo , Linus Walleij , linux-kernel@vger.kernel.org, Stephen Warren , Linaro Dev , Sascha Hauer , David Brown , Grant Likely Subject: Re: [PATCH 2/2] pinctrl: add a generic control interface Message-ID: <20111021125544.GF4080@opensource.wolfsonmicro.com> References: <1319041274-18723-1-git-send-email-linus.walleij@stericsson.com> <20111020023140.GC32007@S2100-06.ap.freescale.net> <20111020141827.GB6100@sirena.org.uk> <20111020154244.GA26083@opensource.wolfsonmicro.com> <20111021123041.GE4080@opensource.wolfsonmicro.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Cookie: You will soon forget this. User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 21, 2011 at 02:51:46PM +0200, Linus Walleij wrote: > On Fri, Oct 21, 2011 at 2:30 PM, Mark Brown > > To repeat once more: this is *not* an on/off control, this is a control > > selecting the voltage domain a pin is referenced to. > Sorry, slow learner. So I'll add: > PIN_CONFIG_ENABLE_POWER > PIN_CONFIG_DISABLE_POWER > With the semantics of enabling/disabling the power > supply for the pin logic. Correct now? No, like I keep saying it's nothing to do with enabling or disabling power. It's about selecting between multiple reference domains. For example, choosing between the DBVDD1 and DBVDD2 domains.