mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: andreas.willig@rafi.de
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: Clocks on Barebox
Date: Tue, 2 Jun 2015 05:42:49 +0200	[thread overview]
Message-ID: <OF4A53439D.B017BB3F-ONC1257E58.0014663E-C1257E58.00146649@o0802.rafi.inhouse> (raw)
In-Reply-To: <20150601114150.GG6325@pengutronix.de>

Hi Sascha,
I'm currently on the next branch, but i did not see changes at this point since master or stable release. Like issued earlier the clock table enumeration is empty. Is there a specific compatible attribute required? 
 

Mit freundlichen Grüßen aus Berg/ With kind regards

i.A. Andreas Willig
Dipl.-Ing. (FH)
Entwicklung Elektronik

RAFI GmbH & Co. KG
Postfach 2060
88276 Ravensburg
Tel.: +49 (0) 751 89-6142

mailto:andreas.willig@rafi.de, http://www.rafi.de

Kommanditgesellschaft: Sitz Berg, Amtsgericht Ulm, HRA 550059
Komplementär: RAFI Beteiligungs-GmbH, Sitz Berg, Amtsgericht Ulm HRB 550074
Geschäftsführer: Albert Wasmeier, Dipl.-Kfm. Gerhard Schenk
USt-Ident.-Nr.: DE 146 392 319, Steuer-Nr.: 77079/00291 

 
-----Sascha Hauer <s.hauer@pengutronix.de> schrieb: -----

 =======================
 An: andreas.willig@rafi.de
 Von: Sascha Hauer <s.hauer@pengutronix.de>
 Datum: 01.06.2015 13:41 
 Kopie: barebox@lists.infradead.org
 Betreff: Re: Clocks on Barebox
 =======================
   Hi Andreas,

On Mon, Jun 01, 2015 at 10:12:55AM +0200, andreas.willig@rafi.de wrote:
> Hi all
> i just updated from 2014 to latest Barebox and hit the following problem:
> of_clk_init from clk.c:451 does not find any entries. matches is set to __clk_of_table start where compatible=0 and data=0,
> but from my thoughts the dt is ok on this point:

I have no idea currently. You are doing nothing obviously wrong.

> from arch/arm/mach-imx/clk-imx6.c are removed:
> static int imx6_ccm_probe()
> {
> - unsigned long ckil_rate = 32768;
> - unsigned long ckih_rate = 0;
> - unsigned long osc_rate = 24000000;
> - clks[dummy] = clk_fixed("dummy", 0);
> - clks[ckil] = clk_fixed("ckil", ckil_rate);
> - clks[ckih] = clk_fixed("ckih", ckih_rate);
> - clks[osc] = clk_fixed("osc", osc_rate);
> }

These are removed because they come from the OF clock providers now. For
this you need COMMON_CLK_OF_PROVIDER enabled, but this should be
selected by the imx6 support automatically though. Let me test this on
some hardware here. What barebox version do you use? master, next, or
the latest release?

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
    

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2015-06-02  3:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-01  8:12 andreas.willig
2015-06-01 11:41 ` Sascha Hauer
2015-06-02  3:42   ` andreas.willig [this message]
2015-06-03  8:19     ` Sascha Hauer
2015-06-09  5:21     ` andreas.willig
2015-06-09 10:18 ` Sascha Hauer
2015-06-09 11:28 ` andreas.willig
2015-06-10  4:59   ` Sascha Hauer
2015-06-10  5:10   ` andreas.willig
2015-06-11  5:48     ` Sascha Hauer

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=OF4A53439D.B017BB3F-ONC1257E58.0014663E-C1257E58.00146649@o0802.rafi.inhouse \
    --to=andreas.willig@rafi.de \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.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