Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756889AbYCHR0U (ORCPT ); Sat, 8 Mar 2008 12:26:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753922AbYCHR0J (ORCPT ); Sat, 8 Mar 2008 12:26:09 -0500 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:39810 "EHLO opensource2.wolfsonmicro.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753866AbYCHR0I (ORCPT ); Sat, 8 Mar 2008 12:26:08 -0500 Subject: Re: [UPDATED v3][PATCH 5/7] regulator: sysfs ABI From: Liam Girdwood To: Greg KH Cc: David Brownell , Mark Brown , linux-arm-kernel@lists.arm.linux.org.uk, Andrew Morton , linux-kernel In-Reply-To: <20080308055221.GA13434@kroah.com> References: <1204827125.15360.151.camel@a10323.wolfsonmicro.main> <20080307161212.GD28439@kroah.com> <20080307211714.GA26534@sirena.org.uk> <200803071717.44028.david-b@pacbell.net> <20080308055221.GA13434@kroah.com> Content-Type: text/plain Date: Sat, 08 Mar 2008 17:26:03 +0000 Message-Id: <1204997163.13653.50.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 (2.8.3-2.fc6) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1461 Lines: 34 On Fri, 2008-03-07 at 21:52 -0800, Greg KH wrote: > On Fri, Mar 07, 2008 at 05:17:43PM -0800, David Brownell wrote: > > On Friday 07 March 2008, Mark Brown wrote: > > > On Fri, Mar 07, 2008 at 08:12:12AM -0800, Greg KH wrote: > > > > On Thu, Mar 06, 2008 at 06:12:05PM +0000, Liam Girdwood wrote: > > > > > > > > + Some regulator directories will contain a link called parent. > > > > > + This points to the parent or supply regulator if one exists. > > > > > > > I don't think this is needed, why not just parent the device properly in > > > > the device tree itself? > > > > > > The device tree would tend to show parent for the the control interfaces > > > for the regulators (typically I2C or SPI) but there is likely to be > > > little or no relationship between that and the power distribution in the > > > system. > > > > I find "parent" a bit awkward, and Greg won't be the only one to > > be asking that question. Maybe it'd be better named "supply"? > > Yes, "parent" means something in the driver model (the parent of the > device in the tree). I agree with the different wording like "supply" > if that makes sense. Or something else other than "parent". > "supply" sounds good to me. Liam -- 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/