From: Tero Kristo <t-kristo@ti.com>
To: linux-omap@vger.kernel.org, mturquette@linaro.org
Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org
Subject: [PATCH 0/4] clk: dt: add support for default rate/parent
Date: Thu, 13 Feb 2014 11:00:44 +0200 [thread overview]
Message-ID: <1392282048-6284-1-git-send-email-t-kristo@ti.com> (raw)
Hi,
This set is a mix-match of new DT properties for generic and TI specific
clock drivers. Basically provided for commenting purposes. The patches
provide a way to configure clock parents / rates during boot through DT.
"default-rate" : sets rate of a clock during boot, supported for any DT
clock type (through generic clock driver)
"ti,default-parent" : selects a default parent for a multiplexer clock,
only supported for TI specific mux clock for now,
as generic mux clock does not support DT clocks
Patch #4 provided as a reference how to move the default rates / parents
from kernel code to DT.
Default-rate logic in patch #2 looks somewhat complicated, as the clocks
need to be sorted based on their parents to avoid cases where a child clock
would set its rate first, just to be overridden by its parent changing
rate later and resulting in incorrect rate for the child clock.
If the default-rate generic property is not going to fly, it can be moved
to TI only drivers also.
-Tero
next reply other threads:[~2014-02-13 9:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-13 9:00 Tero Kristo [this message]
2014-02-13 9:00 ` [PATCH 1/4] clk: ti: mux: add support for default-parenting Tero Kristo
2014-02-13 9:00 ` [PATCH 2/4] clk: add support for default-rate Tero Kristo
2014-02-13 9:00 ` [PATCH 3/4] clk: ti: add support for default-rate property from DT Tero Kristo
2014-02-28 22:51 ` Tony Lindgren
2014-02-13 9:00 ` [PATCH 4/4] clk: ti: omap4: set default-parents and default-rates using DT Tero Kristo
2014-03-05 13:10 ` [PATCH 0/4] clk: dt: add support for default rate/parent Tero Kristo
2014-03-20 21:23 ` Mike Turquette
2014-03-21 8:02 ` Tero Kristo
2014-03-21 8:12 ` Peter De Schrijver
2014-03-25 0:38 ` Mike Turquette
2014-03-25 7:28 ` Peter De Schrijver
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=1392282048-6284-1-git-send-email-t-kristo@ti.com \
--to=t-kristo@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=mturquette@linaro.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).