linux/drivers/clk
James Hogan 819c1de344 clk: add CLK_SET_RATE_NO_REPARENT flag
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@imgtec.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: Mike Turquette <mturquette@linaro.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Viresh Kumar <viresh.linux@gmail.com>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Cc: Haojian Zhuang <haojian.zhuang@linaro.org>
Cc: Chao Xie <xiechao.mail@gmail.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: "Emilio López" <emilio@elopez.com.ar>
Cc: Gregory CLEMENT <gregory.clement@free-electrons.com>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Prashant Gaikwad <pgaikwad@nvidia.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Peter De Schrijver <pdeschrijver@nvidia.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Andrew Chew <achew@nvidia.com>
Cc: Doug Anderson <dianders@chromium.org>
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: Paul Walmsley <pwalmsley@nvidia.com>
Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
Cc: Thomas Abraham <thomas.abraham@linaro.org>
Cc: Tomasz Figa <t.figa@samsung.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-samsung-soc@vger.kernel.org
Cc: spear-devel@list.st.com
Cc: linux-tegra@vger.kernel.org
Tested-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Acked-by: Stephen Warren <swarren@nvidia.com> [tegra]
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> [sunxi]
Acked-by: Sören Brinkmann <soren.brinkmann@xilinx.com> [Zynq]
Signed-off-by: Mike Turquette <mturquette@linaro.org>
2013-08-19 12:27:17 -07:00
..
mmp clk: add CLK_SET_RATE_NO_REPARENT flag 2013-08-19 12:27:17 -07:00
mvebu clk: mvebu: disintegrate obsolete file 2013-05-29 19:28:29 +00:00
mxs clk: add CLK_SET_RATE_NO_REPARENT flag 2013-08-19 12:27:17 -07:00
rockchip clk: add support for Rockchip gate clocks 2013-06-20 15:58:27 -07:00
samsung clk: add CLK_SET_RATE_NO_REPARENT flag 2013-08-19 12:27:17 -07:00
socfpga ARM: socfpga: Add support to gate peripheral clocks 2013-06-11 16:35:29 -07:00
spear clk: add CLK_SET_RATE_NO_REPARENT flag 2013-08-19 12:27:17 -07:00
sunxi clk: add CLK_SET_RATE_NO_REPARENT flag 2013-08-19 12:27:17 -07:00
tegra clk: add CLK_SET_RATE_NO_REPARENT flag 2013-08-19 12:27:17 -07:00
ux500 The common clock framework changes for 3.11 include new clock drivers 2013-07-03 11:54:50 -07:00
versatile clk: add CLK_SET_RATE_NO_REPARENT flag 2013-08-19 12:27:17 -07:00
x86 ACPI / LPSS: add support for Intel BayTrail 2013-06-19 01:08:47 +02:00
zynq clk: add CLK_SET_RATE_NO_REPARENT flag 2013-08-19 12:27:17 -07:00
clk-axi-clkgen.c clk: Add axi-clkgen driver 2013-03-19 17:20:30 -07:00
clk-bcm2835.c clk: bcm2835: probe for fixed-clock in device tree 2013-01-14 21:46:59 -07:00
clk-composite.c clk: composite: allow fixed rates & fixed dividers 2013-04-12 11:23:24 -07:00
clk-devres.c ARM: 7537/1: clk: Fix release in devm_clk_put() 2012-09-19 21:51:27 +01:00
clk-divider.c clk: clk-divider: Export clk_register_divider() 2013-08-16 12:08:53 -07:00
clk-fixed-factor.c clk: export fixed-factor, gate & mux registration 2013-08-16 12:08:54 -07:00
clk-fixed-rate.c clk: fixed-rate: Export clk_fixed_rate_register() 2013-08-16 12:08:50 -07:00
clk-gate.c clk: export fixed-factor, gate & mux registration 2013-08-16 12:08:54 -07:00
clk-highbank.c ACPI and power management updates for 3.9-rc1 2013-02-20 11:26:56 -08:00
clk-ls1x.c clk: add Loongson1B clock support 2012-08-31 11:05:18 -07:00
clk-max77686.c clk: max77686: Avoid double free at remove time 2013-01-15 16:16:26 -08:00
clk-mux.c clk: export fixed-factor, gate & mux registration 2013-08-16 12:08:54 -07:00
clk-nomadik.c clk: nomadik: implement the Nomadik clocks properly 2013-06-20 10:15:30 +02:00
clk-nspire.c clk: Add TI-Nspire clock drivers 2013-05-31 12:07:45 -07:00
clk-ppc-corenet.c clk: mpc85xx: Update the compatible string 2013-05-30 11:55:35 -07:00
clk-prima2.c clk: prima2: Fix incorrect placement of __initdata 2013-08-08 22:35:21 -07:00
clk-s2mps11.c clk: s2mps11: Add support for s2mps11 2013-08-08 15:57:33 -07:00
clk-si5351.c The common clock framework changes for 3.11 include new clock drivers 2013-07-03 11:54:50 -07:00
clk-si5351.h clk: si5351: Allow user to define disabled state for every clock output 2013-05-28 22:50:31 -07:00
clk-twl6040.c clk: use platform_{get,set}_drvdata() 2013-05-30 18:19:34 -07:00
clk-u300.c ARM: u300: convert MMC/SD clock to device tree 2013-06-17 13:54:37 +02:00
clk-vt8500.c The common clock framework changes for 3.11 include new clock drivers 2013-07-03 11:54:50 -07:00
clk-wm831x.c clk: use platform_{get,set}_drvdata() 2013-05-30 18:19:34 -07:00
clk.c clk: add support for clock reparent on set_rate 2013-08-19 12:27:17 -07:00
clkdev.c ARM: 7534/1: clk: Make the managed clk functions generically available 2012-09-15 21:55:27 +01:00
Kconfig clk: s2mps11: Add support for s2mps11 2013-08-08 15:57:33 -07:00
Makefile clk: s2mps11: Add support for s2mps11 2013-08-08 15:57:33 -07:00