From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell King - ARM Linux Subject: Re: [RFC 1/2] ARM:Tegra: Device Tree Support: Initialize the audio card from the device tree. Date: Thu, 2 Jun 2011 22:36:56 +0100 Message-ID: <20110602213656.GB10532@n2100.arm.linux.org.uk> References: <20110527205444.21000.90209.stgit@riker> <20110527205706.21000.34832.stgit@riker> <20110602160445.GA8373@ponder.secretlab.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20110602160445.GA8373-e0URQFbLeQY2iJbIjFUEsiwD8/FfD2ys@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Grant Likely Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, broonie-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, olofj-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: linux-tegra@vger.kernel.org On Thu, Jun 02, 2011 at 10:04:45AM -0600, Grant Likely wrote: > Right now we can't do dynamic registration for on-chip devices in a > lot of cases because we don't have the infrastructure to hook up the > associated struct clks. I've been wondering about this, and I don't see it as a blocking problem as you seem to be. I assume platform devices have stable names when they're created from the device tree? If yes, there's no problem having the DT start to describe the SoC specific devices _today_ - all that the clk API using clkdev requires is a stable device name. From mboxrd@z Thu Jan 1 00:00:00 1970 From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Thu, 2 Jun 2011 22:36:56 +0100 Subject: [RFC 1/2] ARM:Tegra: Device Tree Support: Initialize the audio card from the device tree. In-Reply-To: <20110602160445.GA8373@ponder.secretlab.ca> References: <20110527205444.21000.90209.stgit@riker> <20110527205706.21000.34832.stgit@riker> <20110602160445.GA8373@ponder.secretlab.ca> Message-ID: <20110602213656.GB10532@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Jun 02, 2011 at 10:04:45AM -0600, Grant Likely wrote: > Right now we can't do dynamic registration for on-chip devices in a > lot of cases because we don't have the infrastructure to hook up the > associated struct clks. I've been wondering about this, and I don't see it as a blocking problem as you seem to be. I assume platform devices have stable names when they're created from the device tree? If yes, there's no problem having the DT start to describe the SoC specific devices _today_ - all that the clk API using clkdev requires is a stable device name.