All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: "meta-freescale@yoctoproject.org" <meta-freescale@yoctoproject.org>
Subject: Re: [OT] Kernel device tree question
Date: Thu, 24 Jul 2014 09:16:55 -0600	[thread overview]
Message-ID: <53D12367.1010403@mlbassoc.com> (raw)
In-Reply-To: <20140724151259.GB9532@piout.net>

On 2014-07-24 09:13, Alexandre Belloni wrote:
> Hi,
>
> On 24/07/2014 at 08:42:45 -0600, Gary Thomas wrote :
>> I have a board (i.MX53) that I need to adjust one of the main
>> clocks (CKO1).  The default setting uses the main CPU clock
>> and I need to change it to use one of the PLL based clocks.
>> I can see where this selector is available as cko1_sel, but
>> it's not clear to me if/where/how I can set this to be pll3_sw
>> in the device tree (which in the modern world is the only place
>> for target platform configuration and control).
>
> Actually, this is exactly what DT is not supposed to be used for. The
> device tree must only describe the hardware and the configuration must
> be avoided.
>
>>
>> Any ideas or pointers?
>>
>
> cko1_sel seems to be declared correctly as a mux so pll3_sw should be
> selected automatically when you need it, by setting ck01.

How/where can I do this?  As I understand it, the only place I can make
such a setup is in the device tree file as that's the only thing unique
for my board.

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


      reply	other threads:[~2014-07-24 15:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-24 14:42 [OT] Kernel device tree question Gary Thomas
2014-07-24 15:13 ` Alexandre Belloni
2014-07-24 15:16   ` Gary Thomas [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=53D12367.1010403@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=alexandre.belloni@free-electrons.com \
    --cc=meta-freescale@yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.