Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756124Ab1DOOeu (ORCPT ); Fri, 15 Apr 2011 10:34:50 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:47858 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754271Ab1DOOes (ORCPT ); Fri, 15 Apr 2011 10:34:48 -0400 Date: Fri, 15 Apr 2011 10:34:47 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: "Rafael J. Wysocki" cc: Magnus Damm , Linux PM mailing list , Kevin Hilman , LKML , Grant Likely , Len Brown , , Subject: Re: [RFC][PATCH] PM: Make power domain callbacks take precedence over subsystem ones In-Reply-To: <201104150045.54904.rjw@sisk.pl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1643 Lines: 34 On Fri, 15 Apr 2011, Rafael J. Wysocki wrote: > On Thursday, April 14, 2011, Magnus Damm wrote: > > My only thought on this is if we really want to limit ourselves to > > only control power domains using these callbacks. I can imagine that > > some SoCs want to do other non-power domain specific operations with > > these callbacks, and if so, perhaps using the term power domain as > > name of the pointer in struct device would be somewhat odd. OTOH, I > > really dislike naming discussions in general and I can't really think > > of any good names. So it all looks more like a set of system specific > > PM override hooks. > > > > Or is there something that is really power domain specific with these hooks? > > Not in principle, but I think there is. Namely, if there are two groups > of devices belonging to the same bus type (e.g. platform) that each require > different PM handling, it is legitimate to call them "power domains" (where > "domain" means "a set of devices related to each other because of the way > they need to be handled"), even if they don't share power resources. > > Of course, if they do share power resources, the term is just right. :-) They could be called "PM domains" instead of "power domains". That's legitimate because they do get used by the PM core, even if they don't literally involve groups of devices sharing the same power supply. Alan Stern -- 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/