[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111023142458.GE1401@S2100-06.ap.freescale.net>
Date: Sun, 23 Oct 2011 22:24:59 +0800
From: Shawn Guo <shawn.guo@...escale.com>
To: Mike Turquette <mturquette@...com>
CC: <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<jeremy.kerr@...onical.com>, <broonie@...nsource.wolfsonmicro.com>,
<tglx@...utronix.de>, <linus.walleij@...ricsson.com>,
<amit.kucheria@...aro.org>, <dsaxena@...aro.org>,
<patches@...aro.org>, <linaro-dev@...ts.linaro.org>,
<paul@...an.com>, <grant.likely@...retlab.ca>, <sboyd@...inc.com>,
<skannan@...cinc.com>, <magnus.damm@...il.com>,
<arnd.bergmann@...aro.org>, <linux@....linux.org.uk>,
<eric.miao@...aro.org>, <richard.zhao@...aro.org>
Subject: Re: [PATCH v2 2/7] clk: Implement clk_set_rate
On Thu, Sep 22, 2011 at 03:26:57PM -0700, Mike Turquette wrote:
> From: Jeremy Kerr <jeremy.kerr@...onical.com>
>
> Implement clk_set_rate by adding a set_rate callback to clk_hw_ops.
> Rates are propagated down the clock tree and recalculated. Also adds a
> flag for signaling that parents must change rates to achieve the desired
> frequency (upstream propagation).
>
> TODO:
> Upstream propagation is not yet implemented.
> Device pre-change and post-change notifications are not implemented, but
> are marked up as FIXME comments.
>
> Signed-off-by: Jeremy Kerr <jeremy.kerr@...onical.com>
> Signed-off-by: Mark Brown <broonie@...nsource.wolfsonmicro.com>
> Signed-off-by: Mike Turquette <mturquette@...com>
> ---
> Changes since v1:
> Remove upstream propagation (for now)
> Rename CLK_SET_RATE_PROPAGATE to CLK_PARENT_RATE_CHANGE
[...]
> + * @set_rate Change the rate of this clock. If this callback returns
> + * CLK_SET_RATE_PROPAGATE, the rate change will be propagated to
s/CLK_SET_RATE_PROPAGATE/CLK_PARENT_RATE_CHANGE, as suggested by your
change log above?
> + * the parent clock (which may propagate again). The requested
> + * rate of the parent is passed back from the callback in the
> + * second 'unsigned long *' argument.
> + *
--
Regards,
Shawn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists