From: skannan@codeaurora.org (Saravana Kannan)
To: linux-arm-kernel@lists.infradead.org
Subject: moving Tegra30 to the common clock framework
Date: Wed, 09 May 2012 17:02:27 -0700 [thread overview]
Message-ID: <4FAB0593.9090502@codeaurora.org> (raw)
In-Reply-To: <CAJOA=zPtTTLc9GyPj_xnS6+J-+79mKjKhPgubmiH6Hq9B=tg1Q@mail.gmail.com>
On 05/08/2012 11:21 PM, Turquette, Mike wrote:
> On 20120508-19:20, skannan at codeaurora.org wrote:
>>> It might be beneficial to provide something like a
>>> __clk_reparent_start(new_parent, *scratch_pointer) and
>>> __clk_reparent_finish(*scratch_pointer) if it will be useful for more
>>> than just MSM. Based on this email, I would guess that Tegra would want
>>> something similar too.
>>
>> Thinking more about this, I think this is how any clk op that might change
>> the parent should operate. I will try to write up an RFC patch for this
>> and send it out soon. I'm in a hurry, so will explain more in the RFC
>> patch or in a later email.
>
> I'm interested to see your patch, as I might not be fully understanding
> your requirements. Is there any reason why making nested calls to
> __clk_prepare and clk_enable from your .set_rate callback isn't enough?
>
Sorry if I wasn't clear -- my plan with the current framework IS to make
nested (as in, inside the set rate op) calls to __clk_prepare() and
enable() as needed. But my point is that everyone really wants to do the
same, so we might as well make it better by putting it in the common
code and having everyone use it instead of having to redo the same code
all over the place.
Will send out the patch soon.
-Saravana
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
next prev parent reply other threads:[~2012-05-10 0:02 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-03 16:13 moving Tegra30 to the common clock framework Peter De Schrijver
2012-05-07 0:03 ` Mike Turquette
2012-05-07 15:39 ` Stephen Warren
2012-05-07 16:12 ` Turquette, Mike
2012-05-08 5:07 ` zhoujie wu
2012-05-08 17:15 ` Turquette, Mike
2012-05-09 0:41 ` Saravana Kannan
2012-05-09 2:20 ` skannan at codeaurora.org
2012-05-09 6:21 ` Turquette, Mike
2012-05-10 0:02 ` Saravana Kannan [this message]
2012-05-09 10:36 ` Peter De Schrijver
2012-05-12 2:58 ` Saravana Kannan
2012-05-13 4:31 ` Stephen Warren
2012-05-14 11:08 ` Peter De Schrijver
2012-05-15 0:10 ` Saravana Kannan
2012-05-14 21:36 ` Turquette, Mike
2012-05-14 23:48 ` Saravana Kannan
2012-05-15 2:00 ` Mike Turquette
2012-05-15 4:20 ` Saravana Kannan
2012-05-16 5:36 ` Turquette, Mike
2012-05-09 11:13 ` Peter De Schrijver
2012-05-09 16:49 ` Mike Turquette
2012-05-10 11:36 ` Peter De Schrijver
2012-05-12 18:04 ` Mark Brown
2012-05-14 12:29 ` Peter De Schrijver
2012-05-14 12:36 ` Peter De Schrijver
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=4FAB0593.9090502@codeaurora.org \
--to=skannan@codeaurora.org \
--cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).