From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rajendra Nayak Subject: Re: Regulator supplies when using Device Tree Date: Thu, 29 Mar 2012 10:14:05 +0530 Message-ID: <4F73E895.6000207@ti.com> References: <4F6BCF47.4090200@codeaurora.org> <20120326130005.GQ3098@opensource.wolfsonmicro.com> <4F726B96.8070508@codeaurora.org> <20120328100957.GD3232@opensource.wolfsonmicro.com> <4F736451.8020900@codeaurora.org> <20120328193341.GD3232@opensource.wolfsonmicro.com> <4F73A798.6030607@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from na3sys009aog137.obsmtp.com ([74.125.149.18]:58659 "EHLO psmtp.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751511Ab2C2EoN (ORCPT ); Thu, 29 Mar 2012 00:44:13 -0400 Received: by mail-ob0-f178.google.com with SMTP id tb18so237600obb.9 for ; Wed, 28 Mar 2012 21:44:12 -0700 (PDT) In-Reply-To: <4F73A798.6030607@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Michael Bohan Cc: Mark Brown , lrg@ti.com, LKML , linux-arm-msm@vger.kernel.org On Thursday 29 March 2012 05:36 AM, Michael Bohan wrote: > Put simply, whose responsibility is it to assign the > regulator_desc->supply_name pointer before registering a regulator > device added from Device Tree? The drivers, and its expected to know, and not lookup something from the DT node to figure out what regulator_desc->supply_name should be. You can read through the discussion when the bindings were being proposed. http://www.spinics.net/lists/linux-omap/msg58395.html