From: Mason <slash.tmp@free.fr>
To: Michael Turquette <mturquette@baylibre.com>,
clk <linux-clk@vger.kernel.org>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Subject: Re: Two-output clk provider with standard clk consumer
Date: Thu, 15 Oct 2015 16:37:54 +0200 [thread overview]
Message-ID: <561FBA42.2050209@free.fr> (raw)
In-Reply-To: <20151015120956.7777.63740@quantum>
On 15/10/2015 14:09, Michael Turquette wrote:
> Regarding the reliance on string names when clock-output-names is not
> used, that is an on-going discussion[0] affecting multiple drivers right
> now. We're trying to find a long-term solution that moves away from
> string names and uses the DT hierarchy to establish parent-child
> relationships.
Thanks for your help!
The important thing I was missing is that of_clk_get_parent_name()
actually looks up the parent's "clock-output-names" property.
if (of_property_read_string_index(clkspec.np, "clock-output-names", index, &clk_name) < 0)
clk_name = clkspec.np->name;
but since I had "hardcoded" the clock names, the parent didn't
have a "clock-output-names" property.
Regards.
prev parent reply other threads:[~2015-10-15 14:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-13 8:59 Two-output clk provider with standard clk consumer Mason
2015-10-13 12:06 ` Mason
2015-10-15 12:09 ` Michael Turquette
2015-10-15 14:37 ` Mason [this message]
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=561FBA42.2050209@free.fr \
--to=slash.tmp@free.fr \
--cc=linux-clk@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=sboyd@codeaurora.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).