From: Russell King - ARM Linux Subject: Re: [RE-SEND] [PATCH 3/4] s3c-fb: Add support EXYNOS4 FIMD Date: Wed, 15 Jun 2011 11:08:14 +0100 Message-ID: <20110615100814.GD28989@n2100.arm.linux.org.uk> References: <1307693723-14971-1-git-send-email-anand.kn@samsung.com> <1307693723-14971-4-git-send-email-anand.kn@samsung.com> <4DF39A92.5050609@gmail.com> <4DF866D9.7090406@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from caramon.arm.linux.org.uk ([78.32.30.218]:38090 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751500Ab1FOKIi (ORCPT ); Wed, 15 Jun 2011 06:08:38 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: Thomas Abraham Cc: Sylwester Nawrocki , Sylwester Nawrocki , Anand Kumar N , lethal@linux-sh.org, kgene.kim@samsung.com, linux-samsung-soc@vger.kernel.org, jg1.han@samsung.com, jonghun.han@samsung.com, thomas.ab@samsung.com On Wed, Jun 15, 2011 at 03:34:40PM +0530, Thomas Abraham wrote: > Ok. Thanks for clarifying this point. In this case, maybe we could use > the clk_add_alias API. With this API, we can have a instance of clock > by name 'fimd' and then create a clkdev alias by name 'lcd' in the > machine code. The driver can then continue to lookup with 'lcd' as the > con_id. That's additional needless complexity. If you don't embed the clk_lookup structure in your struct clk but list out the dev/con/clk stuff separately like OMAP does, you can easily assign the dev/con pairs to multiple clks without hastle - and then it really doesn't matter what the clk itself is called.