From: Sylwester Nawrocki <s.nawrocki@samsung.com>
To: Thomas Abraham <thomas.abraham@linaro.org>
Cc: Russell King - ARM Linux <linux@arm.linux.org.uk>,
Anand Kumar N <anand.kn@samsung.com>,
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
Subject: Re: [RE-SEND] [PATCH 3/4] s3c-fb: Add support EXYNOS4 FIMD
Date: Thu, 16 Jun 2011 17:44:01 +0200 [thread overview]
Message-ID: <4DFA24C1.70307@samsung.com> (raw)
In-Reply-To: <BANLkTin1-D3en-ZpOKw2jZB0TKYt5OLsPw@mail.gmail.com>
On 06/15/2011 12:22 PM, Thomas Abraham wrote:
> On 15 June 2011 15:38, Russell King - ARM Linux <linux@arm.linux.org.uk> wrote:
>> 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.
>>
>
> Thanks for your suggestion Russell. The limitation in doing it the
> OMAP way is, in all Samsung machine code, all the clock instances are
> put into a array and then registered. So there is no separately named
> instance for each clock to build a dev/con/clk omap-type table.
I realize it might be quite a bit of work to convert the clock tables,
perhaps some scripts/trickery could be of help here.
I'm just wondering if this won't have to be done anyway when people
make agreement about common struct clk on ARM.
However there is a little problem that there are two clock arrays in
each Samsung platform, for clock disabled and enabled by default.
Not sure yet how to handle that cleanly.
Cheers,
Sylwester
--
Sylwester Nawrocki
Samsung Poland R&D Center
next prev parent reply other threads:[~2011-06-16 15:44 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-10 8:15 [PATCH 0/4] s3c-fb: Add support S5PV310 FIMD Anand Kumar N
2011-06-10 8:15 ` [RE-SEND] [PATCH 1/4] ARM: EXYNOS4: Add FIMD resource definition Anand Kumar N
2011-06-10 8:15 ` [RE-SEND] [PATCH 2/4] ARM: EXYNOS4: Add platform device and helper functions for FIMD Anand Kumar N
2011-06-11 12:24 ` Sylwester Nawrocki
2011-06-10 8:15 ` [RE-SEND] [PATCH 3/4] s3c-fb: Add support EXYNOS4 FIMD Anand Kumar N
2011-06-11 16:40 ` Sylwester Nawrocki
2011-06-15 6:14 ` Thomas Abraham
2011-06-15 8:01 ` Sylwester Nawrocki
2011-06-15 8:06 ` Russell King - ARM Linux
2011-06-15 9:43 ` Marek Szyprowski
2011-06-15 10:04 ` Thomas Abraham
2011-06-15 10:08 ` Russell King - ARM Linux
2011-06-15 10:22 ` Thomas Abraham
2011-06-16 15:44 ` Sylwester Nawrocki [this message]
2011-06-10 8:15 ` [RE-SEND] [PATCH 4/4] ARM: EXYNOS4: Add platform data for EXYNOS4 FIMD and LTE480WV platform-lcd Anand Kumar N
2011-06-11 12:19 ` [PATCH 0/4] s3c-fb: Add support S5PV310 FIMD Sylwester Nawrocki
2011-06-14 2:44 ` Kyungmin Park
2011-06-14 5:10 ` Kukjin Kim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DFA24C1.70307@samsung.com \
--to=s.nawrocki@samsung.com \
--cc=anand.kn@samsung.com \
--cc=jg1.han@samsung.com \
--cc=jonghun.han@samsung.com \
--cc=kgene.kim@samsung.com \
--cc=lethal@linux-sh.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=thomas.ab@samsung.com \
--cc=thomas.abraham@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.