From: Tony Lindgren <tony@atomide.com>
To: Tero Kristo <t-kristo@ti.com>
Cc: linux-omap@vger.kernel.org, mturquette@linaro.org,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org
Subject: Re: [PATCH 3/4] clk: ti: add support for default-rate property from DT
Date: Fri, 28 Feb 2014 14:51:47 -0800 [thread overview]
Message-ID: <20140228225147.GS13624@atomide.com> (raw)
In-Reply-To: <1392282048-6284-4-git-send-email-t-kristo@ti.com>
* Tero Kristo <t-kristo@ti.com> [140213 01:04]:
> default-rate property can now be used to define default rates for clocks,
> which get configured during boot.
>
> Signed-off-by: Tero Kristo <t-kristo@ti.com>
This can go with the drivers/clk patches as far as I'm concerned:
Acked-by: Tony Lindgren <tony@atomide.com>
> ---
> arch/arm/mach-omap2/prm_common.c | 2 ++
> drivers/clk/ti/clk.c | 1 +
> 2 files changed, 3 insertions(+)
>
> diff --git a/arch/arm/mach-omap2/prm_common.c b/arch/arm/mach-omap2/prm_common.c
> index b4c4ab9..4703545 100644
> --- a/arch/arm/mach-omap2/prm_common.c
> +++ b/arch/arm/mach-omap2/prm_common.c
> @@ -528,5 +528,7 @@ int __init of_prcm_init(void)
>
> ti_dt_clockdomains_setup();
>
> + of_clk_set_init_rates();
> +
> return 0;
> }
> diff --git a/drivers/clk/ti/clk.c b/drivers/clk/ti/clk.c
> index b1a6f71..23998b7 100644
> --- a/drivers/clk/ti/clk.c
> +++ b/drivers/clk/ti/clk.c
> @@ -156,6 +156,7 @@ void ti_dt_clk_init_provider(struct device_node *parent, int index)
> clk_init_cb = (of_clk_init_cb_t)match->data;
> pr_debug("%s: initializing: %s\n", __func__, np->name);
> clk_init_cb(np);
> + of_clk_parse_init_rate(np, NULL);
> }
>
> list_for_each_entry_safe(retry, tmp, &retry_list, link) {
> --
> 1.7.9.5
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2014-02-28 22:51 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-13 9:00 [PATCH 0/4] clk: dt: add support for default rate/parent Tero Kristo
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 [this message]
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=20140228225147.GS13624@atomide.com \
--to=tony@atomide.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=mturquette@linaro.org \
--cc=t-kristo@ti.com \
/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).