From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH 6/8] RX-51: Audio: Add usage of regulator framework to control VMMC2 Date: Mon, 19 Oct 2009 10:23:32 +0100 Message-ID: <20091019092332.GC23798@rakim.wolfsonmicro.main> References: <1255003137-1034-1-git-send-email-eduardo.valentin@nokia.com> <1255003137-1034-7-git-send-email-eduardo.valentin@nokia.com> <20091008132619.GE29176@rakim.wolfsonmicro.main> <20091012090455.GC13234@esdhcp037198.research.nokia.com> <20091012092104.GD3308@rakim.wolfsonmicro.main> <20091019091300.GA17452@esdhcp037198.research.nokia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from opensource.wolfsonmicro.com ([80.75.67.52]:54799 "EHLO opensource2.wolfsonmicro.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755946AbZJSJX3 (ORCPT ); Mon, 19 Oct 2009 05:23:29 -0400 Content-Disposition: inline In-Reply-To: <20091019091300.GA17452@esdhcp037198.research.nokia.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Eduardo Valentin Cc: ext Tony Lindgren , "Ujfalusi Peter (Nokia-D/Tampere)" , "Nurkkala Eero.An (EXT-Offcode/Oulu)" , Jarkko Nikula , Linux-OMAP , ALSA-Devel On Mon, Oct 19, 2009 at 12:13:00PM +0300, Eduardo Valentin wrote: [Please fix your MUA to wrap before 80 columns.] > Might be a stupid question probably because of my lack of knowledge of > regulator framework, but if the driver code must be written in such a > way that it requires all regulators for its supplies, then what > happens with those which are grounded? How do you provide the > regulator_init_data in this case (where the supply is actually grounded) ? That sounds like a fixed voltage regulator. Though for a device where some of the supplies are optional if the driver needs to know about it it may make more sense to have the driver know about that and only request supplies which it will use.