public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ziyuan <xzy.xu@rock-chips.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [bug report] Incorrect result from clk_get_by_name
Date: Mon, 10 Apr 2017 10:45:29 +0800	[thread overview]
Message-ID: <58EAF1C9.3070204@rock-chips.com> (raw)

hi all,

I hit an issue about clk_get_by_name w/ fdt.
I wanna get a specified clock cell from dts via clk_get_by_name. eg:
clk_get_by_name(, "ciu-sample",..) from 'emmc: dwmmc at ff0f0000' on rk3288 
platform which it has four clock cell: "biu", "ciu", "ciu_drv", 
"ciu_sample".
I found that the clock list has only one element, it's "biu". I expected 
that there are four elements.

Actually, I can use clk_get_by_index instead, but I prefer clock name, 
it's more readable.

Ziyuan Xu
BR

             reply	other threads:[~2017-04-10  2:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-10  2:45 Ziyuan [this message]
2017-04-10 17:42 ` [U-Boot] [bug report] Incorrect result from clk_get_by_name Simon Glass

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=58EAF1C9.3070204@rock-chips.com \
    --to=xzy.xu@rock-chips.com \
    --cc=u-boot@lists.denx.de \
    /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