[PATCH v6 4/5] clk: add CLK_SET_RATE_NO_REPARENT flag

Sören Brinkmann soren.brinkmann at xilinx.com
Mon Jul 29 11:50:16 EDT 2013


On Mon, Jul 29, 2013 at 12:25:01PM +0100, James Hogan wrote:
> Add a CLK_SET_RATE_NO_REPARENT clock flag, which will prevent muxes
> being reparented during clk_set_rate.
> 
> To avoid breaking existing platforms, all callers of clk_register_mux()
> are adjusted to pass the new flag. Platform maintainers are encouraged
> to remove the flag if they wish to allow mux reparenting on set_rate.
> 
> Signed-off-by: James Hogan <james.hogan at imgtec.com>
> Reviewed-by: Stephen Boyd <sboyd at codeaurora.org>
> Cc: Mike Turquette <mturquette at linaro.org>
> Cc: Russell King <linux at arm.linux.org.uk>
> Cc: Sascha Hauer <kernel at pengutronix.de>
> Cc: Stephen Warren <swarren at wwwdotorg.org>
> Cc: Viresh Kumar <viresh.linux at gmail.com>
> Cc: Kukjin Kim <kgene.kim at samsung.com>
> Cc: Haojian Zhuang <haojian.zhuang at linaro.org>
> Cc: Chao Xie <xiechao.mail at gmail.com>
> Cc: Arnd Bergmann <arnd at arndb.de>
> Cc: "Emilio López" <emilio at elopez.com.ar>
> Cc: Gregory CLEMENT <gregory.clement at free-electrons.com>
> Cc: Maxime Ripard <maxime.ripard at free-electrons.com>
> Cc: Prashant Gaikwad <pgaikwad at nvidia.com>
> Cc: Thierry Reding <thierry.reding at gmail.com>
> Cc: Peter De Schrijver <pdeschrijver at nvidia.com>
> Cc: Pawel Moll <pawel.moll at arm.com>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Andrew Chew <achew at nvidia.com>
> Cc: Doug Anderson <dianders at chromium.org>
> Cc: Heiko Stuebner <heiko at sntech.de>
> Cc: Paul Walmsley <pwalmsley at nvidia.com>
> Cc: Soren Brinkmann <soren.brinkmann at xilinx.com>
> Cc: Sylwester Nawrocki <s.nawrocki at samsung.com>
> Cc: Thomas Abraham <thomas.abraham at linaro.org>
> Cc: Tomasz Figa <t.figa at samsung.com>
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: linux-samsung-soc at vger.kernel.org
> Cc: spear-devel at list.st.com
> Cc: linux-tegra at vger.kernel.org
> Tested-by: Haojian Zhuang <haojian.zhuang at gmail.com>
> Acked-by: Stephen Warren <swarren at nvidia.com> [tegra]
> Acked-by: Maxime Ripard <maxime.ripard at free-electrons.com> [sunxi]
ACK for Zynq.

I'll have to look at the details and do some testing to see whether we
can remove the flag later.

	Sören





More information about the linux-arm-kernel mailing list