From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eduardo Valentin Subject: Re: [PATCH 6/8] RX-51: Audio: Add usage of regulator framework to control VMMC2 Date: Mon, 19 Oct 2009 12:13:00 +0300 Message-ID: <20091019091300.GA17452@esdhcp037198.research.nokia.com> 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> Reply-To: eduardo.valentin@nokia.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from smtp.nokia.com ([192.100.122.230]:53083 "EHLO mgw-mx03.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750912AbZJSJMm (ORCPT ); Mon, 19 Oct 2009 05:12:42 -0400 Content-Disposition: inline In-Reply-To: <20091012092104.GD3308@rakim.wolfsonmicro.main> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: ext Mark Brown Cc: "Valentin Eduardo (Nokia-D/Helsinki)" , ext Tony Lindgren , "Ujfalusi Peter (Nokia-D/Tampere)" , "Nurkkala Eero.An (EXT-Offcode/Oulu)" , Jarkko Nikula , Linux-OMAP , ALSA-Devel Hi, On Mon, Oct 12, 2009 at 11:21:04AM +0200, Mark Brown wrote: > On Mon, Oct 12, 2009 at 12:04:55PM +0300, Eduardo Valentin wrote: > > > Right. Should we add 4 instances of drvdd and 2 of iovdd? So, naming those would be like: > > No, if there's multiple pins for the supply then there's no need to > represent those individually - they're required to be wired together in > hardware. 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) ? BR, -- Eduardo Valentin