From: Kevin Hilman <khilman@deeprootsystems.com>
To: "Karicheri\, Muralidharan" <m-karicheri2@ti.com>
Cc: "davinci-linux-open-source\@linux.davincidsp.com"
<davinci-linux-open-source@linux.davincidsp.com>,
"linux-media\@vger.kernel.org" <linux-media@vger.kernel.org>
Subject: Re: [PATCH - v1 1/2] V4L - vpfe capture - make clocks configurable
Date: Thu, 10 Dec 2009 11:06:29 -0800 [thread overview]
Message-ID: <87ws0ups22.fsf@deeprootsystems.com> (raw)
In-Reply-To: <A69FA2915331DC488A831521EAE36FE40155C806EE@dlee06.ent.ti.com> (Muralidharan Karicheri's message of "Wed\, 9 Dec 2009 14\:33\:07 -0600")
"Karicheri, Muralidharan" <m-karicheri2@ti.com> writes:
> Kevin,
>
> I think I have figured it out...
>
> First issue was that I was adding my entry at the end of dm644x_clks[]
> array. I need to add it before the CLK(NULL, NULL, NULL)
>
> secondly, your suggestion didn't work as is. This is what I had to
> do to get it working...
>
> static struct clk ccdc_master_clk = {
> .name = "dm644x_ccdc",
> .parent = &vpss_master_clk,
> };
>
> static struct clk ccdc_slave_clk = {
> .name = "dm644x_ccdc",
> .parent = &vpss_slave_clk,
> };
You should not need to add new clocks with new names. I don't thinke
the name field of the struct clk is used anywhere in the matching.
I think it's only used in /proc/davinci_clocks
> static struct davinci_clk dm365_clks = {
> ....
> ....
> CLK("dm644x_ccdc", "master", &ccdc_master_clk),
> CLK("dm644x_ccdc", "slave", &ccdc_slave_clk),
Looks like the drivers name is 'dm644x_ccdc', not 'isif'. I'm
guessing just this should work without having to add new clock names.
CLK("dm644x_ccdc", "master", &vpss_master_clk),
CLK("dm644x_ccdc", "slave", &vpss_slave_clk),
> CLK(NULL, NULL, NULL);
>
> Let me know if you think there is anything wrong with the above scheme.
Kevin
next prev parent reply other threads:[~2009-12-10 19:06 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-01 17:18 [PATCH - v1 1/2] V4L - vpfe capture - make clocks configurable m-karicheri2
2009-12-01 17:19 ` [PATCH - v0 2/2] DaVinci - vpfe capture - Make " m-karicheri2
2009-12-03 6:40 ` Hiremath, Vaibhav
2009-12-03 15:55 ` Karicheri, Muralidharan
2009-12-08 17:27 ` Hiremath, Vaibhav
2009-12-08 20:09 ` Karicheri, Muralidharan
2009-12-04 23:12 ` Karicheri, Muralidharan
2009-12-09 16:00 ` [PATCH - v1 1/2] V4L - vpfe capture - make " Kevin Hilman
2009-12-09 17:16 ` Karicheri, Muralidharan
2009-12-09 17:45 ` Karicheri, Muralidharan
2009-12-09 18:21 ` Karicheri, Muralidharan
2009-12-09 20:33 ` Karicheri, Muralidharan
2009-12-10 19:06 ` Kevin Hilman [this message]
2009-12-10 20:02 ` Karicheri, Muralidharan
2009-12-11 18:34 ` Kevin Hilman
2009-12-11 20:48 ` Karicheri, Muralidharan
2009-12-10 19:02 ` Kevin Hilman
2009-12-10 19:58 ` Karicheri, Muralidharan
-- strict thread matches above, loose matches on Subject: below --
2009-12-03 20:22 Karicheri, Muralidharan
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=87ws0ups22.fsf@deeprootsystems.com \
--to=khilman@deeprootsystems.com \
--cc=davinci-linux-open-source@linux.davincidsp.com \
--cc=linux-media@vger.kernel.org \
--cc=m-karicheri2@ti.com \
/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